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.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-184522-60441/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.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: Wed Oct 4 2018 Dave Anderson - 7.2.3-11 warning: bogus date in %changelog: Mon Sep 1 2012 Dave Anderson - 6.1.0-1 warning: bogus date in %changelog: Mon Jul 1 2012 Dave Anderson - 6.0.8-1 warning: bogus date in %changelog: Wed Feb 25 2011 Dave Anderson - 5.1.2-2 warning: bogus date in %changelog: Sun Aug 05 2009 Lubomir Rintel - 4.0.8.11-2 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/crash-7.3.2-2.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.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-184522-60441/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.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: Wed Oct 4 2018 Dave Anderson - 7.2.3-11 warning: bogus date in %changelog: Mon Sep 1 2012 Dave Anderson - 6.1.0-1 warning: bogus date in %changelog: Mon Jul 1 2012 Dave Anderson - 6.0.8-1 warning: bogus date in %changelog: Wed Feb 25 2011 Dave Anderson - 5.1.2-2 warning: bogus date in %changelog: Sun Aug 05 2009 Lubomir Rintel - 4.0.8.11-2 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mEoglI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crash-7.3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/crash-7.3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd crash-7.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lzo_snappy_zstd.patch):' Patch #0 (lzo_snappy_zstd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix lzo_snappy_zstd.patch --fuzz=0 patching file Makefile patching file diskdump.c Patch #1 (rhel8_build.patch): + echo 'Patch #1 (rhel8_build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix rhel8_build.patch --fuzz=0 patching file Makefile patching file configure.c Patch #2 (rhel8_freepointer.patch): + echo 'Patch #2 (rhel8_freepointer.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix rhel8_freepointer.patch --fuzz=0 patching file memory.c Patch #3 (0001-ppc64-update-the-NR_CPUS-to-8192.patch): + echo 'Patch #3 (0001-ppc64-update-the-NR_CPUS-to-8192.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h Patch #4 (0002-sbitmapq-remove-struct-and-member-validation-in-sbit.patch): + echo 'Patch #4 (0002-sbitmapq-remove-struct-and-member-validation-in-sbit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c Patch #5 (0003-sbitmapq-fix-invalid-offset-for-sbitmap_queue_alloc_.patch): + echo 'Patch #5 (0003-sbitmapq-fix-invalid-offset-for-sbitmap_queue_alloc_.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h Hunk #2 succeeded at 5916 (offset 8 lines). patching file sbitmap.c patching file symbols.c Hunk #1 succeeded at 10720 (offset 12 lines). Patch #6 (0004-sbitmapq-fix-invalid-offset-for-sbitmap_queue_round_.patch): + echo 'Patch #6 (0004-sbitmapq-fix-invalid-offset-for-sbitmap_queue_round_.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h Hunk #2 succeeded at 5918 (offset 8 lines). patching file sbitmap.c patching file symbols.c Hunk #1 succeeded at 10722 (offset 12 lines). + echo 'Patch #7 (0005-sbitmapq-fix-invalid-offset-for-sbitmap_word_depth-o.patch):' Patch #7 (0005-sbitmapq-fix-invalid-offset-for-sbitmap_word_depth-o.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c Patch #8 (0007-bt-x86_64-filter-out-idle-task-stack.patch): + echo 'Patch #8 (0007-bt-x86_64-filter-out-idle-task-stack.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h Hunk #1 succeeded at 5840 (offset 8 lines). patching file help.c Hunk #1 succeeded at 1915 (offset 6 lines). Hunk #2 succeeded at 2012 (offset 6 lines). patching file kernel.c patching file x86_64.c Hunk #1 succeeded at 4915 (offset -3 lines). Hunk #2 succeeded at 4960 (offset -3 lines). Hunk #3 succeeded at 5101 (offset -3 lines). Patch #9 (0008-bt-arm64-add-support-for-bt-n-idle.patch): + echo 'Patch #9 (0008-bt-arm64-add-support-for-bt-n-idle.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file arm64.c patching file help.c Hunk #1 succeeded at 1921 (offset 6 lines). patching file kernel.c Patch #10 (0010-Enhance-dev-d-D-options-to-support-blk-mq-sbitmap.patch): + echo 'Patch #10 (0010-Enhance-dev-d-D-options-to-support-blk-mq-sbitmap.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h patching file dev.c patching file symbols.c Hunk #1 succeeded at 10397 (offset 12 lines). Hunk #2 succeeded at 10411 (offset 12 lines). Hunk #3 succeeded at 11036 (offset 12 lines). + echo 'Patch #11 (0011-Fix-for-dev-d-D-options-to-support-blk-mq-change-on-.patch):' Patch #11 (0011-Fix-for-dev-d-D-options-to-support-blk-mq-change-on-.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h patching file dev.c patching file symbols.c Hunk #1 succeeded at 10415 (offset 12 lines). Patch #12 (0012-Doc-update-man-page-for-the-bpf-and-sbitmapq-command.patch): + echo 'Patch #12 (0012-Doc-update-man-page-for-the-bpf-and-sbitmapq-command.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file crash.8 Patch #13 (0013-sbitmapq-Fix-for-sbitmap_queue-without-ws_active-mem.patch): + echo 'Patch #13 (0013-sbitmapq-Fix-for-sbitmap_queue-without-ws_active-mem.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c Patch #14 (0014-sbitmapq-Fix-for-sbitmap_word-without-cleared-member.patch): + echo 'Patch #14 (0014-sbitmapq-Fix-for-sbitmap_word-without-cleared-member.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c Patch #15 (0015-sbitmapq-Fix-for-sbitmap_queue-without-min_shallow_d.patch): + echo 'Patch #15 (0015-sbitmapq-Fix-for-sbitmap_queue-without-min_shallow_d.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c Patch #16 (0016-Make-dev-d-D-options-parse-sbitmap-on-Linux-4.18-and.patch): + echo 'Patch #16 (0016-Make-dev-d-D-options-parse-sbitmap-on-Linux-4.18-and.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file dev.c Patch #17 (0017-sbitmapq-Fix-for-kernels-without-struct-wait_queue_h.patch): + echo 'Patch #17 (0017-sbitmapq-Fix-for-kernels-without-struct-wait_queue_h.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c Patch #18 (0018-sbitmapq-Limit-kernels-without-sbitmap-again.patch): + echo 'Patch #18 (0018-sbitmapq-Limit-kernels-without-sbitmap-again.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c + echo 'Patch #1000 (0001-crash-Add-LoongArch-support.patch):' Patch #1000 (0001-crash-Add-LoongArch-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file .gitignore patching file Makefile Hunk #1 succeeded at 64 (offset 1 line). Hunk #2 succeeded at 84 (offset 1 line). Hunk #3 succeeded at 183 (offset 1 line). Hunk #4 succeeded at 298 (offset 23 lines). Hunk #5 succeeded at 447 (offset 1 line). patching file README patching file configure.c Hunk #11 succeeded at 1393 (offset 1 line). Hunk #12 succeeded at 1543 (offset 1 line). Hunk #13 succeeded at 1632 (offset 1 line). Hunk #14 succeeded at 1654 (offset 1 line). Hunk #15 succeeded at 1719 (offset 1 line). patching file crash_target.c patching file defs.h Hunk #1 succeeded at 76 (offset 1 line). Hunk #2 succeeded at 118 (offset 1 line). Hunk #3 succeeded at 162 (offset 1 line). Hunk #4 succeeded at 522 (offset 1 line). Hunk #5 succeeded at 1021 (offset 2 lines). Hunk #6 succeeded at 2011 (offset 2 lines). Hunk #7 succeeded at 2638 (offset 44 lines). Hunk #8 succeeded at 3492 (offset 50 lines). Hunk #9 succeeded at 4577 (offset 50 lines). Hunk #10 succeeded at 4845 (offset 70 lines). Hunk #11 succeeded at 4857 (offset 70 lines). Hunk #12 succeeded at 4890 (offset 70 lines). Hunk #13 succeeded at 4915 (offset 70 lines). Hunk #14 succeeded at 4937 (offset 70 lines). Hunk #15 succeeded at 5178 (offset 71 lines). Hunk #16 succeeded at 5219 (offset 71 lines). Hunk #17 succeeded at 5609 (offset 71 lines). Hunk #18 succeeded at 5662 (offset 71 lines). Hunk #19 succeeded at 6740 (offset 109 lines). Hunk #20 succeeded at 7125 (offset 109 lines). Hunk #21 succeeded at 7445 (offset 109 lines). Hunk #22 succeeded at 7550 (offset 109 lines). patching file diskdump.c Hunk #2 succeeded at 786 (offset -11 lines). Hunk #3 succeeded at 1534 (offset -2 lines). Hunk #4 succeeded at 1619 (offset -2 lines). Hunk #5 succeeded at 1769 (offset -2 lines). Hunk #6 succeeded at 1881 (offset -2 lines). Hunk #7 succeeded at 2569 (offset -2 lines). Hunk #8 succeeded at 2582 (offset -2 lines). Hunk #9 succeeded at 2613 (offset -2 lines). patching file gdb-7.6-proc_service.h.patch patching file gdb-7.6.patch Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file gdb-7.6.patch.rej patching file gdb-8.1-ppc64le-support.patch (renamed from gdb-7.6-ppc64le-support.patch) patching file gdb-8.1.patch patching file gdb_interface.c patching file help.c /usr/bin/patch: **** malformed patch at line 5478: License,", error: Bad exit status from /var/tmp/rpm-tmp.mEoglI (%prep) RPM build errors: bogus date in %changelog: Wed Oct 4 2018 Dave Anderson - 7.2.3-11 bogus date in %changelog: Mon Sep 1 2012 Dave Anderson - 6.1.0-1 bogus date in %changelog: Mon Jul 1 2012 Dave Anderson - 6.0.8-1 bogus date in %changelog: Wed Feb 25 2011 Dave Anderson - 5.1.2-2 bogus date in %changelog: Sun Aug 05 2009 Lubomir Rintel - 4.0.8.11-2 Bad exit status from /var/tmp/rpm-tmp.mEoglI (%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.spec