******************************************************************************** conan test cci-58d47c7b/recipes/dr_libs/all/test_package/conanfile.py dr_libs/cci.20230529@#40bdffffa7f1f92ce42e1496455d413c -pr /home/conan/w/prod/BuildSingleReference/248235/5f04ff95-6056-4a9b-b88e-2fd942187361/profile_linux_5_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True dr_libs/cci.20230529 (test package): Installing package Requirements dr_libs/cci.20230529 from local cache - Cache Packages dr_libs/cci.20230529:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... dr_libs/cci.20230529: Already installed! dr_libs/cci.20230529 (test package): Generator 'CMakeDeps' calling 'generate()' dr_libs/cci.20230529 (test package): Generator txt created conanbuildinfo.txt dr_libs/cci.20230529 (test package): Generator 'CMakeToolchain' calling 'generate()' dr_libs/cci.20230529 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' dr_libs/cci.20230529 (test package): 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/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' dr_libs/cci.20230529 (test package): Generator 'VirtualRunEnv' calling 'generate()' dr_libs/cci.20230529 (test package): Aggregating env generators dr_libs/cci.20230529 (test package): Generated conaninfo.txt dr_libs/cci.20230529 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release/generators/conan.lock' Using cached profile from lockfile [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 dr_libs/cci.20230529 (test package): Calling build() dr_libs/cci.20230529 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 5.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 -- Conan: Target declared 'dr_libs::dr_libs' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release dr_libs/cci.20230529 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_DrLibs [ 50%] Building CXX object CMakeFiles/test_DrLibs.dir/test_package.cpp.o CMakeFiles/test_DrLibs.dir/build.make:81: recipe for target 'CMakeFiles/test_DrLibs.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_DrLibs.dir/all' failed Makefile:102: recipe for target 'all' failed CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 In file included from /usr/include/c++/5/random:35:0, from /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/test_package.cpp:5: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/test_package.cpp:15:30: error: ‘numeric_limits’ is not a member of ‘std’ buffer[i] = rand() % std::numeric_limits::max(); ^ /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/test_package.cpp:15:61: error: expected primary-expression before ‘>’ token buffer[i] = rand() % std::numeric_limits::max(); ^ /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/test_package.cpp:15:62: error: ‘::max’ has not been declared buffer[i] = rand() % std::numeric_limits::max(); ^ /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/test_package.cpp:15:62: note: suggested alternative: In file included from /usr/include/c++/5/vector:60:0, from /home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/test_package.cpp:3: /usr/include/c++/5/bits/stl_algobase.h:265:5: note: ‘std::max’ max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ make[2]: *** [CMakeFiles/test_DrLibs.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_DrLibs.dir/all] Error 2 make: *** [all] Error 2 dr_libs/cci.20230529 (test package): 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 dr_libs/cci.20230529 (test package): 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 ERROR: dr_libs/cci.20230529 (test package): Error in build() method, line 23 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/cci-58d47c7b/recipes/dr_libs/all/test_package/build/Release" '--' '-j3'