* Package: sys-devel/clang-9.0.0  * Repository: gentoo  * Maintainer: llvm@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX llvm_targets_X86 prefix python_single_target_python3_7 python_targets_python2_7 python_targets_python3_7 static-analyzer userland_GNU  * FEATURES: network-sandbox preserve-libs >>> Unpacking source... * Unpacking cfe-9.0.0.src.tar.xz ... * Unpacking clang-tools-extra-9.0.0.src.tar.xz ... * Unpacking llvm-9.0.0-manpages.tar.bz2 ... >>> Source unpacked in /dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work >>> Preparing source in /dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src ... * Applying 0001-clang-unittest-Import-LLVMTestingSupport-if-necessar.patch ...  [ ok ] * Applying 0002-Initialize-all-fields-in-ABIArgInfo.patch ...  [ ok ] * Applying 0003-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch ...  [ ok ] >>> Source prepared. * Use /dev/shm/julius/gentoo as default sysroot ...  [ ok ] * Use dynamic linker from /dev/shm/julius/gentoo ...  [ ok ] * Remove --sysroot call on ld for native toolchain ...  [ ok ] >>> Configuring source in /dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Working in BUILD_DIR: "/dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src-abi_x86_64.amd64" cmake -C /dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/dev/shm/julius/gentoo/usr -DCMAKE_INSTALL_PREFIX=/dev/shm/julius/gentoo/usr/lib/llvm/9 -DCMAKE_INSTALL_MANDIR=/dev/shm/julius/gentoo/usr/lib/llvm/9/share/man -DCLANG_RESOURCE_DIR=../../../../lib/clang/9.0.0 -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD=BPF;X86;AMDGPU;NVPTX -DLLVM_BUILD_TESTS=no -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=yes -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp -DCLANG_DEFAULT_CXX_STDLIB= -DCLANG_DEFAULT_RTLIB= -DCLANG_ENABLE_ARCMT=yes -DCLANG_ENABLE_STATIC_ANALYZER=yes -DCLANG_INCLUDE_DOCS=no -DCLANG_TOOLS_EXTRA_INCLUDE_DOCS=no -DGCC_INSTALL_PREFIX=/dev/shm/julius/gentoo/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src-abi_x86_64.amd64/gentoo_toolchain.cmake /dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src loading initial cache file /dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src-abi_x86_64.amd64/gentoo_common_config.cmake CMake Warning (dev) at gentoo_common_config.cmake:8 (SET): implicitly converting 'BOOLEAN' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /dev/shm/julius/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /dev/shm/julius/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /dev/shm/julius/gentoo/usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /dev/shm/julius/gentoo/usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /usr/share/llvm-3.8/cmake/LLVMConfig.cmake:178 (include): include could not find load file: /usr/share/llvm/cmake/LLVMExports.cmake Call Stack (most recent call first): CMakeLists.txt:66 (find_package) CMake Error at /usr/share/llvm-3.8/cmake/LLVMConfig.cmake:181 (include): include could not find load file: /usr/share/llvm/cmake/LLVM-Config.cmake Call Stack (most recent call first): CMakeLists.txt:66 (find_package) -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_CXX11 -- Performing Test CXX_SUPPORTS_CXX11 - Success -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success CMake Warning (dev) at /usr/share/llvm-3.8/cmake/HandleLLVMOptions.cmake:624 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'LLVM_ENABLE_EH'. Call Stack (most recent call first): CMakeLists.txt:115 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/share/llvm-3.8/cmake/HandleLLVMOptions.cmake:625 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'LLVM_ENABLE_RTTI'. Call Stack (most recent call first): CMakeLists.txt:115 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at CMakeLists.txt:116 (include): include could not find load file: VersionFromVCS CMake Error at CMakeLists.txt:124 (include_directories): include_directories given empty-string as include directory. -- Found PythonInterp: /dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/temp/python3.7/bin/python (found version "3.7.4") -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 3.8.0 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed CMake Error at CMakeLists.txt:439 (add_llvm_install_targets): Unknown CMake command "add_llvm_install_targets". -- Configuring incomplete, errors occurred! See also "/dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log". See also "/dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src-abi_x86_64.amd64/CMakeFiles/CMakeError.log". * ERROR: sys-devel/clang-9.0.0::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 3750: Called multilib-minimal_src_configure * environment, line 2137: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2364: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2067: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2065: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 623: Called multilib-minimal_abi_src_configure * environment, line 2131: Called multilib_src_configure * environment, line 2610: Called cmake-utils_src_configure * environment, line 1091: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=sys-devel/clang-9.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/clang-9.0.0::gentoo'`. * The complete build log is located at '/dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/temp/build.log'. * The ebuild environment file is located at '/dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/temp/environment'. * Working directory: '/dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src-abi_x86_64.amd64' * S: '/dev/shm/julius/gentoo/var/tmp/portage/sys-devel/clang-9.0.0/work/x/y/cfe-9.0.0.src'