******************************************************************************** conan install netcdf/4.8.1@#796899dce6bb4a91a6987b60eb222188 --build=netcdf -pr /home/conan/workspace/prod-v1/bsr/40376/edefb/profile_linux_5_libstdcpp11_gcc_release_64.netcdf-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/workspace/prod-v1/bsr/40376/fdfac/.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/workspace/prod-v1/bsr/40376/fdfac/.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/workspace/prod-v1/bsr/40376/fdfac/.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=5 os=Linux [options] netcdf:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True hdf5/1.14.1: Not found in local cache, looking in remotes... hdf5/1.14.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz hdf5/1.14.1: Downloaded recipe revision 543dcbc7ce44b457fcee7cfed078d6a0 zlib/1.3.1: Not found in local cache, looking in remotes... zlib/1.3.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.3.1: Downloaded recipe revision f52e03ae3d251dec704634230cd806a2 libcurl/8.6.0: Not found in local cache, looking in remotes... libcurl/8.6.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libcurl/8.6.0: Downloaded recipe revision 752cd9c3df0e9487b72301862f15a965 openssl/3.2.1: Not found in local cache, looking in remotes... openssl/3.2.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/3.2.1: Downloaded recipe revision c7b554068caae5eda12b735ea6f23d70 netcdf/4.8.1: Forced build from source Version ranges solved libcurl/* versions found in 'conan-center' remote Version range '>=7.78.0 <9' required by 'netcdf/4.8.1' resolved to 'libcurl/8.6.0' in remote 'conan-center' zlib/* versions found in 'conan-center' remote Version range '>=1.2.11 <2' required by 'hdf5/1.14.1' resolved to 'zlib/1.3.1' in remote 'conan-center' openssl/* versions found in 'conan-center' remote Version range '>=1.1 <4' required by 'libcurl/8.6.0' resolved to 'openssl/3.2.1' in remote 'conan-center' Version range '>=1.2.11 <2' required by 'libcurl/8.6.0' resolved to 'zlib/1.3.1' in local cache Version range '>=1.2.11 <2' required by 'openssl/3.2.1' valid for downstream requirement 'zlib/1.3.1' Installing package: netcdf/4.8.1 Requirements hdf5/1.14.1 from 'conan-center' - Downloaded libcurl/8.6.0 from 'conan-center' - Downloaded netcdf/4.8.1 from local cache - Cache openssl/3.2.1 from 'conan-center' - Downloaded zlib/1.3.1 from 'conan-center' - Downloaded Packages hdf5/1.14.1:0f14996b825ab6f9682bed28673dab7dea743130 - Download libcurl/8.6.0:2ca11c377d191f7f426e3f7654bf2bb91abc44b4 - Download netcdf/4.8.1:b1e7e0fabfc7af1617faf3e6376f4dfab8fd5c59 - Build openssl/3.2.1:288ceea1eccdb5f24f7075ead24b83b854b1d943 - Download zlib/1.3.1:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download Installing (downloading, building) binaries... zlib/1.3.1: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.3.1: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 zlib/1.3.1: Downloaded package revision 873345f22bd3bfc44cb099ade6ee5b8c hdf5/1.14.1: Retrieving package 0f14996b825ab6f9682bed28673dab7dea743130 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz hdf5/1.14.1: Package installed 0f14996b825ab6f9682bed28673dab7dea743130 hdf5/1.14.1: Downloaded package revision a246de795995b7159373d6247f94cc52 openssl/3.2.1: Retrieving package 288ceea1eccdb5f24f7075ead24b83b854b1d943 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/3.2.1: Package installed 288ceea1eccdb5f24f7075ead24b83b854b1d943 openssl/3.2.1: Downloaded package revision 833d6146b655927ac7f8214498a24ab3 libcurl/8.6.0: Retrieving package 2ca11c377d191f7f426e3f7654bf2bb91abc44b4 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libcurl/8.6.0: Package installed 2ca11c377d191f7f426e3f7654bf2bb91abc44b4 libcurl/8.6.0: Downloaded package revision 5fe816f8a6ca55e623ea6f16bc258275 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK netcdf/4.8.1: Configuring sources in /home/conan/workspace/prod-v1/bsr/40376/fdfac/.conan/data/netcdf/4.8.1/_/_/source/src netcdf/4.8.1: netcdf/4.8.1: Apply patch (conan): fixes for cmake target_link_libraries and using deps netcdf/4.8.1: Apply patch (conan): fixes 'Unable to find the math library' when cross compiling netcdf/4.8.1: /home/conan/workspace/prod-v1/bsr/40376/fdfac/.conan/data/netcdf/4.8.1/_/_/source/patches/4.8.1-0002-fix-cross-compile.patch: source file is different - b'CMakeLists.txt' WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** WARN: openssl/3.2.1: requirement zlib/[>=1.2.11 <2] overridden by libcurl/8.6.0 to zlib/1.3.1 netcdf/4.8.1: WARN: /home/conan/workspace/prod-v1/bsr/40376/fdfac/.conan/data/netcdf/4.8.1/_/_/source/patches/4.8.1-0002-fix-cross-compile.patch: file 1/1: b'CMakeLists.txt' netcdf/4.8.1: WARN: /home/conan/workspace/prod-v1/bsr/40376/fdfac/.conan/data/netcdf/4.8.1/_/_/source/patches/4.8.1-0002-fix-cross-compile.patch: hunk no.1 doesn't match source file at line 940 netcdf/4.8.1: WARN: /home/conan/workspace/prod-v1/bsr/40376/fdfac/.conan/data/netcdf/4.8.1/_/_/source/patches/4.8.1-0002-fix-cross-compile.patch: expected: b'' netcdf/4.8.1: WARN: /home/conan/workspace/prod-v1/bsr/40376/fdfac/.conan/data/netcdf/4.8.1/_/_/source/patches/4.8.1-0002-fix-cross-compile.patch: actual : b'IF(NOT WIN32)' ERROR: netcdf/4.8.1: Error in source() method, line 78 apply_conandata_patches(self) ConanException: Failed to apply patch: /home/conan/workspace/prod-v1/bsr/40376/fdfac/.conan/data/netcdf/4.8.1/_/_/source/patches/4.8.1-0002-fix-cross-compile.patch