* Package: dev-db/clickhouse-18.12.17 * Repository: gentoo * Maintainer: civil@gentoo.org * USE: abi_x86_64 amd64 client cpu_flags_x86_sse4_2 elibc_glibc kernel_linux mongodb server userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking clickhouse-18.12.17.tar.gz to /var/tmp/portage/dev-db/clickhouse-18.12.17/work >>> Unpacking cctz-4f9776a.tar.gz to /var/tmp/portage/dev-db/clickhouse-18.12.17/work >>> Source unpacked in /var/tmp/portage/dev-db/clickhouse-18.12.17/work >>> Preparing source in /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-db/clickhouse-18.12.17/work/clickhouse-18.12.17_build" cmake -C /var/tmp/portage/dev-db/clickhouse-18.12.17/work/clickhouse-18.12.17_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_POCO_MONGODB=yes -DENABLE_RDKAFKA=no -DENABLE_TESTS=no -DUSE_STATIC_LIBRARIES=no -DMAKE_STATIC_LIBRARIES=no -DUSE_MYSQL=no -DENABLE_CLICKHOUSE_SERVER=yes -DENABLE_CLICKHOUSE_CLIENT=yes -DENABLE_CLICKHOUSE_LOCAL=no -DENABLE_CLICKHOUSE_BENCHMARK=no -DENABLE_CLICKHOUSE_PERFORMANCE=no -DENABLE_CLICKHOUSE_EXTRACT_FROM_CONFIG=no -DENABLE_CLICKHOUSE_COMPRESSOR=no -DENABLE_CLICKHOUSE_COPIER=no -DENABLE_ODBC=True -DENABLE_CLICKHOUSE_ODBC_BRIDGE=True -DENABLE_CLICKHOUSE_ALL=OFF -DUSE_INTERNAL_SSL_LIBRARY=False -DUSE_INTERNAL_CITYHASH_LIBRARY=ON -DUNBUNDLED=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-db/clickhouse-18.12.17/work/clickhouse-18.12.17_build/gentoo_toolchain.cmake /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable loading initial cache file /var/tmp/portage/dev-db/clickhouse-18.12.17/work/clickhouse-18.12.17_build/gentoo_common_config.cmake -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /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: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /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_BUILD_TYPE: Gentoo -- Performing Test HAVE_SSE41 -- Performing Test HAVE_SSE41 - Success -- Performing Test HAVE_SSE42 -- Performing Test HAVE_SSE42 - Success -- Performing Test HAVE_POPCNT -- Performing Test HAVE_POPCNT - Success -- Performing Test HAVE_NO_PIE -- Performing Test HAVE_NO_PIE - Success -- Building for: Linux-5.0.9 x86_64 ; USE_STATIC_LIBRARIES=no MAKE_STATIC_LIBRARIES=no UNBUNDLED=ON CCACHE=CCACHE_FOUND-NOTFOUND -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.0j") -- Using ssl=TRUE: /usr/include : /usr/lib64/libssl.so;/usr/lib64/libcrypto.so -- Using icu=1: /usr/include : /usr/lib/libicui18n.so;/usr/lib/libicuuc.so;/usr/lib/libicudata.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Boost version: 1.70.0 -- Found the following Boost libraries: -- program_options -- system -- filesystem -- thread -- chrono -- date_time -- atomic -- Using Boost: /usr/include : /usr/lib/libboost_program_options-mt.so,/usr/lib/libboost_system-mt.so,/usr/lib/libboost_filesystem-mt.so -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Using zlib: /usr/include : /usr/lib/libz.so -- Using zstd: /usr/include : /usr/lib/libzstd.so -- Using ltdl: /usr/lib/libltdl.so -- Using termcap: TERMCAP_LIBRARY-NOTFOUND -- Found ODBC: /usr/include -- Using odbc: /usr/include : /usr/lib/libodbc.so -- Looking for Poco install directory structure. -- Assuming Poco install directory structure at /usr. -- Found Poco Net: /usr/lib/libPocoNet.so -- Found Poco XML: /usr/lib/libPocoXML.so CMake Warning at cmake/Modules/FindPoco.cmake:151 (message): Poco_SQL_INCLUDE_DIR NOT FOUND Call Stack (most recent call first): cmake/find_poco.cmake:25 (find_package) CMakeLists.txt:246 (include) CMake Warning at cmake/Modules/FindPoco.cmake:198 (message): Could not find Poco component SQL! Call Stack (most recent call first): cmake/find_poco.cmake:25 (find_package) CMakeLists.txt:246 (include) -- Found Poco Data: /usr/lib/libPocoData.so -- Found Poco Crypto: /usr/lib/libPocoCrypto.so -- Found Poco NetSSL: /usr/lib/libPocoNetSSL.so -- Found Poco MongoDB: /usr/lib/libPocoMongoDB.so CMake Warning at cmake/Modules/FindPoco.cmake:151 (message): Poco_DataODBC_INCLUDE_DIR NOT FOUND Call Stack (most recent call first): cmake/find_poco.cmake:25 (find_package) CMakeLists.txt:246 (include) CMake Warning at cmake/Modules/FindPoco.cmake:198 (message): Could not find Poco component DataODBC! Call Stack (most recent call first): cmake/find_poco.cmake:25 (find_package) CMakeLists.txt:246 (include) CMake Warning at cmake/Modules/FindPoco.cmake:151 (message): Poco_SQLODBC_INCLUDE_DIR NOT FOUND Call Stack (most recent call first): cmake/find_poco.cmake:25 (find_package) CMakeLists.txt:246 (include) CMake Warning at cmake/Modules/FindPoco.cmake:198 (message): Could not find Poco component SQLODBC! Call Stack (most recent call first): cmake/find_poco.cmake:25 (find_package) CMakeLists.txt:246 (include) -- Found Poco Util: /usr/lib/libPocoUtil.so -- Found Poco Foundation: /usr/lib/libPocoFoundation.so -- Found Poco: optimized;/usr/lib/libPocoNet.so;optimized;/usr/lib/libPocoXML.so;optimized;/usr/lib/libPocoData.so;optimized;/usr/lib/libPocoCrypto.so;optimized;/usr/lib/libPocoNetSSL.so;optimized;/usr/lib/libPocoMongoDB.so;optimized;/usr/lib/libPocoUtil.so;optimized;/usr/lib/libPocoFoundation.so -- Using Poco: /usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include : /usr/lib/libPocoFoundation.so,/usr/lib/libPocoUtil.so,/usr/lib/libPocoNet.so,/usr/lib/libPocoNetSSL.so;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so,/usr/lib/libPocoCrypto.so,/usr/lib/libPocoXML.so,/usr/lib/libPocoData.so,Poco_DataODBC_LIBRARY-NOTFOUND,Poco_SQL_LIBRARY-NOTFOUND,Poco_SQLODBC_LIBRARY-NOTFOUND,/usr/lib/libPocoMongoDB.so; MongoDB=1, DataODBC=, NetSSL=1 -- Using lz4: /usr/include : /usr/lib/liblz4.so -- Using sparsehash: /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/contrib/libsparsehash -- Using rt: -- Not using any library for line editing. -- Using re2: /usr/include : /usr/lib/libre2.so; : /usr/lib/libre2.so -- Using librdkafka=: : -- Using capnp=1: /usr/include : /usr/lib/libcapnpc.so;/usr/lib/libcapnp.so;/usr/lib/libkj.so CMake Warning at cmake/find_llvm.cmake:18 (find_package): Could not find a configuration file for package "LLVM" that is compatible with requested version "6". The following configuration files were considered but not accepted: /usr/lib/llvm/8/lib64/cmake/llvm/LLVMConfig.cmake, version: 8.0.0 /usr/lib/llvm/7/lib64/cmake/llvm/LLVMConfig.cmake, version: 7.1.0 Call Stack (most recent call first): CMakeLists.txt:255 (include) CMake Warning at cmake/find_llvm.cmake:20 (find_package): Could not find a configuration file for package "LLVM" that is compatible with requested version "5". The following configuration files were considered but not accepted: /usr/lib/llvm/8/lib64/cmake/llvm/LLVMConfig.cmake, version: 8.0.0 /usr/lib/llvm/7/lib64/cmake/llvm/LLVMConfig.cmake, version: 7.1.0 Call Stack (most recent call first): CMakeLists.txt:255 (include) CMake Warning at cmake/find_llvm.cmake:23 (find_package): Could not find a configuration file for package "LLVM" that is compatible with requested version "7". The following configuration files were considered but not accepted: /usr/lib/llvm/8/lib64/cmake/llvm/LLVMConfig.cmake, version: 8.0.0 /usr/lib/llvm/7/lib64/cmake/llvm/LLVMConfig.cmake, version: 7.1.0 Call Stack (most recent call first): CMakeLists.txt:255 (include) -- Using cpuid: /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/contrib/libcpuid/include : cpuid -- Using consistent-hashing: CONSISTENT_HASHING_INCLUDE_DIR-NOTFOUND : consistent-hashing -- Using cityhash: /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/contrib/cityhash102/include : cityhash -- Could NOT find farmhash (missing: FARMHASH_LIBRARIES FARMHASH_INCLUDE_DIR) -- Using farmhash: FARMHASH_INCLUDE_DIR-NOTFOUND : farmhash -- Could NOT find metrohash (missing: METROHASH_LIBRARIES METROHASH_INCLUDE_DIR) -- Using metrohash: METROHASH_INCLUDE_DIR-NOTFOUND : metrohash -- Could NOT find btrie (missing: BTRIE_LIBRARIES BTRIE_INCLUDE_DIR) -- Using btrie: BTRIE_INCLUDE_DIR-NOTFOUND : btrie -- Found double_conversion: /usr/lib/libdouble-conversion.so -- Using double-conversion: /usr/include : /usr/lib/libdouble-conversion.so -- Could NOT find JeMalloc (missing: JEMALLOC_LIBRARIES JEMALLOC_INCLUDE_DIR) -- Using jemalloc=1: jemalloc -- Using cctz: /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/contrib/cctz/include : cctz -- Using mysqlclient=1: /usr/include : /usr/lib/libmysqlclient.so; staticlib= -- Performing Test HAVE_UNW_INIT_LOCAL2 -- Performing Test HAVE_UNW_INIT_LOCAL2 - Failed -- Using unwind=1: /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/contrib/libunwind/include : unwind -- compiler C = /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fdiagnostics-color=always -pipe -msse4.1 -msse4.2 -mpopcnt -fno-omit-frame-pointer -Wall -- compiler CXX = /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fdiagnostics-color=always -pipe -msse4.1 -msse4.2 -mpopcnt -fno-omit-frame-pointer -Wall -Wnon-virtual-dtor -- LINKER_FLAGS = -Wl,-O1 -Wl,--as-needed -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Link jemalloc: jemalloc -- Will build ClickHouse 18.12.17 -- Using internal=OFF compiler=0: headers=/usr/share/clickhouse/headers/18.12.17 : /usr/bin/clickhouse-clang -O2 -pipe -march=native -fdiagnostics-color=always -pipe -msse4.1 -msse4.2 -mpopcnt -fno-omit-frame-pointer -Wall -Wnon-virtual-dtor -Wextra -std=c++1z -x c++ -march=native -fPIC -fvisibility=hidden -fno-implement-inlines -nostdinc -nostdinc++ -Wno-unused-command-line-argument -Bprefix=/usr/share/clickhouse -isysroot=/usr/share/clickhouse/headers/18.12.17; clickhouse-lld -- Target check already exists -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native -fdiagnostics-color=always -pipe -msse4.1 -msse4.2 -mpopcnt -fno-omit-frame-pointer -Wall C++ -O2 -pipe -march=native -fdiagnostics-color=always -pipe -msse4.1 -msse4.2 -mpopcnt -fno-omit-frame-pointer -Wall -Wnon-virtual-dtor Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring done CMake Error at contrib/jemalloc-cmake/CMakeLists.txt:43 (add_library): Cannot find source file: /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/contrib/jemalloc/src/arena.c Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error at contrib/jemalloc-cmake/CMakeLists.txt:43 (add_library): No SOURCES given to target: jemalloc -- Build files have been written to: /var/tmp/portage/dev-db/clickhouse-18.12.17/work/clickhouse-18.12.17_build * ERROR: dev-db/clickhouse-18.12.17::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 3290: Called cmake-utils_src_configure * environment, line 986: 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-db/clickhouse-18.12.17::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/clickhouse-18.12.17::gentoo'`. * The complete build log is located at '/var/log/portage/dev-db:clickhouse-18.12.17:20190426-112619.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/clickhouse-18.12.17/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/clickhouse-18.12.17/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/clickhouse-18.12.17/work/clickhouse-18.12.17_build' * S: '/var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable'