Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcxx.spec'], chrootPath='/var/lib/mock/dist-an23-build-540502-84787/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/libcxx.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=1780617600 Wrote: /builddir/build/SRPMS/libcxx-17.0.6-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcxx.spec'], chrootPath='/var/lib/mock/dist-an23-build-540502-84787/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/libcxx.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=1780617600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CsGLyJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcxx-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libcxx-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcxx-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf libcxxabi-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libcxxabi-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcxxabi-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf libunwind-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libunwind-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libunwind-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf build + /usr/bin/mkdir -p build + cd build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/CMakeLists.txt . + mv ../libcxx-17.0.6.src libcxx + mv ../libcxxabi-17.0.6.src libcxxabi + mv ../libunwind-17.0.6.src libunwind + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/standalone.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/anolis/pathfix.py -pni /usr/bin/python3 -kasP libcxx/utils/ recursedown('libcxx/utils/') recursedown('libcxx/utils/ci') recursedown('libcxx/utils/data') recursedown('libcxx/utils/data/unicode') recursedown('libcxx/utils/gdb') recursedown('libcxx/utils/gdb/libcxx') recursedown('libcxx/utils/libcxx') recursedown('libcxx/utils/libcxx/sym_check') recursedown('libcxx/utils/libcxx/test') recursedown('libcxx/utils/symcheck-blacklists') libcxx/utils/cat_files.py: updating libcxx/utils/generate_abi_list.py: updating libcxx/utils/generate_escaped_output_table.py: updating libcxx/utils/generate_extended_grapheme_cluster_table.py: updating libcxx/utils/generate_extended_grapheme_cluster_test.py: updating libcxx/utils/generate_feature_test_macro_components.py: updating libcxx/utils/generate_iwyu_mapping.py: updating libcxx/utils/generate_std_clang_module_header.py: no change libcxx/utils/generate_width_estimation_table.py: updating libcxx/utils/graph_header_deps.py: updating libcxx/utils/run.py: updating libcxx/utils/ssh.py: updating libcxx/utils/sym_diff.py: updating libcxx/utils/gdb/libcxx/printers.py: no change libcxx/utils/libcxx/__init__.py: no change libcxx/utils/libcxx/header_information.py: no change libcxx/utils/libcxx/sym_check/__init__.py: no change libcxx/utils/libcxx/sym_check/diff.py: no change libcxx/utils/libcxx/sym_check/extract.py: no change libcxx/utils/libcxx/sym_check/match.py: no change libcxx/utils/libcxx/sym_check/util.py: no change libcxx/utils/libcxx/test/__init__.py: no change libcxx/utils/libcxx/test/config.py: no change libcxx/utils/libcxx/test/dsl.py: no change libcxx/utils/libcxx/test/features.py: no change libcxx/utils/libcxx/test/format.py: no change libcxx/utils/libcxx/test/googlebenchmark.py: no change libcxx/utils/libcxx/test/params.py: no change + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q3iwHL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd build + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + /usr/bin/cmake -S . -B anolis-linux-build -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 -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 -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_MODULE_PATH=/usr/lib64/cmake/llvm -DLIBCXX_LIBDIR_SUFFIX:STRING=64 -DLIBCXXABI_LIBDIR_SUFFIX:STRING=64 -DLIBUNWIND_LIBDIR_SUFFIX:STRING=64 -DLIBCXX_INCLUDE_BENCHMARKS=OFF -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=ON -DLLVM_BUILD_DOCS=ON -DLLVM_ENABLE_SPHINX=ON -DLIBUNWIND_INCLUDE_DOCS=ON -DLIBUNWIND_INSTALL_INCLUDE_DIR=/usr/include/llvm-libunwind -DLIBUNWIND_INSTALL_SPHINX_HTML_DIR=/usr/share/doc/libcxx/html -- The C compiler identification is Clang 17.0.6 -- The CXX compiler identification is Clang 17.0.6 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /usr/bin/clang -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using libc++abi testing configuration: /builddir/build/BUILD/build/libcxxabi/test/configs/llvm-libc++abi-shared.cfg.in CMake Error at libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake:8 (include): include could not find requested file: HandleFlags Call Stack (most recent call first): libcxxabi/CMakeLists.txt:238 (include) -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Looking for __aeabi_uldivmod in gcc -- Looking for __aeabi_uldivmod in gcc - not found -- Performing Test CXX_SUPPORTS_NOSTDLIBXX_FLAG -- Performing Test CXX_SUPPORTS_NOSTDLIBXX_FLAG - Success -- Performing Test C_SUPPORTS_COMMENT_LIB_PRAGMA -- Performing Test C_SUPPORTS_COMMENT_LIB_PRAGMA - Success -- Performing Test CXX_SUPPORTS_NOSTDINCXX_FLAG -- Performing Test CXX_SUPPORTS_NOSTDINCXX_FLAG - Success -- Looking for dladdr in dl -- Looking for dladdr in dl - found -- Looking for pthread_once in pthread -- Looking for pthread_once in pthread - found -- Looking for __cxa_thread_atexit_impl in c -- Looking for __cxa_thread_atexit_impl in c - found -- Looking for write in System -- Looking for write in System - not found CMake Error at libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake:58 (mangle_name): Unknown CMake command "mangle_name". Call Stack (most recent call first): libcxxabi/CMakeLists.txt:280 (add_compile_flags_if_supported) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.Q3iwHL (%build) Bad exit status from /var/tmp/rpm-tmp.Q3iwHL (%build) 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/libcxx.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 612, 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: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcxx.spec'