Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lld.spec'], chrootPath='/var/lib/mock/dist-an23.1-devel-build-365297-71289/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lld.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: Macro expanded in comment on line 35: %{version} warning: Macro expanded in comment on line 37: %{version} warning: Macro expanded in comment on line 39: %{version} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1710892800 Wrote: /builddir/build/SRPMS/lld-17.0.6-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 35: %{version} Macro expanded in comment on line 37: %{version} Macro expanded in comment on line 39: %{version} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lld.spec'], chrootPath='/var/lib/mock/dist-an23.1-devel-build-365297-71289/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lld.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: Macro expanded in comment on line 35: %{version} warning: Macro expanded in comment on line 37: %{version} warning: Macro expanded in comment on line 39: %{version} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1710892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YxSpyh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cmake-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cmake-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cmake-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd .. + mv cmake-17.0.6.src cmake + cd /builddir/build/BUILD + rm -rf lld-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lld-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd lld-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-backport-LoongArch-patches.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f 1 out of 1 hunk FAILED -- saving rejects to file ELF/Arch/LoongArch.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file ELF/CMakeLists.txt.rej 4 out of 4 hunks FAILED -- saving rejects to file ELF/Driver.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file ELF/InputFiles.cpp.rej 6 out of 6 hunks FAILED -- saving rejects to file ELF/InputSection.cpp.rej 11 out of 11 hunks FAILED -- saving rejects to file ELF/Relocations.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file ELF/Relocations.h.rej 1 out of 1 hunk FAILED -- saving rejects to file ELF/ScriptParser.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file ELF/Target.cpp.rej 2 out of 2 hunks FAILED -- saving rejects to file ELF/Target.h.rej 1 out of 1 hunk FAILED -- saving rejects to file docs/ReleaseNotes.rst.rej 1 out of 1 hunk FAILED -- saving rejects to file docs/index.rst.rej 2 out of 2 hunks FAILED -- saving rejects to file docs/ld.lld.1.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/emulation-loongarch.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-abs64.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-add-sub.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-branch.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-interlink.test.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-pc-aligned.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-pcala-lo12-jirl-shared.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-pcala-lo12-jirl.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-pcrel20-s2.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-plt.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-reloc-pic.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-tls-gd-edge-case.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-tls-gd.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-tls-ie.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-tls-ld.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/ELF/loongarch-tls-le.s.rej 1 out of 1 hunk FAILED -- saving rejects to file test/lit.cfg.py.rej error: Bad exit status from /var/tmp/rpm-tmp.YxSpyh (%prep) Macro expanded in comment on line 35: %{version} Macro expanded in comment on line 37: %{version} Macro expanded in comment on line 39: %{version} Bad exit status from /var/tmp/rpm-tmp.YxSpyh (%prep) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lld.spec\n', 1)] 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 598, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/lld.spec