******************************************************************************** conan install cpr/1.7.2@#a9bee6f810e3962f37ea5537420219de --build=cpr -pr /home/conan/w/prod/BuildSingleReference/164676/ebadce2e-8f8a-40f2-b4cc-7d28f42f215d/profile_linux_8_libstdcpp11_gcc_debug_64.cpr-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 8 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=8 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=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=8 os=Linux [options] cpr:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libcurl/7.87.0: Not found in local cache, looking in remotes... libcurl/7.87.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libcurl/7.87.0: Downloaded recipe revision 841610e1bc0c2b20462cc2056cabe95b openssl/1.1.1s: Not found in local cache, looking in remotes... openssl/1.1.1s: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1s: Downloaded recipe revision 478155e5386d6c71d7807d97a7446190 zlib/1.2.13: Not found in local cache, looking in remotes... zlib/1.2.13: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f cpr/1.7.2: Forced build from source Installing package: cpr/1.7.2 Requirements cpr/1.7.2 from local cache - Cache libcurl/7.87.0 from 'conan-center' - Downloaded openssl/1.1.1s from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded Packages cpr/1.7.2:ac85cc409bac4bd04d94293608ecef42e5d7c137 - Build libcurl/7.87.0:dbc594a6c4dd6f77cfd8dd8005585a25889418f1 - Download openssl/1.1.1s:761432f3453a17c960259b5b2605153e3bcffd7d - Download zlib/1.2.13:761432f3453a17c960259b5b2605153e3bcffd7d - Download Installing (downloading, building) binaries... openssl/1.1.1s: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1s: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d openssl/1.1.1s: Downloaded package revision 19da98de53d66ebeff1f2786e2ee29e9 zlib/1.2.13: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d zlib/1.2.13: Downloaded package revision 46ff29dbfae8487b4ab2dcd42b16bf4e libcurl/7.87.0: Retrieving package dbc594a6c4dd6f77cfd8dd8005585a25889418f1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libcurl/7.87.0: Package installed dbc594a6c4dd6f77cfd8dd8005585a25889418f1 libcurl/7.87.0: Downloaded package revision 914168be581930981e93179f6abb644d [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cpr/1.7.2: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/source/src cpr/1.7.2: [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 cpr/1.7.2: Copying sources to build folder cpr/1.7.2: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137 cpr/1.7.2: Generator txt created conanbuildinfo.txt cpr/1.7.2: Calling generate() cpr/1.7.2: Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' cpr/1.7.2: 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/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' cpr/1.7.2: 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 cpr/1.7.2: Calling build() cpr/1.7.2: Apply patch (conan): use cci package cpr/1.7.2: Apply patch (conan): fix install path for dll cpr/1.7.2: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/package/ac85cc409bac4bd04d94293608ecef42e5d7c137" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/package/ac85cc409bac4bd04d94293608ecef42e5d7c137" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The CXX compiler identification is GNU 8.4.0 -- 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 -- C++ Requests CMake Options -- ======================================================= -- CPR_GENERATE_COVERAGE: OFF -- CPR_CURL_NOSIGNAL: OFF -- CPR_USE_SYSTEM_GTEST: OFF -- CPR_FORCE_USE_SYSTEM_CURL: ON -- CPR_ENABLE_SSL: ON -- CPR_FORCE_OPENSSL_BACKEND: OFF -- CPR_FORCE_WINSSL_BACKEND: OFF -- CPR_FORCE_DARWINSSL_BACKEND: OFF -- CPR_ENABLE_LINTING: OFF -- CPR_ENABLE_CPPCHECK: OFF -- CPR_BUILD_TESTS: OFF -- CPR_BUILD_TESTS_SSL: OFF -- ======================================================= -- Performing Test THREAD_SANITIZER_AVAILABLE -- Performing Test THREAD_SANITIZER_AVAILABLE - Success -- Performing Test ADDRESS_SANITIZER_AVAILABLE -- Performing Test ADDRESS_SANITIZER_AVAILABLE - Success -- Performing Test LEAK_SANITIZER_AVAILABLE -- Performing Test LEAK_SANITIZER_AVAILABLE - Success -- Performing Test UNDEFINED_BEHAVIOUR_SANITIZER_AVAILABLE -- Performing Test UNDEFINED_BEHAVIOUR_SANITIZER_AVAILABLE - Success -- Performing Test ALL_SANITIZERS_AVAILABLE -- Performing Test ALL_SANITIZERS_AVAILABLE - Success -- Automatically detecting SSL backend. -- Detecting SSL backend... -- Conan: Component target declared 'OpenSSL::Crypto' -- Conan: Component target declared 'OpenSSL::SSL' -- Conan: Target declared 'openssl::openssl' -- Conan: Including build module from '/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1s/_/_/package/761432f3453a17c960259b5b2605153e3bcffd7d/lib/cmake/conan-official-openssl-variables.cmake' -- SSL auto detect: Using OpenSSL. -- Conan: Component target declared 'CURL::libcurl' -- Conan: Target declared 'ZLIB::ZLIB' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug cpr/1.7.2: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug" '--' '-j3' ----------------- Scanning dependencies of target cpr [ 10%] Building CXX object cpr/CMakeFiles/cpr.dir/bearer.cpp.o [ 10%] Building CXX object cpr/CMakeFiles/cpr.dir/auth.cpp.o [ 15%] Building CXX object cpr/CMakeFiles/cpr.dir/cookies.cpp.o [ 21%] Building CXX object cpr/CMakeFiles/cpr.dir/cprtypes.cpp.o [ 26%] Building CXX object cpr/CMakeFiles/cpr.dir/curl_container.cpp.o [ 31%] Building CXX object cpr/CMakeFiles/cpr.dir/curlholder.cpp.o [ 36%] Building CXX object cpr/CMakeFiles/cpr.dir/error.cpp.o cpr/CMakeFiles/cpr.dir/build.make:146: recipe for target 'cpr/CMakeFiles/cpr.dir/curlholder.cpp.o' failed CMakeFiles/Makefile2:133: recipe for target 'cpr/CMakeFiles/cpr.dir/all' failed Makefile:148: recipe for target 'all' failed cpr/1.7.2: CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src/cpr/curlholder.cpp: In destructor ‘cpr::CurlHolder::~CurlHolder()’: /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src/cpr/curlholder.cpp:26:27: error: ‘void curl_formfree(curl_httppost*)’ is deprecated: since 7.56.0. Use curl_mime_free() [-Werror=deprecated-declarations] curl_formfree(formpost); ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src/include/cpr/curlholder.h:8, from /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src/cpr/curlholder.cpp:1: /home/conan/w/prod/BuildSingleReference/.conan/data/libcurl/7.87.0/_/_/package/dbc594a6c4dd6f77cfd8dd8005585a25889418f1/include/curl/curl.h:2606:1: note: declared here curl_formfree(struct curl_httppost *form); ^~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src/cpr/curlholder.cpp:26:27: error: ‘void curl_formfree(curl_httppost*)’ is deprecated: since 7.56.0. Use curl_mime_free() [-Werror=deprecated-declarations] curl_formfree(formpost); ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src/include/cpr/curlholder.h:8, from /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/src/cpr/curlholder.cpp:1: /home/conan/w/prod/BuildSingleReference/.conan/data/libcurl/7.87.0/_/_/package/dbc594a6c4dd6f77cfd8dd8005585a25889418f1/include/curl/curl.h:2606:1: note: declared here curl_formfree(struct curl_httppost *form); ^~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[2]: *** [cpr/CMakeFiles/cpr.dir/curlholder.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [cpr/CMakeFiles/cpr.dir/all] Error 2 make: *** [all] Error 2 cpr/1.7.2: 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 cpr/1.7.2: 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 cpr/1.7.2: ERROR: Package 'ac85cc409bac4bd04d94293608ecef42e5d7c137' build failed cpr/1.7.2: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug ERROR: cpr/1.7.2: Error in build() method, line 229 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/cpr/1.7.2/_/_/build/ac85cc409bac4bd04d94293608ecef42e5d7c137/build/Debug" '--' '-j3'