******************************************************************************** conan install octo-encryption-cpp/1.1.0@#4534098a336821b9c517c4e6302a76c2 --build=octo-encryption-cpp -pr /home/conan/w/prod/BuildSingleReference/74114/fea0cdae-2b97-45c2-8ac3-c6964663eccd/profile_linux_11_libstdcpp11_gcc_release_64..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) Found gcc 11.1 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=11 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=11 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True openssl/1.1.1q: Not found in local cache, looking in remotes... openssl/1.1.1q: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1q: Downloaded recipe revision 5f25b2ff5bed8a6bec73b90fe963d93c octo-encryption-cpp/1.1.0: Forced build from source cmake/3.16.9: Not found in local cache, looking in remotes... cmake/3.16.9: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz cmake/3.16.9: Downloaded recipe revision f473318fa608863a0f16eaf84b647968 Installing package: octo-encryption-cpp/1.1.0 Requirements octo-encryption-cpp/1.1.0 from local cache - Cache openssl/1.1.1q from 'conan-center' - Downloaded Packages octo-encryption-cpp/1.1.0:d3dd1274658b89e7dec9a70be91c58ef417f8778 - Build openssl/1.1.1q:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Download Build requirements cmake/3.16.9 from 'conan-center' - Downloaded Build requirements packages cmake/3.16.9:5c09c752508b674ca5cb1f2d327b5a2d582866c8 - Download Installing (downloading, building) binaries... openssl/1.1.1q: Retrieving package dfbe50feef7f3c6223a476cd5aeadb687084a646 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1q: Package installed dfbe50feef7f3c6223a476cd5aeadb687084a646 openssl/1.1.1q: Downloaded package revision e6552185856c26866648b13a2fc0f03d cmake/3.16.9: Retrieving package 5c09c752508b674ca5cb1f2d327b5a2d582866c8 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cmake/3.16.9: Package installed 5c09c752508b674ca5cb1f2d327b5a2d582866c8 cmake/3.16.9: Downloaded package revision 50884b74ed625692b7ceca2995f08a6a cmake/3.16.9: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/cmake/3.16.9/_/_/package/5c09c752508b674ca5cb1f2d327b5a2d582866c8/bin octo-encryption-cpp/1.1.0: Applying build-requirement: cmake/3.16.9 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK octo-encryption-cpp/1.1.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/source octo-encryption-cpp/1.1.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 octo-encryption-cpp/1.1.0: Copying sources to build folder octo-encryption-cpp/1.1.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778 octo-encryption-cpp/1.1.0: Generator cmake_find_package_multi created cmake-config-version.cmake octo-encryption-cpp/1.1.0: Generator cmake_find_package_multi created cmake-config.cmake octo-encryption-cpp/1.1.0: Generator cmake_find_package_multi created cmakeTargets.cmake octo-encryption-cpp/1.1.0: Generator cmake_find_package_multi created cmakeTarget-release.cmake octo-encryption-cpp/1.1.0: Generator cmake_find_package_multi created OpenSSLConfigVersion.cmake octo-encryption-cpp/1.1.0: Generator cmake_find_package_multi created OpenSSLTarget-release.cmake octo-encryption-cpp/1.1.0: Generator cmake_find_package_multi created OpenSSLTargets.cmake octo-encryption-cpp/1.1.0: Generator cmake_find_package_multi created OpenSSLConfig.cmake octo-encryption-cpp/1.1.0: Generator cmake created conanbuildinfo.cmake octo-encryption-cpp/1.1.0: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK octo-encryption-cpp/1.1.0: Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/build' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/package/d3dd1274658b89e7dec9a70be91c58ef417f8778" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev -DDISABLE_TESTS="ON" -DDISABLE_EXAMPLES="ON" '/home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/source' ----------------- -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Check for working C compiler: /usr/local/bin/cc -- Check for working C compiler: /usr/local/bin/cc -- 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/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library ssl found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/dfbe50feef7f3c6223a476cd5aeadb687084a646/lib/libssl.a -- Library crypto found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/dfbe50feef7f3c6223a476cd5aeadb687084a646/lib/libcrypto.a -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/build ----Running------ > cmake --build 'build' '--' '-j3' ----------------- Scanning dependencies of target octo-encryption-cpp [ 12%] Building CXX object CMakeFiles/octo-encryption-cpp.dir/src/base64.cpp.o [ 25%] Building CXX object CMakeFiles/octo-encryption-cpp.dir/src/secure-random.cpp.o [ 37%] Building CXX object CMakeFiles/octo-encryption-cpp.dir/src/digests/ssl/ssl-digest.cpp.o CMakeFiles/octo-encryption-cpp.dir/build.make:78: recipe for target 'CMakeFiles/octo-encryption-cpp.dir/src/secure-random.cpp.o' failed CMakeFiles/Makefile2:78: recipe for target 'CMakeFiles/octo-encryption-cpp.dir/all' failed Makefile:132: recipe for target 'all' failed octo-encryption-cpp/1.1.0: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR DISABLE_EXAMPLES In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/source/src/secure-random.cpp:12: /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/source/include/octo-encryption-cpp/secure-random.hpp:26:49: error: ‘size_t’ has not been declared 26 | static std::vector generate_random(size_t size); | ^~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/source/src/secure-random.cpp:18:22: error: no declaration matches ‘std::vector octo::encryption::SecureRandom::generate_random(size_t)’ 18 | std::vector SecureRandom::generate_random(size_t size) | ^~~~~~~~~~~~ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/source/src/secure-random.cpp:12: /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/source/include/octo-encryption-cpp/secure-random.hpp:26:33: note: candidate is: ‘static std::vector octo::encryption::SecureRandom::generate_random(int)’ 26 | static std::vector generate_random(size_t size); | ^~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778/source/include/octo-encryption-cpp/secure-random.hpp:20:7: note: ‘class octo::encryption::SecureRandom’ defined here 20 | class SecureRandom | ^~~~~~~~~~~~ make[2]: *** [CMakeFiles/octo-encryption-cpp.dir/src/secure-random.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/octo-encryption-cpp.dir/all] Error 2 make: *** [all] Error 2 octo-encryption-cpp/1.1.0: WARN: octo-encryption-cpp requires C++17. Your compiler is unknown. Assuming it supports C++17. octo-encryption-cpp/1.1.0: ERROR: Package 'd3dd1274658b89e7dec9a70be91c58ef417f8778' build failed octo-encryption-cpp/1.1.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/octo-encryption-cpp/1.1.0/_/_/build/d3dd1274658b89e7dec9a70be91c58ef417f8778 ERROR: octo-encryption-cpp/1.1.0: Error in build() method, line 66 cmake.build(build_dir=self._build_subfolder) ConanException: Error 2 while executing cmake --build 'build' '--' '-j3'