******************************************************************************** conan install hdf5/1.8.21@#77a8499fabe15b6676f100254ea99579 --build=hdf5 -pr /home/conan/w/prod/BuildSingleReference/148786/5f8a1a37-196d-472b-8262-d5bed185e938/profile_linux_5_libstdcpp_gcc_debug_64.hdf5-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=Debug compiler=gcc compiler.libcxx=libstdc++ compiler.version=5 os=Linux [options] hdf5:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True 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 hdf5/1.8.21: Forced build from source Installing package: hdf5/1.8.21 Requirements hdf5/1.8.21 from local cache - Cache zlib/1.2.13 from 'conan-center' - Downloaded Packages hdf5/1.8.21:c61a75fde112e2b494526fc1475faa92eec825fa - Build zlib/1.2.13:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Download Installing (downloading, building) binaries... zlib/1.2.13: Retrieving package b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 zlib/1.2.13: Downloaded package revision 160156cd99733b4b2996f650306592a8 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK hdf5/1.8.21: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/source/src hdf5/1.8.21: [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 hdf5/1.8.21: Copying sources to build folder hdf5/1.8.21: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa hdf5/1.8.21: Generator txt created conanbuildinfo.txt hdf5/1.8.21: Calling generate() hdf5/1.8.21: Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' hdf5/1.8.21: 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/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0077=NEW -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' hdf5/1.8.21: 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 hdf5/1.8.21: Calling build() hdf5/1.8.21: Apply patch (conan): Fixup target_link_libraries() targets for szip and zlib hdf5/1.8.21: Apply patch (conan): mingw cmake size type checks hdf5/1.8.21: Apply patch (conan): mingw fix prefix lib hdf5/1.8.21: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/package/c61a75fde112e2b494526fc1475faa92eec825fa" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/package/c61a75fde112e2b494526fc1475faa92eec825fa" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/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 - failed -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ - broken -- Configuring incomplete, errors occurred! See also "/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/Debug/CMakeFiles/CMakeOutput.log". See also "/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/Debug/CMakeFiles/CMakeError.log". hdf5/1.8.21: CMake Error at /usr/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/g++" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/Debug/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_1274d/fast && /usr/bin/make -f CMakeFiles/cmTC_1274d.dir/build.make CMakeFiles/cmTC_1274d.dir/build make[1]: Entering directory '/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/Debug/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_1274d.dir/testCXXCompiler.cxx.o /usr/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=0 -stdlib=libstdc++ -fPIE -o CMakeFiles/cmTC_1274d.dir/testCXXCompiler.cxx.o -c /home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/Debug/CMakeFiles/CMakeTmp/testCXXCompiler.cxx g++: error: unrecognized command line option ‘-stdlib=libstdc++’ CMakeFiles/cmTC_1274d.dir/build.make:84: recipe for target 'CMakeFiles/cmTC_1274d.dir/testCXXCompiler.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_1274d.dir/testCXXCompiler.cxx.o] Error 1 make[1]: Leaving directory '/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/Debug/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_1274d/fast' failed make: *** [cmTC_1274d/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (PROJECT) hdf5/1.8.21: 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 hdf5/1.8.21: 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 hdf5/1.8.21: ERROR: Package 'c61a75fde112e2b494526fc1475faa92eec825fa' build failed hdf5/1.8.21: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/Debug ERROR: hdf5/1.8.21: Error in build() method, line 183 cmake.configure() ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/package/c61a75fde112e2b494526fc1475faa92eec825fa" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/hdf5/1.8.21/_/_/build/c61a75fde112e2b494526fc1475faa92eec825fa/src"