* Package: dev-util/cmake-3.16.0 * Repository: gentoo * Maintainer: kde@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ncurses userland_GNU * FEATURES: distcc network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cmake-3.16.0.tar.gz to /var/tmp/portage/dev-util/cmake-3.16.0/work >>> Source unpacked in /var/tmp/portage/dev-util/cmake-3.16.0/work >>> Preparing source in /var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0 ... * Applying cmake-3.16.0_rc4-darwin-bundle.patch ... [ ok ] * Applying cmake-3.14.0_rc3-prefix-dirs.patch ... * /var/tmp/portage/dev-util/cmake-3.16.0/files/cmake-3.14.0_rc3-prefix-dirs.patch: patch failed to apply without a fuzz factor, please rebase patching file Modules/Platform/Darwin.cmake Hunk #1 succeeded at 109 with fuzz 2 (offset -7 lines). Hunk #2 succeeded at 133 (offset -7 lines). Hunk #3 succeeded at 181 (offset -7 lines). patching file Modules/Platform/UnixPaths.cmake [ ok ] * Applying cmake-3.15.0_rc2-FindBLAS.patch ... [ ok ] * Applying cmake-3.14.0_rc1-FindLAPACK.patch ... * /var/tmp/portage/dev-util/cmake-3.16.0/files/cmake-3.14.0_rc1-FindLAPACK.patch: patch failed to apply without a fuzz factor, please rebase patching file Modules/FindLAPACK.cmake Hunk #1 succeeded at 7 with fuzz 2. Hunk #2 succeeded at 189 (offset 4 lines). Hunk #3 succeeded at 459 (offset 12 lines). [ ok ] * Applying cmake-3.5.2-FindQt4.patch ... [ ok ] * Applying cmake-2.8.10.2-FindPythonLibs.patch ... * /var/tmp/portage/dev-util/cmake-3.16.0/files/cmake-2.8.10.2-FindPythonLibs.patch: patch failed to apply without a fuzz factor, please rebase patching file Modules/FindPythonLibs.cmake Hunk #1 succeeded at 117 with fuzz 2 (offset 43 lines). [ ok ] * Applying cmake-3.9.0_rc2-FindPythonInterp.patch ... [ ok ] * Hardcoded definition(s) removed in Tests/QtAutogen/UicInterface/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE ON) * Hardcoded definition(s) removed in Tests/RunCMake/CPack/CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "") * Hardcoded definition(s) removed in Tests/Java/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/OutDir/CMakeLists.txt: * set(CMAKE_BUILD_TYPE) * set(CMAKE_BUILD_TYPE Debug) * Hardcoded definition(s) removed in Tests/SubDirSpaces/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/SetLang/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/CMakeCommands/target_compile_features/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE ON) * Hardcoded definition(s) removed in Tests/JavaNativeHeaders/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/Assembler/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/FindPackageTest/CMakeLists.txt: * set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/NotDefaultPrefix") * Hardcoded definition(s) removed in Tests/Fortran/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/CPackComponents/CMakeLists.txt: * set(CMAKE_INSTALL_PREFIX "/opt/mylib") * Hardcoded definition(s) removed in Tests/JavaJavah/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/Qt4Deploy/CMakeLists.txt: * set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/install) * Hardcoded definition(s) removed in Tests/JavaExportImport/BuildExport/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/JavaExportImport/InstallExport/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/JavaExportImport/Import/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in Tests/CMakeOnly/SelectLibraryConfigurations/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Debug) * Hardcoded definition(s) removed in Tests/CMakeOnly/CheckCXXCompilerFlag/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE 1) * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/") >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0_build" cmake -C /var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=no -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DOC_DIR=/share/doc/cmake-3.16.0 -DCMAKE_MAN_DIR=/share/man -DCMAKE_DATA_DIR=/share/cmake -DSPHINX_MAN=no -DSPHINX_HTML=no -DBUILD_CursesDialog=yes -DBUILD_TESTING=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0 loading initial cache file /var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /usr/lib/distcc/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/lib/distcc/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: /usr/lib/distcc/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/lib/distcc/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 -- Checking if compiler supports C11 _Thread_local -- Checking if compiler supports C11 _Thread_local - yes -- Checking if compiler supports needed C++17 constructs -- Checking if compiler supports needed C++17 constructs - yes -- Checking if compiler supports C++ make_unique -- Checking if compiler supports C++ make_unique - no -- Checking if compiler supports C++ unique_ptr -- Checking if compiler supports C++ unique_ptr - no CMake Error at CMakeLists.txt:107 (message): The C++ compiler does not support C++11 (e.g. std::unique_ptr). -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0_build/CMakeFiles/CMakeError.log". * ERROR: dev-util/cmake-3.16.0::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2355: Called cmake-utils_src_configure * environment, line 966: 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 '=dev-util/cmake-3.16.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/cmake-3.16.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-util/cmake-3.16.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-3.16.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0_build' * S: '/var/tmp/portage/dev-util/cmake-3.16.0/work/cmake-3.16.0'
Building fine with FEATURES=distcc-pump.
Could you please attach build.log, and CMake files listed in output?
Created attachment 598632 [details] CMakeOutput.log
Created attachment 598634 [details] CMakeError.log
Here's your PEBKAC: distcc[142] (dcc_talk_to_include_server) Warning: INCLUDE_SERVER_PORT not set - did you forget to run under 'pump'? distcc[142] (dcc_build_somewhere) Warning: failed to get includes from include server, preprocessing locally You've got some half-pump setup there.
Note: It's possible that this is a false positive. I.e. failing with $ cat /etc/distcc/hosts distcc1.example.net/10,cpp,lzo but will pass with $ cat /etc/distcc/hosts distcc1.example.net/10 However, it's the only package I found which has problems when "cpp" is set but FEATURES=distcc-pump is not used.
'cpp' IS pump. You aren't supposed to set it if you don't use pump.