******************************************************************************** conan install netcdf/4.8.1@#796899dce6bb4a91a6987b60eb222188 --build=netcdf -pr /home/conan/workspace/prod-v1/bsr/40376/dabac/profile_linux_9_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/bdeeb/.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/workspace/prod-v1/bsr/40376/bdeeb/.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/workspace/prod-v1/bsr/40376/bdeeb/.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] 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:bf3873021e77ec03be4c501cdfb423b5297bd5de - Download libcurl/8.6.0:79e4453c31472bfa2b9abed8a11038ea5426b569 - Download netcdf/4.8.1:0c927ec3e90f2f84bceca70a01d08e79fad3185c - Build openssl/3.2.1:3b92fb92d86b5880d7fcd3124cd3e37e04f7e25f - Download zlib/1.3.1:6af9cc7cb931c5ad942174fd7838eb655717c709 - Download Installing (downloading, building) binaries... zlib/1.3.1: Retrieving package 6af9cc7cb931c5ad942174fd7838eb655717c709 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.3.1: Package installed 6af9cc7cb931c5ad942174fd7838eb655717c709 zlib/1.3.1: Downloaded package revision 272bdcb545ca833137ccf5573efe380f hdf5/1.14.1: Retrieving package bf3873021e77ec03be4c501cdfb423b5297bd5de from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz hdf5/1.14.1: Package installed bf3873021e77ec03be4c501cdfb423b5297bd5de hdf5/1.14.1: Downloaded package revision ff5a028d6df5a80f397fd6f015d73e24 openssl/3.2.1: Retrieving package 3b92fb92d86b5880d7fcd3124cd3e37e04f7e25f from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/3.2.1: Package installed 3b92fb92d86b5880d7fcd3124cd3e37e04f7e25f openssl/3.2.1: Downloaded package revision fb225b1a5cae7bae28dc232a6a3f9751 libcurl/8.6.0: Retrieving package 79e4453c31472bfa2b9abed8a11038ea5426b569 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libcurl/8.6.0: Package installed 79e4453c31472bfa2b9abed8a11038ea5426b569 libcurl/8.6.0: Downloaded package revision 1f37239586efdc785a890d9aa4b8dd6a [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/bdeeb/.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/bdeeb/.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/bdeeb/.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/bdeeb/.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/bdeeb/.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/bdeeb/.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/bdeeb/.conan/data/netcdf/4.8.1/_/_/source/patches/4.8.1-0002-fix-cross-compile.patch