******************************************************************************** conan install leptonica/1.78.0@#bc45f5b2db7f9a6bd410bfaff2487d05 --build=leptonica -pr /home/conan/w/prod/BuildSingleReference/141341/13e2cc8f-e880-4337-8054-6812fb1fba97/profile_linux_10_libstdcpp11_gcc_release_64.leptonica-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 10 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=10 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=10 os=Linux [options] leptonica: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 giflib/5.2.1: Not found in local cache, looking in remotes... giflib/5.2.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz giflib/5.2.1: Downloaded recipe revision 847dc6f429d95cc67f2162ea83ddd9c9 libjpeg/9e: Not found in local cache, looking in remotes... libjpeg/9e: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libjpeg/9e: Downloaded recipe revision 129230c05b9705a9bbd6724f5de8eb98 libpng/1.6.38: Not found in local cache, looking in remotes... libpng/1.6.38: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libpng/1.6.38: Downloaded recipe revision d97e18208070aff615f52580387933af libtiff/4.4.0: Not found in local cache, looking in remotes... libtiff/4.4.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libtiff/4.4.0: Downloaded recipe revision f46dce61bbb69e0e13cafa43b93b2885 libdeflate/1.15: Not found in local cache, looking in remotes... libdeflate/1.15: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libdeflate/1.15: Downloaded recipe revision 867521b6450fdfcc6ec97c37a603912f xz_utils/5.2.5: Not found in local cache, looking in remotes... xz_utils/5.2.5: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz xz_utils/5.2.5: Downloaded recipe revision 7315e0f635fed3f9a91b8bfd5456b72c jbig/20160605: Not found in local cache, looking in remotes... jbig/20160605: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz jbig/20160605: Downloaded recipe revision 223f0b4bdf5b597534f9c06ba1c07a08 zstd/1.5.2: Not found in local cache, looking in remotes... zstd/1.5.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zstd/1.5.2: Downloaded recipe revision 485dd9c1f9245f0f362730e8b8031a17 libwebp/1.2.4: Not found in local cache, looking in remotes... libwebp/1.2.4: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libwebp/1.2.4: Downloaded recipe revision ea598b8eae9729538cffc84de170462f openjpeg/2.4.0: Not found in local cache, looking in remotes... openjpeg/2.4.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openjpeg/2.4.0: Downloaded recipe revision 0b10ff4d1bdc3be83237f4681571715e leptonica/1.78.0: Forced build from source pkgconf/1.9.3: Not found in local cache, looking in remotes... pkgconf/1.9.3: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz pkgconf/1.9.3: Downloaded recipe revision 02904517fb960fa340bee15bef847751 Installing package: leptonica/1.78.0 Requirements giflib/5.2.1 from 'conan-center' - Downloaded jbig/20160605 from 'conan-center' - Downloaded leptonica/1.78.0 from local cache - Cache libdeflate/1.15 from 'conan-center' - Downloaded libjpeg/9e from 'conan-center' - Downloaded libpng/1.6.38 from 'conan-center' - Downloaded libtiff/4.4.0 from 'conan-center' - Downloaded libwebp/1.2.4 from 'conan-center' - Downloaded openjpeg/2.4.0 from 'conan-center' - Downloaded xz_utils/5.2.5 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded zstd/1.5.2 from 'conan-center' - Downloaded Packages giflib/5.2.1:48378022674b6af465bdcb2d30017ef463f4f55c - Download jbig/20160605:5dedf41b83996f2663697c4c548617b81e83ca54 - Download leptonica/1.78.0:3a5db93abe39b30eeab1f50301eee83cded6ca75 - Build libdeflate/1.15:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Download libjpeg/9e:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Download libpng/1.6.38:d5b3dc27faecfb4eb94086722000dd65bb9e6bff - Download libtiff/4.4.0:13b52f304f6220d0bf8cf81ec6c6dd5990b1d618 - Download libwebp/1.2.4:abc00ad0249e9242a1b4cfef4dc265e67c782e32 - Download openjpeg/2.4.0:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Download xz_utils/5.2.5:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Download zlib/1.2.13:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Download zstd/1.5.2:f95595cf9a05caa71e0ee161277907de90f9722f - Download Build requirements pkgconf/1.9.3 from 'conan-center' - Downloaded Build requirements packages pkgconf/1.9.3:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download Installing (downloading, building) binaries... giflib/5.2.1: Retrieving package 48378022674b6af465bdcb2d30017ef463f4f55c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz giflib/5.2.1: Package installed 48378022674b6af465bdcb2d30017ef463f4f55c giflib/5.2.1: Downloaded package revision fe1da3355bcabff289500b2428a8949e jbig/20160605: Retrieving package 5dedf41b83996f2663697c4c548617b81e83ca54 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz jbig/20160605: Package installed 5dedf41b83996f2663697c4c548617b81e83ca54 jbig/20160605: Downloaded package revision 03918c0ab94b3552f91290e043aba52e libdeflate/1.15: Retrieving package 19729b9559f3ae196cad45cb2b97468ccb75dcd1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libdeflate/1.15: Package installed 19729b9559f3ae196cad45cb2b97468ccb75dcd1 libdeflate/1.15: Downloaded package revision b132e5c740a6f9f7920535c1f2694534 libjpeg/9e: Retrieving package 19729b9559f3ae196cad45cb2b97468ccb75dcd1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libjpeg/9e: Package installed 19729b9559f3ae196cad45cb2b97468ccb75dcd1 libjpeg/9e: Downloaded package revision 72e4773dbb7d8bd995ef8584f8869f8d libwebp/1.2.4: Retrieving package abc00ad0249e9242a1b4cfef4dc265e67c782e32 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libwebp/1.2.4: Package installed abc00ad0249e9242a1b4cfef4dc265e67c782e32 libwebp/1.2.4: Downloaded package revision 38fe132c3a2dfe7ba4c1c8cc0b9bed95 openjpeg/2.4.0: Retrieving package 19729b9559f3ae196cad45cb2b97468ccb75dcd1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openjpeg/2.4.0: Package installed 19729b9559f3ae196cad45cb2b97468ccb75dcd1 openjpeg/2.4.0: Downloaded package revision 6d64a9c0ddb8b17adf2544611eeb787d pkgconf/1.9.3: Retrieving package 24647d9fe8ec489125dfbae4b3ebefaf7581674c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pkgconf/1.9.3: Package installed 24647d9fe8ec489125dfbae4b3ebefaf7581674c pkgconf/1.9.3: Downloaded package revision 389abd2af33a0a664a53911c06f337f2 xz_utils/5.2.5: Retrieving package 19729b9559f3ae196cad45cb2b97468ccb75dcd1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz xz_utils/5.2.5: Package installed 19729b9559f3ae196cad45cb2b97468ccb75dcd1 xz_utils/5.2.5: Downloaded package revision f85365984f4b2a335df07f714cee83d8 zlib/1.2.13: Retrieving package 19729b9559f3ae196cad45cb2b97468ccb75dcd1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 19729b9559f3ae196cad45cb2b97468ccb75dcd1 zlib/1.2.13: Downloaded package revision 562e6cc3d7987119418780e5c5697342 zstd/1.5.2: Retrieving package f95595cf9a05caa71e0ee161277907de90f9722f from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zstd/1.5.2: Package installed f95595cf9a05caa71e0ee161277907de90f9722f zstd/1.5.2: Downloaded package revision 8c5513cfba13e4b4d61c104ea4370eff libpng/1.6.38: Retrieving package d5b3dc27faecfb4eb94086722000dd65bb9e6bff from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.38: Package installed d5b3dc27faecfb4eb94086722000dd65bb9e6bff libpng/1.6.38: Downloaded package revision f19bbf51457c291957bf8d41cd50b156 libtiff/4.4.0: Retrieving package 13b52f304f6220d0bf8cf81ec6c6dd5990b1d618 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libtiff/4.4.0: Package installed 13b52f304f6220d0bf8cf81ec6c6dd5990b1d618 libtiff/4.4.0: Downloaded package revision 6dba405e7e80c2bca44c2fdfdeab7dcc jbig/20160605: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/jbig/20160605/_/_/package/5dedf41b83996f2663697c4c548617b81e83ca54/bin pkgconf/1.9.3: Appending PATH env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.9.3/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin pkgconf/1.9.3: Setting PKG_CONFIG env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.9.3/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf pkgconf/1.9.3: Appending AUTOMAKE_CONAN_INCLUDES env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.9.3/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/aclocal leptonica/1.78.0: Applying build-requirement: pkgconf/1.9.3 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK leptonica/1.78.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/leptonica/1.78.0/_/_/source/src leptonica/1.78.0: [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 leptonica/1.78.0: Copying sources to build folder leptonica/1.78.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/leptonica/1.78.0/_/_/build/3a5db93abe39b30eeab1f50301eee83cded6ca75 leptonica/1.78.0: Generator txt created conanbuildinfo.txt leptonica/1.78.0: Calling generate() leptonica/1.78.0: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' leptonica/1.78.0: 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/leptonica/1.78.0/_/_/build/3a5db93abe39b30eeab1f50301eee83cded6ca75/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' leptonica/1.78.0: 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 leptonica/1.78.0: Calling build() leptonica/1.78.0: Apply patch (portability): CMake: robust handling of dependencies leptonica/1.78.0: leptonica/1.78.0: 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 leptonica/1.78.0: 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 leptonica/1.78.0: ERROR: Package '3a5db93abe39b30eeab1f50301eee83cded6ca75' build failed leptonica/1.78.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/leptonica/1.78.0/_/_/build/3a5db93abe39b30eeab1f50301eee83cded6ca75/build/Release ERROR: leptonica/1.78.0: Error in build() method, line 214 self._patch_sources() while calling '_patch_sources', line 174 replace_in_file(self, cmakelists, "pkg_check_modules(JP2K libopenjp2>=2.0 QUIET)", "") ConanException: replace_in_file didn't find pattern 'pkg_check_modules(JP2K libopenjp2>=2.0 QUIET)' in '/home/conan/w/prod/BuildSingleReference/.conan/data/leptonica/1.78.0/_/_/build/3a5db93abe39b30eeab1f50301eee83cded6ca75/src/CMakeLists.txt' file.