Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/dist-an23-build-355448-71048/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 x86_64 --nodeps /builddir/build/SPECS/binutils.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1708646400 Wrote: /builddir/build/SRPMS/binutils-2.41-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/dist-an23-build-355448-71048/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 x86_64 --nodeps /builddir/build/SPECS/binutils.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1708646400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4k2DUK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf binutils-2.41 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/binutils-2.41.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd binutils-2.41 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-binutils-libtool-lib64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-binutils-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-binutils-export-demangle.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-binutils-no-config-h-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-binutils-filename-in-error-messages.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-binutils-revert-PLT-elision.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0008-binutils-2.27-aarch64-ifunc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0009-binutils-do-not-link-with-static-libstdc++.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0010-binutils-special-sections-in-groups.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0012-binutils-gold-mismatched-section-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0013-binutils-gold-warn-unsupported.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0014-binutils-gold-i386-gnu-property-notes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0015-binutils-autoconf-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0016-gcc12-libtool-no-rpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-update-linker-manual.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-testsuite-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0023-LoongArch-Add-lsx-and-lasx-instructions-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f 1 out of 1 hunk FAILED -- saving rejects to file bfd/bfd-in2.h.rej 1 out of 1 hunk FAILED -- saving rejects to file bfd/elf32-csky.c.rej 2 out of 2 hunks FAILED -- saving rejects to file bfd/elf32-rl78.c.rej 16 out of 25 hunks FAILED -- saving rejects to file bfd/elfnn-loongarch.c.rej 16 out of 17 hunks FAILED -- saving rejects to file bfd/elfxx-loongarch.c.rej 1 out of 1 hunk FAILED -- saving rejects to file bfd/elfxx-loongarch.h.rej 1 out of 1 hunk FAILED -- saving rejects to file bfd/libbfd.h.rej 1 out of 1 hunk FAILED -- saving rejects to file bfd/reloc.c.rej 17 out of 18 hunks FAILED -- saving rejects to file binutils/readelf.c.rej 2 out of 2 hunks FAILED -- saving rejects to file binutils/testsuite/binutils-all/readelf.exp.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/compress-debug.c.rej 28 out of 31 hunks FAILED -- saving rejects to file gas/config/tc-loongarch.c.rej 4 out of 4 hunks FAILED -- saving rejects to file gas/config/tc-loongarch.h.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/all/align.d.rej 3 out of 3 hunks FAILED -- saving rejects to file gas/testsuite/gas/all/gas.exp.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/all/relax.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf-5-irp.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf-5-loc0.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf-5-macro-include.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf-5-macro.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf2-11.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf2-15.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf2-16.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf2-17.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf2-18.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf2-19.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/dwarf2-5.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/ehopt0.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/elf.exp.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/elf/section11.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/lns/lns.exp.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/64_pcrel.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/64_pcrel.s.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/deprecated_reg_aliases.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/deprecated_reg_aliases.l.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/deprecated_reg_aliases.s.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/float_op.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/float_op.s.rej 2 out of 2 hunks FAILED -- saving rejects to file gas/testsuite/gas/loongarch/imm_ins.d.rej 2 out of 2 hunks FAILED -- saving rejects to file gas/testsuite/gas/loongarch/imm_ins_32.d.rej 2 out of 2 hunks FAILED -- saving rejects to file gas/testsuite/gas/loongarch/imm_op.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/jmp_op.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/li.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/load_store_op.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/lvz-lbt.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/lvz-lbt.s.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/macro_op.d.rej 2 out of 2 hunks FAILED -- saving rejects to file gas/testsuite/gas/loongarch/macro_op_32.d.rej 2 out of 2 hunks FAILED -- saving rejects to file gas/testsuite/gas/loongarch/macro_op_large_abs.d.rej 2 out of 2 hunks FAILED -- saving rejects to file gas/testsuite/gas/loongarch/macro_op_large_pc.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/nop.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/privilege_op.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/raw-insn.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/raw-insn.s.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/relax_align.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/relax_align.s.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/reloc.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/uleb128.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/uleb128.s.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/vector.d.rej 1 out of 1 hunk FAILED -- saving rejects to file gas/testsuite/gas/loongarch/vector.s.rej 1 out of 1 hunk FAILED -- saving rejects to file include/elf/loongarch.h.rej 5 out of 5 hunks FAILED -- saving rejects to file include/opcode/loongarch.h.rej 1 out of 1 hunk FAILED -- saving rejects to file include/xtensa-dynconfig.h.rej 2 out of 2 hunks FAILED -- saving rejects to file ld/emultempl/loongarchelf.em.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-elf/compressed1d.d.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-elf/pr26936.d.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-elf/shared.exp.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/64_pcrel.d.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/64_pcrel.s.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/disas-jirl-32.d.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/disas-jirl.d.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/jmp_op.d.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp.rej 4 out of 4 hunks FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/macro_op.d.rej 2 out of 2 hunks FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/macro_op_32.d.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/relax-align.dd.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/relax-align.s.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/relax.exp.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/relax.s.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/uleb128.dd.rej 1 out of 1 hunk FAILED -- saving rejects to file ld/testsuite/ld-loongarch-elf/uleb128.s.rej 1 out of 1 hunk FAILED -- saving rejects to file opcodes/disassemble.c.rej 9 out of 9 hunks FAILED -- saving rejects to file opcodes/loongarch-dis.c.rej 23 out of 23 hunks FAILED -- saving rejects to file opcodes/loongarch-opc.c.rej error: Bad exit status from /var/tmp/rpm-tmp.4k2DUK (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4k2DUK (%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 x86_64 --nodeps /builddir/build/SPECS/binutils.spec