******************************************************************************** conan install cgns/3.4.1@#269f7b740b725b12e90639a8e04ee92c --build=cgns -pr /home/conan/w/prod/BuildSingleReference/63358/cf76df54-43fb-4c53-9698-a3bd2bd34fe5/profile_linux_9_libstdcpp11_gcc_release_64.cgns-shared-True.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 9 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=9 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=9 os=Linux [options] cgns:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True hdf5/1.13.1: Not found in local cache, looking in remotes... hdf5/1.13.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz hdf5/1.13.1: Downloaded recipe revision c25ea62db933036794a8c50b0ccc1be0 zlib/1.2.12: Not found in local cache, looking in remotes... zlib/1.2.12: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.12: Downloaded recipe revision 3b9e037ae1c615d045a06c67d88491ae cgns/3.4.1: Forced build from source Installing package: cgns/3.4.1 Requirements cgns/3.4.1 from local cache - Cache hdf5/1.13.1 from 'conan-center' - Downloaded zlib/1.2.12 from 'conan-center' - Downloaded Packages cgns/3.4.1:690b09ab87630d16e0bbf967fdfd8ec5682a105a - Build hdf5/1.13.1:bf3873021e77ec03be4c501cdfb423b5297bd5de - Download zlib/1.2.12:6af9cc7cb931c5ad942174fd7838eb655717c709 - Download Installing (downloading, building) binaries... zlib/1.2.12: Retrieving package 6af9cc7cb931c5ad942174fd7838eb655717c709 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.12: Package installed 6af9cc7cb931c5ad942174fd7838eb655717c709 zlib/1.2.12: Downloaded package revision fb80506d19f5ea08e1ee5570ee34eab5 hdf5/1.13.1: Retrieving package bf3873021e77ec03be4c501cdfb423b5297bd5de from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz hdf5/1.13.1: Package installed bf3873021e77ec03be4c501cdfb423b5297bd5de hdf5/1.13.1: Downloaded package revision 251d979e0262f8d2ee6c110c3e734d02 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cgns/3.4.1: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/source/. cgns/3.4.1: [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 cgns/3.4.1: Copying sources to build folder cgns/3.4.1: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a cgns/3.4.1: Generator 'CMakeDeps' calling 'generate()' cgns/3.4.1: Calling generate() cgns/3.4.1: 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 cgns/3.4.1: Calling build() cgns/3.4.1: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/package/690b09ab87630d16e0bbf967fdfd8ec5682a105a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/package/690b09ab87630d16e0bbf967fdfd8ec5682a105a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is GNU 9.2.1 -- 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 -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of long -- Check size of long - done -- Check size of off_t -- Check size of off_t - done -- Testing HDF5 Multi_Dataset - NOT FOUND -- Testing HDF5 Collective_metadata - NOT FOUND -- Performing Test CHECK_HAVE_STAT64_STRUCT -- Performing Test CHECK_HAVE_STAT64_STRUCT - Failed -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/cmake-build-release cgns/3.4.1: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/cmake-build-release" '--target' 'cgns_shared' '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/cmake-build-release" '--target' 'cgns_shared' '--' '-j3' ----------------- Scanning dependencies of target cgns_shared [ 12%] Building C object src/CMakeFiles/cgns_shared.dir/cgns_error.c.o [ 37%] Building C object src/CMakeFiles/cgns_shared.dir/cgns_internals.c.o [ 37%] Building C object src/CMakeFiles/cgns_shared.dir/cgns_io.c.o cgns/3.4.1: CMake Deprecation Warning at CMakeLists.txt:5 (cmake_policy): The OLD behavior for policy CMP0015 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Warning (dev) in CMakeLists.txt: A logical block opening on the line /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/CMakeLists.txt:199 (if) closes on the line /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/CMakeLists.txt:332 (endif) with mis-matching arguments. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/CMakeLists.txt:554 (add_library): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "cgns_shared" links to target "hdf5::hdf5" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it. /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/src/cgns_internals.c:38:10: fatal error: hdf5.h: No such file or directory 38 | #include "hdf5.h" | ^~~~~~~~ compilation terminated. make[3]: *** [src/CMakeFiles/cgns_shared.dir/build.make:95: src/CMakeFiles/cgns_shared.dir/cgns_internals.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/src/cgns_io.c: In function ‘cgio_check_file’: /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/src/cgns_io.c:604:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 604 | fread (buf, 1, sizeof(buf), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/Makefile2:169: src/CMakeFiles/cgns_shared.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:176: src/CMakeFiles/cgns_shared.dir/rule] Error 2 make: *** [Makefile:231: cgns_shared] Error 2 cgns/3.4.1: 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 cgns/3.4.1: 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 cgns/3.4.1: ERROR: Package '690b09ab87630d16e0bbf967fdfd8ec5682a105a' build failed cgns/3.4.1: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/cmake-build-release ERROR: cgns/3.4.1: Error in build() method, line 91 cmake.build(target="cgns_shared" if self.options.shared else "cgns_static") ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/cgns/3.4.1/_/_/build/690b09ab87630d16e0bbf967fdfd8ec5682a105a/cmake-build-release" '--target' 'cgns_shared' '--' '-j3'