Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-134442-49048/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: bogus date in %changelog: Tue Apr 28 2019 Dave Anderson - 2.0-16 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/crash-trace-command-2.0-18.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-134442-49048/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/crash-trace-command.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: bogus date in %changelog: Tue Apr 28 2019 Dave Anderson - 2.0-16 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.h34SJL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crash-trace-command-2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/crash-trace-command-2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd crash-trace-command-2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (trace_compiler_warnings.patch):' Patch #0 (trace_compiler_warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix trace_compiler_warnings.patch --fuzz=0 patching file trace.c Patch #1 (replace_obsolete_init_and_fini.patch): + echo 'Patch #1 (replace_obsolete_init_and_fini.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix replace_obsolete_init_and_fini.patch --fuzz=0 patching file trace.c Patch #2 (sigsegv_on_calloc_failure.patch): + echo 'Patch #2 (sigsegv_on_calloc_failure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix sigsegv_on_calloc_failure.patch --fuzz=0 patching file trace.c Patch #3 (initialize_trace_dat.patch): + echo 'Patch #3 (initialize_trace_dat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix initialize_trace_dat.patch --fuzz=0 patching file trace.c Patch #4 (ARM64.patch): + echo 'Patch #4 (ARM64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix ARM64.patch --fuzz=0 patching file Makefile Patch #5 (linux_3.10_support.patch): + echo 'Patch #5 (linux_3.10_support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix linux_3.10_support.patch --fuzz=0 patching file trace.c Patch #6 (ppc64le.patch): + echo 'Patch #6 (ppc64le.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix ppc64le.patch --fuzz=0 patching file Makefile + echo 'Patch #7 (linux_4.2_support.patch):' Patch #7 (linux_4.2_support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix linux_4.2_support.patch --fuzz=0 patching file trace.c Patch #8 (TRACE_EVENT_FL_TRACEPOINT_flag.patch): + echo 'Patch #8 (TRACE_EVENT_FL_TRACEPOINT_flag.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix TRACE_EVENT_FL_TRACEPOINT_flag.patch --fuzz=0 patching file trace.c Patch #9 (big_endian_nr_pages.patch): + echo 'Patch #9 (big_endian_nr_pages.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix big_endian_nr_pages.patch --fuzz=0 patching file trace.c + echo 'Patch #10 (ppc64_ring_buffer_read.patch):' Patch #10 (ppc64_ring_buffer_read.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix ppc64_ring_buffer_read.patch --fuzz=0 patching file trace.c Patch #11 (rhel8_build.patch): + echo 'Patch #11 (rhel8_build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix rhel8_build.patch --fuzz=0 patching file Makefile Patch #12 (ftrace_event_call_rh_data.patch): + echo 'Patch #12 (ftrace_event_call_rh_data.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix ftrace_event_call_rh_data.patch --fuzz=0 patching file trace.c Patch #13 (0001-Fixes-for-the-trace.so-extension-module.patch): + echo 'Patch #13 (0001-Fixes-for-the-trace.so-extension-module.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file trace.c + echo 'Patch #14 (0002-extensions-trace-Rename-trace_buffer-to-array_buffer.patch):' Patch #14 (0002-extensions-trace-Rename-trace_buffer-to-array_buffer.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file trace.c Patch #15 (0003-extensions-trace-Rename-ring_buffer-to-trace_buffer.patch): + echo 'Patch #15 (0003-extensions-trace-Rename-ring_buffer-to-trace_buffer.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file trace.c + echo 'Patch #1000 (1000-support-loongarch64.patch):' Patch #1000 (1000-support-loongarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 1000-support-loongarch64.patch --fuzz=0 patching file Makefile Hunk #1 FAILED at 22. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej error: Bad exit status from /var/tmp/rpm-tmp.h34SJL (%prep) RPM build errors: bogus date in %changelog: Tue Apr 28 2019 Dave Anderson - 2.0-16 Bad exit status from /var/tmp/rpm-tmp.h34SJL (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/crash-trace-command.spec