Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/llvm19.spec'], chrootPath='/var/lib/mock/f45-build-53110-917/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9dqqzyd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9dqqzyd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9bcb99290e164719ba2b98faf215ee42', '-D', '/var/lib/mock/f45-build-53110-917/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9dqqzyd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/llvm19.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1773187200 warning: File listed twice: 0001-19-Always-build-shared-libs-for-LLD.patch warning: File listed twice: 0001-19-Always-build-shared-libs-for-LLD.patch warning: File listed twice: 0001-20-polly-shared-libs.patch warning: File listed twice: 0001-SystemZ-Fix-ICE-with-i128-i64-uaddo-carry-chain.patch warning: File listed twice: 0001-profile-Use-base-vaddr-for-__llvm_write_binary_ids-n.patch Wrote: /builddir/build/SRPMS/llvm19-19.1.7-18.fc45.src.rpm RPM build warnings: File listed twice: 0001-19-Always-build-shared-libs-for-LLD.patch File listed twice: 0001-19-Always-build-shared-libs-for-LLD.patch File listed twice: 0001-20-polly-shared-libs.patch File listed twice: 0001-SystemZ-Fix-ICE-with-i128-i64-uaddo-carry-chain.patch File listed twice: 0001-profile-Use-base-vaddr-for-__llvm_write_binary_ids-n.patch Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/llvm19.spec'], chrootPath='/var/lib/mock/f45-build-53110-917/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9dqqzyd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9dqqzyd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c01c29c893eb406c99636718efc5ba88', '-D', '/var/lib/mock/f45-build-53110-917/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9dqqzyd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/llvm19.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1773187200 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.AhC77d Creating(rpmbuild.env): /builddir/build/BUILD/llvm19-19.1.7-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/llvm19-19.1.7-build" RPM_OPT_FLAGS="-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now --config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg -Wl,--build-id=sha1 " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/llvm19-19.1.7-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="llvm19" RPM_PACKAGE_VERSION="19.1.7" RPM_PACKAGE_RELEASE="18.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/llvm19-19.1.7-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G7mvTc + umask 022 + cd /builddir/build/BUILD/llvm19-19.1.7-build + /usr/libexec/gpgverify --keyring=/builddir/build/SOURCES/release-keys.asc --signature=/builddir/build/SOURCES/llvm-project-19.1.7.src.tar.xz.sig --data=/builddir/build/SOURCES/llvm-project-19.1.7.src.tar.xz gpgv: Signature made Tue Jan 14 22:41:48 2025 CST gpgv: using RSA key D574BD5D1D0E98895E3BF90044F2485E45D59042 gpgv: Good signature from "Tobias Hieta " + cd /builddir/build/BUILD/llvm19-19.1.7-build + rm -rf llvm-project-19.1.7.src + /usr/bin/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/bin/rpmuncompress /builddir/build/SOURCES/0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0003-PATCH-clang-Don-t-install-static-libraries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-Workaround-a-bug-in-ORC-on-ppc64le.patch + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-Driver-Give-devtoolset-path-precedence-over-Installe.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-cmake-Resolve-symlink-when-finding-install-prefix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-openmp-Add-option-to-disable-tsan-tests-111548.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-openmp-Use-core_siblings_list-if-physical_package_id.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-clang-shlib-Add-symbol-versioning-to-all-symbols.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-mlir-python-Reuse-the-library-directory.patch + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-CMake-Add-missing-dependency-108461.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-mlir-Specify-deps-via-LLVM_LINK_COMPONENTS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-CMake-Use-correct-exports-for-MLIR-tools.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/cstdint.patch + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-19-PATCH-Bolt-CMake-Don-t-export-bolt-libraries-in-LLVM.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-BOLT-Use-getMainExecutable-126698.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/122123.patch + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-19-polly-shared-libs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-19-Always-build-shared-libs-for-LLD.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/172972.patch + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-profile-Use-base-vaddr-for-__llvm_write_binary_ids-n.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-SystemZ-Fix-ICE-with-i128-i64-uaddo-carry-chain.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/0001-ConstantFolding-Ensure-TLI-is-valid-when-simplifying.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/131214.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/137403.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + '[' -z s ']' + shebang_flags=-kas + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kas llvm/test/BugPoint/compile-custom.ll.py llvm/tools/opt-viewer/extract-reproducers.py llvm/tools/opt-viewer/opt-diff.py llvm/tools/opt-viewer/opt-stats.py llvm/tools/opt-viewer/opt-viewer.py llvm/tools/opt-viewer/optpmap.py llvm/tools/opt-viewer/optrecord.py llvm/utils/update_cc_test_checks.py llvm/test/BugPoint/compile-custom.ll.py: updating llvm/tools/opt-viewer/extract-reproducers.py: updating llvm/tools/opt-viewer/opt-diff.py: updating llvm/tools/opt-viewer/opt-stats.py: updating llvm/tools/opt-viewer/opt-viewer.py: updating llvm/tools/opt-viewer/optpmap.py: no change llvm/tools/opt-viewer/optrecord.py: updating llvm/utils/update_cc_test_checks.py: updating + '[' -z s ']' + shebang_flags=-kas + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kas clang-tools-extra/clang-tidy/tool/ clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py recursedown('clang-tools-extra/clang-tidy/tool/') clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py: updating clang-tools-extra/clang-tidy/tool/run-clang-tidy.py: updating clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py: updating + '[' -z s ']' + shebang_flags=-kas + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kas clang/tools/clang-format/ clang/tools/clang-format/git-clang-format clang/utils/hmaptool/hmaptool clang/tools/scan-view/bin/scan-view clang/tools/scan-view/share/Reporter.py clang/tools/scan-view/share/startfile.py clang/tools/scan-build-py/bin/analyze-build clang/tools/scan-build-py/bin/intercept-build clang/tools/scan-build-py/bin/scan-build clang/tools/scan-build-py/libexec/analyze-c++ clang/tools/scan-build-py/libexec/analyze-cc clang/tools/scan-build-py/libexec/intercept-c++ clang/tools/scan-build-py/libexec/intercept-cc recursedown('clang/tools/clang-format/') recursedown('clang/tools/clang-format/fuzzer') clang/tools/clang-format/clang-format-diff.py: updating clang/tools/clang-format/clang-format-sublime.py: no change clang/tools/clang-format/clang-format.py: no change clang/tools/clang-format/git-clang-format: updating clang/utils/hmaptool/hmaptool: updating clang/tools/scan-view/bin/scan-view: updating clang/tools/scan-view/share/Reporter.py: updating clang/tools/scan-view/share/startfile.py: updating clang/tools/scan-build-py/bin/analyze-build: updating clang/tools/scan-build-py/bin/intercept-build: updating clang/tools/scan-build-py/bin/scan-build: updating clang/tools/scan-build-py/libexec/analyze-c++: updating clang/tools/scan-build-py/libexec/analyze-cc: updating clang/tools/scan-build-py/libexec/intercept-c++: updating clang/tools/scan-build-py/libexec/intercept-cc: updating + '[' -z s ']' + shebang_flags=-kas + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kas compiler-rt/lib/hwasan/scripts/hwasan_symbolize compiler-rt/lib/hwasan/scripts/hwasan_symbolize: updating + sed -i s/LLDB_ENABLE_PYTHON/TRUE/ lldb/docs/CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jRUERu + umask 022 + cd /builddir/build/BUILD/llvm19-19.1.7-build + CFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now --config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=/usr/bin/clang-19 + export CC + CXX=/usr/bin/clang++-19 + export CXX + cd llvm-project-19.1.7.src + export 'ASMFLAGS=-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ ' + ASMFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ ' + cd llvm + extra_cmake_args= + grep 'flags.*la57' /proc/cpuinfo + CFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now --config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=/usr/bin/clang-19 + export CC + CXX=/usr/bin/clang++-19 + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -G Ninja -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_SBINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=bin -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -G Ninja -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_USE_PERF=ON -DLLVM_TARGETS_TO_BUILD=all -DBUILD_SHARED_LIBS=OFF -DLLVM_BUILD_LLVM_DYLIB=ON -DCLANG_BUILD_EXAMPLES:BOOL=OFF -DCLANG_CONFIG_FILE_SYSTEM_DIR=/etc/clang19/ -DCLANG_DEFAULT_PIE_ON_LINUX=OFF -DCLANG_DEFAULT_UNWINDLIB=libgcc -DCLANG_ENABLE_ARCMT:BOOL=ON -DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON -DCLANG_INCLUDE_DOCS:BOOL=ON -DCLANG_INCLUDE_TESTS:BOOL=ON -DCLANG_LINK_CLANG_DYLIB=ON -DCLANG_PLUGIN_SUPPORT:BOOL=ON '-DCLANG_REPOSITORY_STRING=Fedora 19.1.7-18.fc45' -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra -DCLANG_RESOURCE_DIR=../../../lib/clang/19 -DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF -DCOMPILER_RT_INSTALL_PATH=/usr/lib/clang/19 -DLLVM_ENABLE_DOXYGEN:BOOL=OFF -DLLVM_ENABLE_SPHINX:BOOL=ON -DLLVM_BUILD_DOCS:BOOL=ON -DSPHINX_EXECUTABLE=/usr/bin/sphinx-build-3 -DSPHINX_OUTPUT_HTML:BOOL=OFF -DSPHINX_OUTPUT_MAN:BOOL=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF -DLLDB_ENABLE_PYTHON=OFF -DLLDB_ENFORCE_STRICT_TEST_REQUIREMENTS:BOOL=ON -DLLVM_APPEND_VC_REV:BOOL=OFF -DLLVM_BUILD_EXAMPLES:BOOL=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON -DLLVM_BUILD_RUNTIME:BOOL=ON -DLLVM_BUILD_TOOLS:BOOL=ON -DLLVM_BUILD_UTILS:BOOL=ON -DLLVM_DEFAULT_TARGET_TRIPLE=riscv64-redhat-linux-gnu -DLLVM_DYLIB_COMPONENTS=all -DLLVM_ENABLE_FFI:BOOL=ON -DLLVM_ENABLE_LIBCXX:BOOL=OFF -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON '-DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;lld;lldb' '-DLLVM_ENABLE_RUNTIMES=compiler-rt;openmp' -DLLVM_ENABLE_ZLIB:BOOL=FORCE_ON -DLLVM_ENABLE_ZSTD:BOOL=FORCE_ON -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_INCLUDE_EXAMPLES:BOOL=OFF -DLLVM_INCLUDE_TOOLS:BOOL=ON -DLLVM_INCLUDE_UTILS:BOOL=ON -DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF -DLLVM_INSTALL_UTILS:BOOL=ON -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DLLVM_PARALLEL_LINK_JOBS=1 -DLLVM_TOOLS_INSTALL_DIR:PATH=bin -DLLVM_UNREACHABLE_OPTIMIZE:BOOL=OFF -DLLVM_UTILS_INSTALL_DIR:PATH=bin -DOPENMP_INSTALL_LIBDIR=lib -DLIBOMP_INSTALL_ALIASES=OFF -DLLVM_BUILD_TESTS:BOOL=ON -DLLVM_INCLUDE_TESTS:BOOL=ON -DLLVM_INSTALL_GTEST:BOOL=ON -DLLVM_LIT_ARGS=-vv -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr/lib64/llvm19 -DENABLE_LINKER_BUILD_ID:BOOL=ON -DOFFLOAD_INSTALL_LIBDIR=lib -DPython3_EXECUTABLE=/usr/bin/python3 -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON '-DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -DNDEBUG' '-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -DNDEBUG' CMake Deprecation Warning at /builddir/build/BUILD/llvm19-19.1.7-build/llvm-project-19.1.7.src/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): The OLD behavior for policy CMP0114 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) CMake Deprecation Warning at /builddir/build/BUILD/llvm19-19.1.7-build/llvm-project-19.1.7.src/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy): The OLD behavior for policy CMP0116 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:6 (include) -- The C compiler identification is Clang 19.1.7 -- The CXX compiler identification is Clang 19.1.7 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /usr/bin/clang-19 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/clang-19 -- Check for working C compiler: /usr/bin/clang-19 - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "/usr/bin/clang-19" is not able to compile a simple test program. It fails with the following output: Change Dir: '/builddir/build/BUILD/llvm19-19.1.7-build/llvm-project-19.1.7.src/llvm/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-Cpy9cx' Run Build Command(s): /usr/bin/ninja-build -v cmTC_3b159 [1/2] /usr/bin/clang-19 -O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -MD -MT CMakeFiles/cmTC_3b159.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_3b159.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_3b159.dir/testCCompiler.c.o -c /builddir/build/BUILD/llvm19-19.1.7-build/llvm-project-19.1.7.src/llvm/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-Cpy9cx/testCCompiler.c FAILED: [code=1] CMakeFiles/cmTC_3b159.dir/testCCompiler.c.o /usr/bin/clang-19 -O2 -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -MD -MT CMakeFiles/cmTC_3b159.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_3b159.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_3b159.dir/testCCompiler.c.o -c /builddir/build/BUILD/llvm19-19.1.7-build/llvm-project-19.1.7.src/llvm/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-Cpy9cx/testCCompiler.c clang-19: error: invalid arch name 'rva23u64', requires '-menable-experimental-extensions' for profile 'rva23u64' ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:45 (project) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.jRUERu (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jRUERu (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M c01c29c893eb406c99636718efc5ba88 -D /var/lib/mock/f45-build-53110-917/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.x9dqqzyd:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/llvm19.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.14/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M c01c29c893eb406c99636718efc5ba88 -D /var/lib/mock/f45-build-53110-917/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.x9dqqzyd:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/llvm19.spec'