Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/crash.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-192472-60809/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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: Fri Nov 15 2014 Dave Anderson - 7.0.9-1 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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/crash-8.0.1-2.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/crash.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-192472-60809/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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: Fri Nov 15 2014 Dave Anderson - 7.0.9-1 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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ob9WfK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crash-8.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/crash-8.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd crash-8.0.1 + /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 (crash-8.0.1_build.patch): + echo 'Patch #1 (crash-8.0.1_build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix crash-8.0.1_build.patch --fuzz=0 patching file Makefile patching file configure.c Patch #2 (0001-ppc64-update-the-NR_CPUS-to-8192.patch): + echo 'Patch #2 (0001-ppc64-update-the-NR_CPUS-to-8192.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h Patch #3 (0001-sbitmapq-remove-struct-and-member-validation-in-sbit.patch): + echo 'Patch #3 (0001-sbitmapq-remove-struct-and-member-validation-in-sbit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c Patch #4 (0002-sbitmapq-fix-invalid-offset-for-sbitmap_queue_alloc_.patch): + echo 'Patch #4 (0002-sbitmapq-fix-invalid-offset-for-sbitmap_queue_alloc_.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h patching file sbitmap.c patching file symbols.c Patch #5 (0003-sbitmapq-fix-invalid-offset-for-sbitmap_queue_round_.patch): + echo 'Patch #5 (0003-sbitmapq-fix-invalid-offset-for-sbitmap_queue_round_.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h patching file sbitmap.c patching file symbols.c + echo 'Patch #6 (0004-sbitmapq-fix-invalid-offset-for-sbitmap_word_depth-o.patch):' Patch #6 (0004-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 #7 (0005-Makefile-add-missing-crash_target.o-to-be-cleaned.patch): + echo 'Patch #7 (0005-Makefile-add-missing-crash_target.o-to-be-cleaned.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Patch #8 (0006-bt-x86_64-filter-out-idle-task-stack.patch): + echo 'Patch #8 (0006-bt-x86_64-filter-out-idle-task-stack.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file defs.h patching file help.c patching file kernel.c patching file x86_64.c + echo 'Patch #9 (0007-bt-arm64-add-support-for-bt-n-idle.patch):' Patch #9 (0007-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 patching file kernel.c Patch #10 (0008-gdb-print-details-of-unnamed-struct-and-union.patch): + echo 'Patch #10 (0008-gdb-print-details-of-unnamed-struct-and-union.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gdb-10.2.patch Patch #11 (0009-Enhance-dev-d-D-options-to-support-blk-mq-sbitmap.patch): + echo 'Patch #11 (0009-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 Patch #12 (0010-Fix-for-dev-d-D-options-to-support-blk-mq-change-on-.patch): + echo 'Patch #12 (0010-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 Patch #13 (0011-Doc-update-man-page-for-the-bpf-and-sbitmapq-command.patch): + echo 'Patch #13 (0011-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 #14 (0012-sbitmapq-Fix-for-sbitmap_queue-without-ws_active-mem.patch): + echo 'Patch #14 (0012-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 #15 (0013-sbitmapq-Fix-for-sbitmap_word-without-cleared-member.patch): + echo 'Patch #15 (0013-sbitmapq-Fix-for-sbitmap_word-without-cleared-member.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sbitmap.c Patch #16 (0014-sbitmapq-Fix-for-sbitmap_queue-without-min_shallow_d.patch): + echo 'Patch #16 (0014-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 #17 (0015-Make-dev-d-D-options-parse-sbitmap-on-Linux-4.18-and.patch): + echo 'Patch #17 (0015-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 #1000 (0001-crash-add-loongarch-support.patch): + echo 'Patch #1000 (0001-crash-add-loongarch-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file README patching file configure.c patching file defs.h patching file diskdump.c patching file gdb_interface.c patching file lkcd_vmdump_v1.h patching file lkcd_vmdump_v2_v3.h patching file loongarch64.c patching file netdump.c patching file ramdump.c patching file symbols.c patching file vmware_guestdump.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F4c9Aj + umask 022 + cd /builddir/build/BUILD + cd crash-8.0.1 + cp /builddir/build/SOURCES/gdb-10.2.tar.gz . ++ nproc + make -j8 RPMPKG=8.0.1-2.0.1.an8 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' configure.c: In function 'build_configure': configure.c:795:19: error: 'TARGET_CFLAGS_LOONGARCH64' undeclared (first use in this function); did you mean 'TARGET_CFLAGS_SPARC64'? target_CFLAGS = TARGET_CFLAGS_LOONGARCH64; ^~~~~~~~~~~~~~~~~~~~~~~~~ TARGET_CFLAGS_SPARC64 configure.c:795:19: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:308: make_configure] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.F4c9Aj (%build) RPM build errors: bogus date in %changelog: Fri Nov 15 2014 Dave Anderson - 7.0.9-1 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.F4c9Aj (%build) 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 aarch64 --nodeps /builddir/build/SPECS/crash.spec