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.6-build-193083-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=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: 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: loongarch64 Building for target loongarch64 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 loongarch64 --nodeps /builddir/build/SPECS/crash.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-193083-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=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: 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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NkJrd8 + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix lzo_snappy_zstd.patch --fuzz=0 Patch #0 (lzo_snappy_zstd.patch): 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 + echo 'Patch #3 (0001-sbitmapq-remove-struct-and-member-validation-in-sbit.patch):' 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 + echo 'Patch #5 (0003-sbitmapq-fix-invalid-offset-for-sbitmap_queue_round_.patch):' 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #9 (0007-bt-arm64-add-support-for-bt-n-idle.patch): patching file arm64.c patching file help.c patching file kernel.c + echo 'Patch #10 (0008-gdb-print-details-of-unnamed-struct-and-union.patch):' 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 + echo 'Patch #13 (0011-Doc-update-man-page-for-the-bpf-and-sbitmapq-command.patch):' 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 + echo 'Patch #16 (0014-sbitmapq-Fix-for-sbitmap_queue-without-min_shallow_d.patch):' 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-10.2.patch 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.laB27u + umask 022 + cd /builddir/build/BUILD + cd crash-8.0.1 + cp /builddir/build/SOURCES/gdb-10.2.tar.gz . ++ nproc + make -j4 RPMPKG=8.0.1-2.0.1.an8 'CFLAGS=-O2 -g' 'CXXFLAGS=-O2 -g' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' TARGET: LOONGARCH64 CRASH: 8.0.1-2.0.1.an8 GDB: 10.2 if [ -f gdb-10.2.patch ] && [ -s gdb-10.2.patch ]; then \ patch -p0 < gdb-10.2.patch; cp gdb-10.2.patch gdb-10.2; fi patching file gdb-10.2/Makefile.in patching file gdb-10.2/gdb/Makefile.in patching file gdb-10.2/gdb/cli/cli-cmds.c patching file gdb-10.2/gdb/defs.h patching file gdb-10.2/gdb/dwarf2/read.c patching file gdb-10.2/gdb/main.c patching file gdb-10.2/gdb/objfiles.h patching file gdb-10.2/gdb/printcmd.c patching file gdb-10.2/gdb/psymtab.c patching file gdb-10.2/gdb/symfile.c patching file gdb-10.2/gdb/symtab.c patching file gdb-10.2/gdb/ui-file.h patching file gdb-10.2/gdb/xml-syscall.c patching file gdb-10.2/libiberty/Makefile.in patching file gdb-10.2/opcodes/i386-dis.c patching file gdb-10.2/readline/readline/misc.c patching file gdb-10.2/readline/readline/readline.h patching file gdb-10.2/readline/readline/rltypedefs.h patching file gdb-10.2/readline/readline/util.c patching file gdb-10.2/gdb/completer.c patching file gdb-10.2/gdb/ada-lang.c patching file gdb-10.2/gdb/Makefile.in patching file gdb-10.2/gdb/c-typeprint.c can't find file to patch at input line 1657 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/Makefile.am b/bfd/Makefile.am |index d07c960..df68246 100644 |--- a/bfd/Makefile.am |+++ b/bfd/Makefile.am -------------------------- File to patch: Skip this patch? [y] Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 1713 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/Makefile.in b/bfd/Makefile.in |index 9cad4da..f48b1fc 100644 |--- a/bfd/Makefile.in |+++ b/bfd/Makefile.in -------------------------- File to patch: Skip this patch? [y] Skipping patch. 10 out of 10 hunks ignored can't find file to patch at input line 1810 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/archures.c b/bfd/archures.c |index 5069864..7a5d7f8 100644 |--- a/bfd/archures.c |+++ b/bfd/archures.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 1840 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h |index 935ba53..b911b7e 100644 |--- a/bfd/bfd-in2.h |+++ b/bfd/bfd-in2.h -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 1906 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/config.bfd b/bfd/config.bfd |index 6c2919e..75f2d7c 100644 |--- a/bfd/config.bfd |+++ b/bfd/config.bfd -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 1939 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/configure b/bfd/configure |index a9c4fd9..8d48802 100755 |--- a/bfd/configure |+++ b/bfd/configure -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 1952 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/configure.ac b/bfd/configure.ac |index f62659a..e97c9fc 100644 |--- a/bfd/configure.ac |+++ b/bfd/configure.ac -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored patching file b/bfd/cpu-loongarch.c can't find file to patch at input line 2009 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h |index eebdf9a..321c5e5 100644 |--- a/bfd/elf-bfd.h |+++ b/bfd/elf-bfd.h -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 2036 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/elf.c b/bfd/elf.c |index 5a02f8d..d7273a2 100644 |--- a/bfd/elf.c |+++ b/bfd/elf.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 4 out of 4 hunks ignored patching file b/bfd/elfnn-loongarch.c patching file b/bfd/elfxx-loongarch.c patching file b/bfd/elfxx-loongarch.h can't find file to patch at input line 5714 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/libbfd.h b/bfd/libbfd.h |index 74d7e41..c8b9131 100644 |--- a/bfd/libbfd.h |+++ b/bfd/libbfd.h -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 5768 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/reloc.c b/bfd/reloc.c |index dc923fe..4ff8b95 100644 |--- a/bfd/reloc.c |+++ b/bfd/reloc.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 5868 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/bfd/targets.c b/bfd/targets.c |index 35492b9..27f698b 100644 |--- a/bfd/targets.c |+++ b/bfd/targets.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 5893 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/config.guess b/config.guess |index 45001cf..ccc5416 100755 |--- a/config.guess |+++ b/config.guess -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 5907 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/config.sub b/config.sub |index f02d43a..ab2c038 100755 |--- a/config.sub |+++ b/config.sub -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 5919 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/include/elf/common.h b/include/elf/common.h |index 571e21a..4aa4a9f 100644 |--- a/include/elf/common.h |+++ b/include/elf/common.h -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored patching file b/include/elf/loongarch.h checking build system type... ./config.guess: unable to guess system type This script (version 2020-01-01), has failed to recognize the operating system you are using. If your script is old, overwrite *all* copies of config.guess and config.sub with the latest versions from: https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub If ./config.guess has already been updated, send the following data and any information you think might be pertinent to config-patches@gnu.org to provide the necessary information to handle your system. config.guess timestamp = 2020-01-01 uname -m = loongarch64 uname -r = 4.19.190-6.5.an8.loongarch64 uname -s = Linux uname -v = #1 SMP Thu Sep 29 08:10:24 UTC 2022 /usr/bin/uname -p = loongarch64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = loongarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = "loongarch64" UNAME_RELEASE = "4.19.190-6.5.an8.loongarch64" UNAME_SYSTEM = "Linux" UNAME_VERSION = "#1 SMP Thu Sep 29 08:10:24 UTC 2022" configure: error: cannot guess build type; you must specify one make[2]: *** No targets specified and no makefile found. Stop. crash build failed make[1]: *** [Makefile:261: gdb_merge] Error 1 make: *** [Makefile:253: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.laB27u (%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.laB27u (%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 loongarch64 --nodeps /builddir/build/SPECS/crash.spec