Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm-toolset-19.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-230385-81460/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm-toolset-19.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 2051: %{install_bindir}/lldb warning: Macro expanded in comment on line 2052: %{install_bindir}/lldb-argdumper warning: Macro expanded in comment on line 2053: %{install_bindir}/lldb-instr warning: Macro expanded in comment on line 2054: %{install_bindir}/lldb-server warning: Macro expanded in comment on line 2055: %{install_bindir}/lldb-vscode warning: Macro expanded in comment on line 2056: %{install_bindir}/liblldb.so.* warning: Macro expanded in comment on line 2057: %{install_bindir}/liblldbIntelFeatures.so.* warning: Macro expanded in comment on line 2058: %{install_bindir}/man1/lldb.* warning: Macro expanded in comment on line 2059: %{install_bindir}/man1/lldb-server.* warning: Macro expanded in comment on line 2060: %{without system_llvm} warning: Macro expanded in comment on line 2061: %{_bindir}/lldb warning: Macro expanded in comment on line 2062: %{_bindir}/lldb-argdumper warning: Macro expanded in comment on line 2063: %{_bindir}/lldb-instr warning: Macro expanded in comment on line 2064: %{_bindir}/lldb-server warning: Macro expanded in comment on line 2065: %{_bindir}/lldb-vscode Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/llvm-toolset-19-19.1.7-1.oc9.src.rpm RPM build warnings: Macro expanded in comment on line 2051: %{install_bindir}/lldb Macro expanded in comment on line 2052: %{install_bindir}/lldb-argdumper Macro expanded in comment on line 2053: %{install_bindir}/lldb-instr Macro expanded in comment on line 2054: %{install_bindir}/lldb-server Macro expanded in comment on line 2055: %{install_bindir}/lldb-vscode Macro expanded in comment on line 2056: %{install_bindir}/liblldb.so.* Macro expanded in comment on line 2057: %{install_bindir}/liblldbIntelFeatures.so.* Macro expanded in comment on line 2058: %{install_bindir}/man1/lldb.* Macro expanded in comment on line 2059: %{install_bindir}/man1/lldb-server.* Macro expanded in comment on line 2060: %{without system_llvm} Macro expanded in comment on line 2061: %{_bindir}/lldb Macro expanded in comment on line 2062: %{_bindir}/lldb-argdumper Macro expanded in comment on line 2063: %{_bindir}/lldb-instr Macro expanded in comment on line 2064: %{_bindir}/lldb-server Macro expanded in comment on line 2065: %{_bindir}/lldb-vscode Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm-toolset-19.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-230385-81460/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/llvm-toolset-19.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 2051: %{install_bindir}/lldb warning: Macro expanded in comment on line 2052: %{install_bindir}/lldb-argdumper warning: Macro expanded in comment on line 2053: %{install_bindir}/lldb-instr warning: Macro expanded in comment on line 2054: %{install_bindir}/lldb-server warning: Macro expanded in comment on line 2055: %{install_bindir}/lldb-vscode warning: Macro expanded in comment on line 2056: %{install_bindir}/liblldb.so.* warning: Macro expanded in comment on line 2057: %{install_bindir}/liblldbIntelFeatures.so.* warning: Macro expanded in comment on line 2058: %{install_bindir}/man1/lldb.* warning: Macro expanded in comment on line 2059: %{install_bindir}/man1/lldb-server.* warning: Macro expanded in comment on line 2060: %{without system_llvm} warning: Macro expanded in comment on line 2061: %{_bindir}/lldb warning: Macro expanded in comment on line 2062: %{_bindir}/lldb-argdumper warning: Macro expanded in comment on line 2063: %{_bindir}/lldb-instr warning: Macro expanded in comment on line 2064: %{_bindir}/lldb-server warning: Macro expanded in comment on line 2065: %{_bindir}/lldb-vscode Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.blC5Wh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf llvm-project-19.1.7.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/llvm-project-19.1.7.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd llvm-project-19.1.7.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-PATCH-clang-Don-t-install-static-libraries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f patch unexpectedly ends in middle of line + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Always-build-shared-libs-for-LLD.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f patch unexpectedly ends in middle of line + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-PATCH-Bolt-CMake-Don-t-export-bolt-libraries-in-LLVM.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f error: File /builddir/build/SOURCES/0003-PATCH-Bolt-CMake-Don-t-export-bolt-libraries-in-LLVM.patch is smaller than 13 bytes + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-Offload-Add-support-for-loongarch64-to-host-plugin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f 1 out of 1 hunk FAILED -- saving rejects to file offload/CMakeLists.txt.rej 1 out of 1 hunk FAILED -- saving rejects to file offload/plugins-nextgen/common/src/Utils/ELF.cpp.rej 2 out of 2 hunks FAILED -- saving rejects to file offload/plugins-nextgen/host/CMakeLists.txt.rej 1 out of 1 hunk FAILED -- saving rejects to file offload/plugins-nextgen/host/dynamic_ffi/ffi.h.rej 1 out of 1 hunk FAILED -- saving rejects to file offload/plugins-nextgen/host/src/rtl.cpp.rej error: Bad exit status from /var/tmp/rpm-tmp.blC5Wh (%prep) RPM build warnings: RPM build errors: Macro expanded in comment on line 2051: %{install_bindir}/lldb Macro expanded in comment on line 2052: %{install_bindir}/lldb-argdumper Macro expanded in comment on line 2053: %{install_bindir}/lldb-instr Macro expanded in comment on line 2054: %{install_bindir}/lldb-server Macro expanded in comment on line 2055: %{install_bindir}/lldb-vscode Macro expanded in comment on line 2056: %{install_bindir}/liblldb.so.* Macro expanded in comment on line 2057: %{install_bindir}/liblldbIntelFeatures.so.* Macro expanded in comment on line 2058: %{install_bindir}/man1/lldb.* Macro expanded in comment on line 2059: %{install_bindir}/man1/lldb-server.* Macro expanded in comment on line 2060: %{without system_llvm} Macro expanded in comment on line 2061: %{_bindir}/lldb Macro expanded in comment on line 2062: %{_bindir}/lldb-argdumper Macro expanded in comment on line 2063: %{_bindir}/lldb-instr Macro expanded in comment on line 2064: %{_bindir}/lldb-server Macro expanded in comment on line 2065: %{_bindir}/lldb-vscode Bad exit status from /var/tmp/rpm-tmp.blC5Wh (%prep) 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/llvm-toolset-19.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 597, 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/llvm-toolset-19.spec