******************************************************************************** conan install clickhouse-cpp/2.4.0@#24914066fee2771519bce3878c0526cf --build=clickhouse-cpp -pr /home/conan/w/prod/BuildSingleReference/225225/8d2518b0-ebb1-47e2-82a9-6b041dd7db78/profile_linux_5_libstdcpp11_gcc_release_64.clickhouse-cpp-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 5.4 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=5 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] clickhouse-cpp:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True lz4/1.9.3: Not found in local cache, looking in remotes... lz4/1.9.3: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz lz4/1.9.3: Downloaded recipe revision 4ba5799844f823db71a09d46baa361d1 abseil/20211102.0: Not found in local cache, looking in remotes... abseil/20211102.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz abseil/20211102.0: Downloaded recipe revision 454aa0c29182780f8f90675bb1fc9291 cityhash/cci.20130801: Not found in local cache, looking in remotes... cityhash/cci.20130801: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz cityhash/cci.20130801: Downloaded recipe revision 60d7fcb16cbac5004d688486161ba05d clickhouse-cpp/2.4.0: Forced build from source Installing package: clickhouse-cpp/2.4.0 Requirements abseil/20211102.0 from 'conan-center' - Downloaded cityhash/cci.20130801 from 'conan-center' - Downloaded clickhouse-cpp/2.4.0 from local cache - Cache lz4/1.9.3 from 'conan-center' - Downloaded Packages abseil/20211102.0:4d887c1c2779c63d2cdd81580698d2e22cb35b29 - Download cityhash/cci.20130801:4d887c1c2779c63d2cdd81580698d2e22cb35b29 - Download clickhouse-cpp/2.4.0:d9ec46d34bfb4b2f009935d42aa0c6be00bce782 - Build lz4/1.9.3:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download Installing (downloading, building) binaries... abseil/20211102.0: Retrieving package 4d887c1c2779c63d2cdd81580698d2e22cb35b29 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz abseil/20211102.0: Package installed 4d887c1c2779c63d2cdd81580698d2e22cb35b29 abseil/20211102.0: Downloaded package revision 5ac546c5ef49687a2c8a3c5a5e197cef cityhash/cci.20130801: Retrieving package 4d887c1c2779c63d2cdd81580698d2e22cb35b29 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cityhash/cci.20130801: Package installed 4d887c1c2779c63d2cdd81580698d2e22cb35b29 cityhash/cci.20130801: Downloaded package revision 8a1889393daddb34c23e65aeca709cf4 lz4/1.9.3: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz lz4/1.9.3: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 lz4/1.9.3: Downloaded package revision f585fcd20c42afa045a47c2f9f2647e3 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK clickhouse-cpp/2.4.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/source/src clickhouse-cpp/2.4.0: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK clickhouse-cpp/2.4.0: Copying sources to build folder clickhouse-cpp/2.4.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782 clickhouse-cpp/2.4.0: Generator txt created conanbuildinfo.txt clickhouse-cpp/2.4.0: Calling generate() clickhouse-cpp/2.4.0: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' clickhouse-cpp/2.4.0: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' clickhouse-cpp/2.4.0: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK clickhouse-cpp/2.4.0: Calling build() clickhouse-cpp/2.4.0: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/package/d9ec46d34bfb4b2f009935d42aa0c6be00bce782" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/package/d9ec46d34bfb4b2f009935d42aa0c6be00bce782" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release clickhouse-cpp/2.4.0: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release" '--' '-j3' ----------------- Scanning dependencies of target cityhash Scanning dependencies of target absl_int128 Scanning dependencies of target lz4 [ 2%] Building CXX object contrib/cityhash/cityhash/CMakeFiles/cityhash.dir/city.cc.o [ 5%] Building C object contrib/lz4/lz4/CMakeFiles/lz4.dir/lz4.c.o [ 8%] Building CXX object contrib/absl/absl/CMakeFiles/absl_int128.dir/numeric/int128.cc.o [ 11%] Linking CXX static library libabsl_int128.a [ 11%] Built target absl_int128 [ 13%] Building C object contrib/lz4/lz4/CMakeFiles/lz4.dir/lz4hc.c.o [ 16%] Linking CXX static library libcityhash.a [ 16%] Built target cityhash [ 19%] Linking C static library liblz4.a [ 19%] Built target lz4 Scanning dependencies of target clickhouse-cpp-lib [ 22%] Building CXX object clickhouse/CMakeFiles/clickhouse-cpp-lib.dir/base/compressed.cpp.o [ 25%] Building CXX object clickhouse/CMakeFiles/clickhouse-cpp-lib.dir/base/input.cpp.o [ 27%] Building CXX object clickhouse/CMakeFiles/clickhouse-cpp-lib.dir/base/output.cpp.o clickhouse/CMakeFiles/clickhouse-cpp-lib.dir/build.make:81: recipe for target 'clickhouse/CMakeFiles/clickhouse-cpp-lib.dir/base/compressed.cpp.o' failed CMakeFiles/Makefile2:258: recipe for target 'clickhouse/CMakeFiles/clickhouse-cpp-lib.dir/all' failed Makefile:148: recipe for target 'all' failed clickhouse-cpp/2.4.0: In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/compressed.cpp:2:0: /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h:24:56: error: ‘std::string_view’ has not been declared static void WriteString(OutputStream& output, std::string_view value); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h: In static member function ‘static bool clickhouse::WireFormat::ReadString(clickhouse::InputStream&, std::__cxx11::string*)’: /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h:45:42: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive] return ReadAll(input, value->data(), (size_t)len); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h:29:17: note: initializing argument 2 of ‘static bool clickhouse::WireFormat::ReadAll(clickhouse::InputStream&, void*, size_t)’ static bool ReadAll(InputStream& input, void* buf, size_t len); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h: At global scope: /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h:68:64: error: ‘std::string_view’ has not been declared inline void WireFormat::WriteString(OutputStream& output, std::string_view value) { ^ /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h: In static member function ‘static void clickhouse::WireFormat::WriteString(clickhouse::OutputStream&, int)’: /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h:69:33: error: request for member ‘size’ in ‘value’, which is of non-class type ‘int’ WriteVarint64(output, value.size()); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h:70:28: error: request for member ‘data’ in ‘value’, which is of non-class type ‘int’ WriteAll(output, value.data(), value.size()); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/src/clickhouse/base/wire_format.h:70:42: error: request for member ‘size’ in ‘value’, which is of non-class type ‘int’ WriteAll(output, value.data(), value.size()); ^ make[2]: *** [clickhouse/CMakeFiles/clickhouse-cpp-lib.dir/base/compressed.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [clickhouse/CMakeFiles/clickhouse-cpp-lib.dir/all] Error 2 make: *** [all] Error 2 clickhouse-cpp/2.4.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior clickhouse-cpp/2.4.0: ERROR: Package 'd9ec46d34bfb4b2f009935d42aa0c6be00bce782' build failed clickhouse-cpp/2.4.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release ERROR: clickhouse-cpp/2.4.0: Error in build() method, line 82 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/clickhouse-cpp/2.4.0/_/_/build/d9ec46d34bfb4b2f009935d42aa0c6be00bce782/build/Release" '--' '-j3'