******************************************************************************** conan install swig/4.2.1@#026c6b22e8dc03f84208c4c22a031cea --build=swig -pr /home/conan/workspace/prod-v1/bsr/83824/daaad/profile_linux_5_libstdcpp11_gcc_release_64..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/83824/acbaa/.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/83824/acbaa/.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/83824/acbaa/.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] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True pcre2/10.43: Not found in local cache, looking in remotes... pcre2/10.43: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz pcre2/10.43: Downloaded recipe revision 0780a1a0085fff3e494b2c222c0b7a9a 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 bzip2/1.0.8: Not found in local cache, looking in remotes... bzip2/1.0.8: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bzip2/1.0.8: Downloaded recipe revision 457c272f7da34cb9c67456dd217d36c4 swig/4.2.1: Forced build from source bison/3.8.2: Not found in local cache, looking in remotes... bison/3.8.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bison/3.8.2: Downloaded recipe revision ed1ba0c42d2ab7ab64fc3a62e9ecc673 m4/1.4.19: Not found in local cache, looking in remotes... m4/1.4.19: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz m4/1.4.19: Downloaded recipe revision b38ced39a01e31fef5435bc634461fd2 automake/1.16.5: Not found in local cache, looking in remotes... automake/1.16.5: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz automake/1.16.5: Downloaded recipe revision 058bda3e21c36c9aa8425daf3c1faf50 autoconf/2.71: Not found in local cache, looking in remotes... autoconf/2.71: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz autoconf/2.71: Downloaded recipe revision f9307992909d7fb3df459340f1932809 Version ranges solved zlib/* versions found in 'conan-center' remote Version range '>=1.2.11 <2' required by 'pcre2/10.43' resolved to 'zlib/1.3.1' in remote 'conan-center' Installing package: swig/4.2.1 Requirements bzip2/1.0.8 from 'conan-center' - Downloaded pcre2/10.43 from 'conan-center' - Downloaded swig/4.2.1 from local cache - Cache zlib/1.3.1 from 'conan-center' - Downloaded Packages bzip2/1.0.8:3df6ebb8a308d309e882b21988fd9ea103560e16 - Download pcre2/10.43:22f723e483ab07422a0838a9eed8872afae2c3cb - Download swig/4.2.1:ecf410c29229a8b3b9035ba103160fd95bc8a1b6 - Build zlib/1.3.1:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download Build requirements autoconf/2.71 from 'conan-center' - Downloaded automake/1.16.5 from 'conan-center' - Downloaded bison/3.8.2 from 'conan-center' - Downloaded m4/1.4.19 from 'conan-center' - Downloaded Build requirements packages autoconf/2.71:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download automake/1.16.5:258f6f05ca54813b3d7180161753df7f9ccf7e1d - Download bison/3.8.2:d4e2c4fda75c443daaf5f26224d0044231fb93f3 - Download m4/1.4.19:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package 3df6ebb8a308d309e882b21988fd9ea103560e16 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 3df6ebb8a308d309e882b21988fd9ea103560e16 bzip2/1.0.8: Downloaded package revision 10169d89f9844c77686da142df9dd5c4 m4/1.4.19: Retrieving package 24647d9fe8ec489125dfbae4b3ebefaf7581674c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz m4/1.4.19: Package installed 24647d9fe8ec489125dfbae4b3ebefaf7581674c m4/1.4.19: Downloaded package revision abcf860fee06f500e8d32c64f09dfbed 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 autoconf/2.71: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz autoconf/2.71: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 autoconf/2.71: Downloaded package revision f6b84695e41b301fd7d2ad18cc5cd6a0 bison/3.8.2: Retrieving package d4e2c4fda75c443daaf5f26224d0044231fb93f3 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bison/3.8.2: Package installed d4e2c4fda75c443daaf5f26224d0044231fb93f3 bison/3.8.2: Downloaded package revision 8d46b306f8b184924a66b2d3f19d8de6 pcre2/10.43: Retrieving package 22f723e483ab07422a0838a9eed8872afae2c3cb from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre2/10.43: Package installed 22f723e483ab07422a0838a9eed8872afae2c3cb pcre2/10.43: Downloaded package revision 02e1c23fe5044267b7dd57d177dceed1 automake/1.16.5: Retrieving package 258f6f05ca54813b3d7180161753df7f9ccf7e1d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz automake/1.16.5: Package installed 258f6f05ca54813b3d7180161753df7f9ccf7e1d automake/1.16.5: Downloaded package revision ff067ceb593d397e144def65a564489a pcre2/10.43: Appending PATH environment variable: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/pcre2/10.43/_/_/package/22f723e483ab07422a0838a9eed8872afae2c3cb/bin swig/4.2.1: Applying build-requirement: bison/3.8.2 swig/4.2.1: Applying build-requirement: automake/1.16.5 swig/4.2.1: Applying build-requirement: autoconf/2.71 swig/4.2.1: Applying build-requirement: m4/1.4.19 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK swig/4.2.1: Configuring sources in /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/source/src swig/4.2.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 swig/4.2.1: Copying sources to build folder swig/4.2.1: Building your package in /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6 swig/4.2.1: Generator txt created conanbuildinfo.txt swig/4.2.1: Calling generate() swig/4.2.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 swig/4.2.1: Calling build() swig/4.2.1: Apply patch (portability): swig -swiglib should return the correct path next to the binary even when relocated swig/4.2.1: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: source file is different - b'Source/Modules/main.cxx' swig/4.2.1: WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** swig/4.2.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 swig/4.2.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 swig/4.2.1: WARN: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: file 1/1: b'Source/Modules/main.cxx' swig/4.2.1: WARN: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: hunk no.1 doesn't match source file at line 886 swig/4.2.1: WARN: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: expected: b'' swig/4.2.1: WARN: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: actual : b' Wrapper_director_mode_set(0);' swig/4.2.1: WARN: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: file 1/1: b'Source/Modules/main.cxx' swig/4.2.1: WARN: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: hunk no.2 doesn't match source file at line 935 swig/4.2.1: WARN: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: expected: b' char *p;' swig/4.2.1: WARN: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch: actual : b' Exit(EXIT_FAILURE);' swig/4.2.1: ERROR: Package 'ecf410c29229a8b3b9035ba103160fd95bc8a1b6' build failed swig/4.2.1: WARN: Build folder /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/build-release ERROR: swig/4.2.1: Error in build() method, line 148 self._patch_sources() while calling '_patch_sources', line 140 apply_conandata_patches(self) ConanException: Failed to apply patch: /home/conan/workspace/prod-v1/bsr/83824/acbaa/.conan/data/swig/4.2.1/_/_/build/ecf410c29229a8b3b9035ba103160fd95bc8a1b6/patches/0001-4.1.0-swig-linux-library-path.patch