conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
971 stars 1.79k forks source link

[pcre] pcre/8.44: Build is failing when poco is enabled #6062

Closed paulocoutinhox closed 3 years ago

paulocoutinhox commented 3 years ago

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

Configuration for profile default:

[settings]
os=Macos
os_build=Macos
arch=x86_64
arch_build=x86_64
compiler=apple-clang
compiler.version=12.0
compiler.libcxx=libc++
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

This problem only happen when i try build with poco enabled on recipe:

self.requires("poco/1.10.1")

https://github.com/ezored/ezored/blob/2419ed788366f5c15c73f7bc2b3f81bb316b2fa2/files/targets/ios/conan/recipe/conanfile.py#L75

But it works if i configure my recipe with:

pcre:build_pcregrep": False

This problem don't happen for others targets like android, macos, linux and windows - only target ios.

Logs (Include/Attach if Applicable)

Click to expand log ``` python make.py target ios prepare [INFO] Running "prepare" on target "ios"... [INFO] Building for: armv7/Debug... Configuration (profile_host): [settings] arch=armv7 arch_build=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=iOS os.version=9.0 os_build=Macos [options] ezored_arch=armv7 ezored_group=ios ezored_name=ezored ezored_version=1.0.0 darwin-toolchain:enable_arc=None darwin-toolchain:enable_bitcode=True darwin-toolchain:enable_visibility=None [build_requires] *: darwin-toolchain/1.3.0@ezored/stable [env] Configuration (profile_build): [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos os.version=None os_build=Macos [options] [build_requires] [env] WARN: sqlitecpp/2.5.0: requirement sqlite3/3.32.3 overridden by ios/1.0.0 to sqlite3/3.35.5 openssl/1.1.1k: WARN: Can't update, no package in remote sqlite3/3.35.5: WARN: Can't update, no package in remote sqlitecpp/2.5.0: WARN: Can't update, no package in remote conanfile.py (ios/1.0.0): Installing package Requirements bzip2/1.0.8 from 'conan-center' - Cache date/3.0.1 from 'conan-center' - Cache expat/2.4.1 from 'conan-center' - Cache openssl/1.1.1k from 'conan-center' - Cache pcre/8.44 from 'conan-center' - Cache poco/1.10.1 from 'conan-center' - Cache rapidjson/1.1.0 from 'conan-center' - Cache sqlite3/3.35.5 from 'conan-center' - Cache sqlitecpp/2.5.0 from 'conan-center' - Cache zlib/1.2.11 from 'conan-center' - Cache Packages bzip2/1.0.8:df2f641f957836ae96886d55f35b675196f3131a - Build date/3.0.1:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache expat/2.4.1:53f88399c92f61d3955b037a52fcf868f92f0e64 - Build openssl/1.1.1k:51556b819bd46b694fd94675b65da53b843c263d - Cache pcre/8.44:9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd - Build poco/1.10.1:1a21317e0823b86c0c5db802aa76fffbaf023261 - Build rapidjson/1.1.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache sqlite3/3.35.5:4f30370220f36545f8b864b4c33d41ced73a4a43 - Cache sqlitecpp/2.5.0:518d5483cdb53cc130fd28cdad883cd2b4d0a54f - Cache zlib/1.2.11:51556b819bd46b694fd94675b65da53b843c263d - Build Build requirements darwin-toolchain/1.3.0@ezored/stable from 'darwin-toolchain' - Cache Build requirements packages darwin-toolchain/1.3.0@ezored/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Cross-build from 'Macos:x86_64' to 'iOS:armv7' Installing (downloading, building) binaries... darwin-toolchain/1.3.0@ezored/stable: Already installed! darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: YES darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: YES darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: YES darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: YES darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: YES darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: YES darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED date/3.0.1: Already installed! openssl/1.1.1k: Already installed! rapidjson/1.1.0: Already installed! sqlite3/3.35.5: Already installed! bzip2/1.0.8: Applying build-requirement: darwin-toolchain/1.3.0@ezored/stable bzip2/1.0.8: Copying sources to build folder bzip2/1.0.8: Building your package in /Users/paulo/.conan/data/bzip2/1.0.8/_/_/build/df2f641f957836ae96886d55f35b675196f3131a bzip2/1.0.8: Generator cmake created conanbuildinfo.cmake bzip2/1.0.8: Calling build() -- The C compiler identification is AppleClang 12.0.5.12050022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- This project seems to be plain C, using 'AppleClang' compiler -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/build/df2f641f957836ae96886d55f35b675196f3131a [ 10%] Building C object CMakeFiles/bz2.dir/source_subfolder/blocksort.c.o [ 20%] Building C object CMakeFiles/bz2.dir/source_subfolder/compress.c.o [ 30%] Building C object CMakeFiles/bz2.dir/source_subfolder/crctable.c.o [ 40%] Building C object CMakeFiles/bz2.dir/source_subfolder/bzlib.c.o [ 50%] Building C object CMakeFiles/bz2.dir/source_subfolder/decompress.c.o [ 60%] Building C object CMakeFiles/bz2.dir/source_subfolder/huffman.c.o [ 70%] Building C object CMakeFiles/bz2.dir/source_subfolder/randtable.c.o [ 80%] Linking C static library lib/libbz2.a [ 80%] Built target bz2 [ 90%] Building C object CMakeFiles/bzip2.dir/source_subfolder/bzip2.c.o [100%] Linking C executable bin/bzip2.app/bzip2 ld: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) [100%] Built target bzip2 bzip2/1.0.8: Package 'df2f641f957836ae96886d55f35b675196f3131a' built bzip2/1.0.8: Build folder /Users/paulo/.conan/data/bzip2/1.0.8/_/_/build/df2f641f957836ae96886d55f35b675196f3131a bzip2/1.0.8: Generated conaninfo.txt bzip2/1.0.8: Generated conanbuildinfo.txt bzip2/1.0.8: Generating the package bzip2/1.0.8: Package folder /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a bzip2/1.0.8: Calling package() Consolidate compiler generated dependencies of target bz2 [ 80%] Built target bz2 Consolidate compiler generated dependencies of target bzip2 [100%] Built target bzip2 Install the project... -- Install configuration: "Debug" -- Installing: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a/lib/libbz2.a -- Installing: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a/bin/bzip2.app -- Installing: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a/bin/bzip2.app/Info.plist -- Installing: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a/bin/bzip2.app/bzip2 -- Installing: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a/include/bzlib.h bzip2/1.0.8 package(): Packaged 1 '.plist' file: Info.plist bzip2/1.0.8 package(): Packaged 2 files: bzip2, LICENSE bzip2/1.0.8 package(): Packaged 1 '.h' file: bzlib.h bzip2/1.0.8 package(): Packaged 1 '.a' file: libbz2.a bzip2/1.0.8 package(): Packaged 1 '.cmake' file: conan-official-bzip2-variables.cmake bzip2/1.0.8: Package 'df2f641f957836ae96886d55f35b675196f3131a' created bzip2/1.0.8: Created package revision 54459df95c5eb0cc69fd589d75b227d9 bzip2/1.0.8: Appending PATH environment variable: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a/bin expat/2.4.1: Applying build-requirement: darwin-toolchain/1.3.0@ezored/stable expat/2.4.1: Copying sources to build folder expat/2.4.1: Building your package in /Users/paulo/.conan/data/expat/2.4.1/_/_/build/53f88399c92f61d3955b037a52fcf868f92f0e64 expat/2.4.1: Generator cmake created conanbuildinfo.cmake expat/2.4.1: Calling build() -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for mmap -- Looking for mmap - found -- Looking for getrandom -- Looking for getrandom - not found -- Looking for arc4random_buf -- Looking for arc4random_buf - found -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Looking for off_t -- Looking for off_t - not found -- Looking for size_t -- Looking for size_t - not found -- Performing Test HAVE_SYSCALL_GETRANDOM -- Performing Test HAVE_SYSCALL_GETRANDOM - Failed -- Performing Test FLAG_NO_STRICT_ALIASING -- Performing Test FLAG_NO_STRICT_ALIASING - Success -- Performing Test FLAG_VISIBILITY -- Performing Test FLAG_VISIBILITY - Success -- =========================================================================== -- -- Configuration -- Prefix ..................... /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64 -- Build type ................. Debug -- Shared libraries ........... False -- Character type ............. char (UTF-8) -- -- Build documentation ........ Off -- Build examples ............. Off -- Build fuzzers .............. OFF -- Build tests ................ Off -- Build tools (xmlwf) ........ Off -- Build pkg-config file ...... ON -- Install files .............. ON -- -- Features -- // Advanced options, changes not advised -- Attributes info .......... OFF -- Context bytes ............ 1024 -- DTD support .............. ON -- Large size ............... OFF -- Minimum size ............. OFF -- Namespace support ........ ON -- -- Entropy sources -- getrandom ................ -- syscall SYS_getrandom .... -- libbsd ................... OFF -- /dev/random .............. ON -- -- Continue with -- make -- sudo make install -- -- =========================================================================== -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /Users/paulo/.conan/data/expat/2.4.1/_/_/build/53f88399c92f61d3955b037a52fcf868f92f0e64/build_subfolder [ 25%] Building C object source_subfolder/CMakeFiles/expat.dir/lib/xmlrole.c.o [ 75%] Building C object source_subfolder/CMakeFiles/expat.dir/lib/xmltok.c.o [ 75%] Building C object source_subfolder/CMakeFiles/expat.dir/lib/xmlparse.c.o [100%] Linking C static library ../lib/libexpat.a [100%] Built target expat expat/2.4.1: Package '53f88399c92f61d3955b037a52fcf868f92f0e64' built expat/2.4.1: Build folder /Users/paulo/.conan/data/expat/2.4.1/_/_/build/53f88399c92f61d3955b037a52fcf868f92f0e64 expat/2.4.1: Generated conaninfo.txt expat/2.4.1: Generated conanbuildinfo.txt expat/2.4.1: Generating the package expat/2.4.1: Package folder /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64 expat/2.4.1: Calling package() Consolidate compiler generated dependencies of target expat [100%] Built target expat Install the project... -- Install configuration: "Debug" -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/include/expat_config.h -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/lib/libexpat.a -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/include/expat.h -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/include/expat_external.h -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/lib/pkgconfig/expat.pc -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/share/doc/expat/AUTHORS -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/share/doc/expat/changelog -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/lib/cmake/expat-2.4.1/expat-config.cmake -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/lib/cmake/expat-2.4.1/expat-config-version.cmake -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/lib/cmake/expat-2.4.1/expat.cmake -- Installing: /Users/paulo/.conan/data/expat/2.4.1/_/_/package/53f88399c92f61d3955b037a52fcf868f92f0e64/lib/cmake/expat-2.4.1/expat-debug.cmake expat/2.4.1 package(): Packaged 1 file: COPYING expat/2.4.1 package(): Packaged 3 '.h' files: expat_config.h, expat_external.h, expat.h expat/2.4.1 package(): Packaged 1 '.a' file: libexpat.a expat/2.4.1: Package '53f88399c92f61d3955b037a52fcf868f92f0e64' created expat/2.4.1: Created package revision f195e13937787b29c262ed3037571c2b sqlitecpp/2.5.0: Already installed! zlib/1.2.11: Applying build-requirement: darwin-toolchain/1.3.0@ezored/stable zlib/1.2.11: Copying sources to build folder zlib/1.2.11: Building your package in /Users/paulo/.conan/data/zlib/1.2.11/_/_/build/51556b819bd46b694fd94675b65da53b843c263d zlib/1.2.11: Generator cmake created conanbuildinfo.cmake zlib/1.2.11: Calling build() -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan CMake Wrapper -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- 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 off64_t -- Check size of off64_t - failed -- Looking for fseeko -- Looking for fseeko - found -- Looking for unistd.h -- Looking for unistd.h - found -- Renaming -- /Users/paulo/.conan/data/zlib/1.2.11/_/_/build/51556b819bd46b694fd94675b65da53b843c263d/source_subfolder/zconf.h -- to 'zconf.h.included' because this file is included with zlib -- but CMake generates it automatically in the build directory. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR -- Build files have been written to: /Users/paulo/.conan/data/zlib/1.2.11/_/_/build/51556b819bd46b694fd94675b65da53b843c263d/build_subfolder [ 6%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/adler32.o [ 12%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/crc32.o [ 18%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/compress.o [ 25%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/deflate.o [ 31%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/gzclose.o [ 37%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/gzlib.o [ 43%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/gzread.o [ 50%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/gzwrite.o [ 56%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/inflate.o [ 62%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/infback.o [ 68%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/inftrees.o [ 75%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/inffast.o [ 81%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/trees.o [ 87%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/uncompr.o [ 93%] Building C object source_subfolder/CMakeFiles/zlibstatic.dir/zutil.o [100%] Linking C static library ../lib/libz.a [100%] Built target zlibstatic zlib/1.2.11: Package '51556b819bd46b694fd94675b65da53b843c263d' built zlib/1.2.11: Build folder /Users/paulo/.conan/data/zlib/1.2.11/_/_/build/51556b819bd46b694fd94675b65da53b843c263d zlib/1.2.11: Generated conaninfo.txt zlib/1.2.11: Generated conanbuildinfo.txt zlib/1.2.11: Generating the package zlib/1.2.11: Package folder /Users/paulo/.conan/data/zlib/1.2.11/_/_/package/51556b819bd46b694fd94675b65da53b843c263d zlib/1.2.11: Calling package() zlib/1.2.11 package(): Packaged 1 file: LICENSE zlib/1.2.11 package(): Packaged 2 '.h' files: zlib.h, zconf.h zlib/1.2.11 package(): Packaged 1 '.a' file: libz.a zlib/1.2.11: Package '51556b819bd46b694fd94675b65da53b843c263d' created zlib/1.2.11: Created package revision d7fda26b33a025dbbf90775e23089538 pcre/8.44: Applying build-requirement: darwin-toolchain/1.3.0@ezored/stable pcre/8.44: Copying sources to build folder pcre/8.44: Building your package in /Users/paulo/.conan/data/pcre/8.44/_/_/build/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd pcre/8.44: Generator cmake_find_package created FindBZip2.cmake pcre/8.44: Generator cmake_find_package created FindZLIB.cmake pcre/8.44: Generator cmake created conanbuildinfo.cmake pcre/8.44: Calling build() -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Using autogenerated FindBZip2.cmake -- Found BZip2: 1.0.8 (found version "1.0.8") -- Library bz2 found /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a/lib/libbz2.a -- Found: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/df2f641f957836ae96886d55f35b675196f3131a/lib/libbz2.a -- Conan: Using autogenerated FindZLIB.cmake -- Found ZLIB: 1.2.11 (found version "1.2.11") -- Library z found /Users/paulo/.conan/data/zlib/1.2.11/_/_/package/51556b819bd46b694fd94675b65da53b843c263d/lib/libz.a -- Found: /Users/paulo/.conan/data/zlib/1.2.11/_/_/package/51556b819bd46b694fd94675b65da53b843c263d/lib/libz.a CMake Warning at source_subfolder/CMakeLists.txt:84 (FIND_PACKAGE): By not providing "FindReadline.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Readline", but CMake did not find one. Could not find a package configuration file provided by "Readline" with any of the following names: ReadlineConfig.cmake readline-config.cmake Add the installation prefix of "Readline" to CMAKE_PREFIX_PATH or set "Readline_DIR" to a directory containing one of the above files. If "Readline" provides a separate development package or SDK, be sure it has been installed. CMake Warning at source_subfolder/CMakeLists.txt:85 (FIND_PACKAGE): By not providing "FindEditline.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Editline", but CMake did not find one. Could not find a package configuration file provided by "Editline" with any of the following names: EditlineConfig.cmake editline-config.cmake Add the installation prefix of "Editline" to CMAKE_PREFIX_PATH or set "Editline_DIR" to a directory containing one of the above files. If "Editline" provides a separate development package or SDK, be sure it has been installed. -- Looking for dirent.h -- Looking for dirent.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include type_traits.h -- Looking for C++ include type_traits.h - not found -- Looking for C++ include bits/type_traits.h -- Looking for C++ include bits/type_traits.h - not found -- Looking for bcopy -- Looking for bcopy - found -- Looking for memmove -- Looking for memmove - found -- Looking for strerror -- Looking for strerror - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoq -- Looking for strtoq - found -- Looking for _strtoi64 -- Looking for _strtoi64 - not found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of long long -- Check size of long long - done -- Check size of unsigned long long -- Check size of unsigned long long - done CMake Error at source_subfolder/CMakeLists.txt:888 (INSTALL): INSTALL TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable target "pcregrep". -- -- -- PCRE configuration summary: -- -- Install prefix .................. : /Users/paulo/.conan/data/pcre/8.44/_/_/package/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd -- C compiler ...................... : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- C++ compiler .................... : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- C compiler flags ................ : -fembed-bitcode -g -- C++ compiler flags .............. : -fembed-bitcode -g -- -- Build 8 bit PCRE library ........ : True -- Build 16 bit PCRE library ....... : True -- Build 32 bit PCRE library ....... : True -- Build C++ library ............... : False -- Enable JIT compiling support .... : False -- Enable UTF support .............. : False -- Unicode properties .............. : False -- Newline char/sequence ........... : LF -- \R matches only ANYCRLF ......... : OFF -- EBCDIC coding ................... : OFF -- EBCDIC coding with NL=0x25 ...... : OFF -- Rebuild char tables ............. : OFF -- No stack recursion .............. : False -- POSIX mem threshold ............. : 10 -- Internal link size .............. : 2 -- Parentheses nest limit .......... : 250 -- Match limit ..................... : 10000000 -- Match limit recursion ........... : MATCH_LIMIT -- Build shared libs ............... : OFF -- Build static libs ............... : ON -- Build pcregrep .................. : True -- Enable JIT in pcregrep .......... : ON -- Buffer size for pcregrep ........ : 20480 -- Build tests (implies pcretest .. : False -- and pcregrep) -- Link pcregrep with libz ......... : True -- Link pcregrep with libbz2 ....... : True -- Link pcretest with libeditline .. : Library not found -- Link pcretest with libreadline .. : Library not found -- Support Valgrind .................: OFF -- Support coverage .................: -- -- Configuring incomplete, errors occurred! See also "/Users/paulo/.conan/data/pcre/8.44/_/_/build/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd/build_subfolder/CMakeFiles/CMakeOutput.log". See also "/Users/paulo/.conan/data/pcre/8.44/_/_/build/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd/build_subfolder/CMakeFiles/CMakeError.log". pcre/8.44: pcre/8.44: ERROR: Package '9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd' build failed pcre/8.44: WARN: Build folder /Users/paulo/.conan/data/pcre/8.44/_/_/build/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd ERROR: pcre/8.44: Error in build() method, line 131 cmake = self._configure_cmake() while calling '_configure_cmake', line 126 self._cmake.configure(build_folder=self._build_subfolder) ConanException: Error 1 while executing cd '/Users/paulo/.conan/data/pcre/8.44/_/_/build/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="armv7" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk" -DCMAKE_SYSTEM_NAME="iOS" -DCMAKE_SYSTEM_VERSION="9.0" -DCMAKE_OSX_DEPLOYMENT_TARGET="9.0" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/paulo/.conan/data/pcre/8.44/_/_/package/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/Users/paulo/.conan/data/pcre/8.44/_/_/build/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DPCRE_BUILD_TESTS="False" -DPCRE_BUILD_PCRE8="True" -DPCRE_BUILD_PCRE16="True" -DPCRE_BUILD_PCRE32="True" -DPCRE_BUILD_PCREGREP="True" -DPCRE_BUILD_PCRECPP="False" -DPCRE_SUPPORT_LIBZ="True" -DPCRE_SUPPORT_LIBBZ2="True" -DPCRE_SUPPORT_JIT="False" -DPCRE_SUPPORT_UTF="False" -DPCRE_SUPPORT_UNICODE_PROPERTIES="False" -DPCRE_SUPPORT_LIBREADLINE="False" -DPCRE_SUPPORT_LIBEDIT="False" -DPCRE_NO_RECURSE="False" -Wno-dev '/Users/paulo/.conan/data/pcre/8.44/_/_/build/9ecf644d6ed7545daed9b0c25d533e7a4d2f48bd' COMMAND: conan install /Users/paulo/Developer/workspaces/cpp/ezored/files/targets/ios/conan/recipe/conanfile.py -pr:b default -pr:h ezored_ios_profile -s:h arch=armv7 -s:h build_type=Debug -s:h os.version=9.0 -s:b os.version=None -o ezored_arch=armv7 -o ezored_name=ezored -o ezored_version=1.0.0 -o ezored_group=ios -o darwin-toolchain:enable_bitcode=True -o darwin-toolchain:enable_arc=None -o darwin-toolchain:enable_visibility=None --build=missing --update WORKING DIR: /Users/paulo/Developer/workspaces/cpp/ezored/build/ios/Debug/ios/armv7/conan [ERROR] Command execution has failed ```
madebr commented 3 years ago

The build_pcregrep enables building a pcregrep executable target. https://github.com/luvit/pcre/blob/e2a236a5737b58d43bf324208406a60fe0dd95f4/CMakeLists.txt#L698-L702

The fatal error on Macos is:

CMake Error at source_subfolder/CMakeLists.txt:888 (INSTALL):
  INSTALL TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
  target "pcregrep".

Location of install: https://github.com/luvit/pcre/blob/e2a236a5737b58d43bf324208406a60fe0dd95f4/CMakeLists.txt#L867-L870

Looks like all targets marked with MACOSX_BUNDLE needs to have installed the BUNDLE component. https://cmake.org/cmake/help/latest/command/install.html#targets https://cmake.org/cmake/help/latest/prop_tgt/MACOSX_BUNDLE.html

Where is CMAKE_MACOSX_BUNDLE being set? Is this done by darwin-toolchain?

madebr commented 3 years ago

Looks like it isn't set in darwin-toolchain/1.3.0@ezored. See https://github.com/ezored/conan-darwin-toolchain/blob/stable/1.3.0/conanfile.py

I don't understand how MACOSX_BUNDLE gets enabled on your system.

Can you temporarily hack the pcre recipe by passing CMAKE_MACOSX_BUNDLE=False to the cmake configure in the pcre recipe? (add cmake.definitions["CMAKE_MACOSX_BUNDLE"] = False to an appropriate place)

CMAKE_MACOSX_BUNDLE says that it is enabled by default for iOS, watchOS and tvOS. But no word of macos.

paulocoutinhox commented 3 years ago

Hi,

If it is always enabled for iOS, watchOS and tvOS the problem is not activate CMAKE_MACOSX_BUNDLE (because it is always enabled), correct?

In my project (github.com/ezored/ezored) there is nothing enabled, and never throw error. It start recently and only when enable that extension.

What do you think?

madebr commented 3 years ago

With build_pcregrep=False, no executables are built so there is no install function call with an executable argument.

Can you try running the conan file below?

conan export /path/to/conanfile.py apple-test/0.1@

Does this work?

conanfile.py

from conans import ConanFile, CMake
import textwrap

class AppleTestConan(ConanFile):
    name = "apple-test"
    generators = "cmake"
    def export_sources(self):
        tools.save(os.path.join(self.export_sources_folder, "CMakeLists.txt"), textwrap.dedent("""\
            cmake_minimum_required(VERSION 3.10)
            project(test_apple)
            include("${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
            conan_basic_setup()
            add_executable(some_executable main.c)
            install(TARGETS some_executables
                RUNTIME DESTINATION bin
                LIBRARY DESTINATION lib
                ARCHIVE DESTINATION lib
                # If I'm correct about the CMAKE_MACOSX_BUNDLE assumption, then this call should include BUNDLE DESTINATION bin
            )
        """))
        tools.save(os.path.join(self.export_sources_folder, "main.c"), textwrap.dedent("""\
            int main() {
                return 0;
            }
        """))
    def build(self):
        cmake = CMake(self)
        cmake.build()
        cmake.install()
SpaceIm commented 3 years ago

Maybe we could add this policy in CMake wrapper https://cmake.org/cmake/help/latest/policy/CMP0006.html? (Or patch pcre CMakeLists).

paulocoutinhox commented 3 years ago

Hi,

On PCRE we need change from:

937 | INSTALL(TARGETS ${targets}
938 | RUNTIME DESTINATION bin
939 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
940 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})

To:

937 | INSTALL(TARGETS ${targets}
938 | RUNTIME DESTINATION bin
939 | BUNDLE DESTINATION bin
940 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
941 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})

Source: https://vcs.pcre.org/pcre/code/trunk/CMakeLists.txt?view=markup

paulocoutinhox commented 3 years ago

conan export /path/to/conanfile.py apple-test/0.1@

@madebr I fixed your script because generate python error:

from conans import ConanFile, CMake, tools
import textwrap
import os

class AppleTestConan(ConanFile):
    name = "apple-test"
    generators = "cmake"
    def export_sources(self):
        tools.save(os.path.join(self.export_sources_folder, "CMakeLists.txt"), textwrap.dedent("""\
            cmake_minimum_required(VERSION 3.10)
            project(test_apple)
            include("${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
            conan_basic_setup()
            add_executable(some_executable main.c)
            install(TARGETS some_executables
                RUNTIME DESTINATION bin
                LIBRARY DESTINATION lib
                ARCHIVE DESTINATION lib
                # If I'm correct about the CMAKE_MACOSX_BUNDLE assumption, then this call should include BUNDLE DESTINATION bin
            )
        """))

        tools.save(os.path.join(self.export_sources_folder, "main.c"), textwrap.dedent("""\
            int main() {
                return 0;
            }
        """))
    def build(self):
        cmake = CMake(self)
        cmake.build()
        cmake.install()

And when i execute, i receive:

paulo ~/Developer/workspaces/cpp/pcre-test  $ conan export conanfile.py apple-test/0.1@
[HOOK - attribute_checker.py] pre_export(): WARN: Conanfile doesn't have 'url'. It is recommended to add it as attribute
[HOOK - attribute_checker.py] pre_export(): WARN: Conanfile doesn't have 'license'. It is recommended to add it as attribute
[HOOK - attribute_checker.py] pre_export(): WARN: Conanfile doesn't have 'description'. It is recommended to add it as attribute
Exporting package recipe
apple-test/0.1: Calling export_sources()
apple-test/0.1: A new conanfile.py version was exported
apple-test/0.1: Folder: /Users/paulo/.conan/data/apple-test/0.1/_/_/export
apple-test/0.1: Exported revision: e96044e5665558f8ab407c17e7d154d0
madebr commented 3 years ago

I meant you needed to run conan create conanfile.py apple-test/0.1@ using your profile(s). Exporting is not enough. Sorry! Thanks for fixing the synax error. I didn't check it on my machine.

It's probably the cmake policy that @SpaceIm is mentioning that is causing problems for pcre. What I don't understand is why only pcre is causing problems for you. There are more recipes in cci that build executables and don't add BUNDLE to install.

paulocoutinhox commented 3 years ago

Hi,

I made a fix and tested locally for ios: https://github.com/conan-io/conan-center-index/pull/6101

CMakeLists.txt after patch:


# Installation
SET(CMAKE_INSTALL_ALWAYS 1)

INSTALL(TARGETS ${targets}
        RUNTIME DESTINATION bin
        BUNDLE DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib)

INSTALL(FILES ${PCRE_HEADERS} ${PCREPOSIX_HEADERS} DESTINATION include)

Before:

conan create . pcre/8.44@ -pr ezored_ios_profile 
Exporting package recipe
pcre/8.44 exports: File 'conandata.yml' found. Exporting it...
pcre/8.44 exports: Copied 1 '.yml' file: conandata.yml
pcre/8.44 exports_sources: Copied 1 '.txt' file: CMakeLists.txt
pcre/8.44: The stored package has not changed
pcre/8.44: Exported revision: 1851a399f38fdac8eb682b4bf60b88e7
Configuration:
[settings]
arch=armv7
arch_build=x86_64
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=12.0
os=iOS
os.version=9.0
os_build=Macos
[options]
[build_requires]
*: darwin-toolchain/1.3.0@ezored/stable
[env]

pcre/8.44: Forced build from source
pcre/8.44 (test package): Installing package
Requirements
    bzip2/1.0.8 from 'conan-center' - Cache
    pcre/8.44 from 'conan-center' - Cache
    zlib/1.2.11 from 'conan-center' - Cache
Packages
    bzip2/1.0.8:0bd3e5cf9465c9ad2dc53934b3e83cc82cba5ee4 - Cache
    pcre/8.44:0e11c5cd41bc2d3407a63681e17a8da6a165fd45 - Build
    zlib/1.2.11:f5582513960fe0b016319eb58b7a6308f4568d9b - Cache
Build requirements
    darwin-toolchain/1.3.0@ezored/stable from 'darwin-toolchain' - Cache
Build requirements packages
    darwin-toolchain/1.3.0@ezored/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache

Cross-build from 'Macos:x86_64' to 'iOS:armv7'
Installing (downloading, building) binaries...
bzip2/1.0.8: Already installed!
bzip2/1.0.8: Appending PATH environment variable: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/0bd3e5cf9465c9ad2dc53934b3e83cc82cba5ee4/bin
darwin-toolchain/1.3.0@ezored/stable: Already installed!
darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED
zlib/1.2.11: Already installed!
pcre/8.44: Applying build-requirement: darwin-toolchain/1.3.0@ezored/stable
pcre/8.44: Configuring sources in /Users/paulo/.conan/data/pcre/8.44/_/_/source
Downloading pcre-8.44.tar.gz completed [2041.75k]                                        

pcre/8.44: Copying sources to build folder
pcre/8.44: Building your package in /Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45
pcre/8.44: Generator cmake_find_package created Finddarwin-toolchain.cmake
pcre/8.44: Generator cmake_find_package created FindBZip2.cmake
pcre/8.44: Generator cmake_find_package created FindZLIB.cmake
pcre/8.44: Generator cmake created conanbuildinfo.cmake
pcre/8.44: Calling build()
-- The C compiler identification is AppleClang 12.0.5.12050022
-- The CXX compiler identification is AppleClang 12.0.5.12050022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan: Adjusting fPIC flag (ON)
-- Conan: Using autogenerated FindBZip2.cmake
-- Found BZip2: 1.0.8 (found version "1.0.8") 
-- Library bz2 found /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/0bd3e5cf9465c9ad2dc53934b3e83cc82cba5ee4/lib/libbz2.a
-- Found: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/0bd3e5cf9465c9ad2dc53934b3e83cc82cba5ee4/lib/libbz2.a
-- Conan: Using autogenerated FindZLIB.cmake
-- Found ZLIB: 1.2.11 (found version "1.2.11") 
-- Library z found /Users/paulo/.conan/data/zlib/1.2.11/_/_/package/f5582513960fe0b016319eb58b7a6308f4568d9b/lib/libz.a
-- Found: /Users/paulo/.conan/data/zlib/1.2.11/_/_/package/f5582513960fe0b016319eb58b7a6308f4568d9b/lib/libz.a
CMake Warning at source_subfolder/CMakeLists.txt:84 (FIND_PACKAGE):
  By not providing "FindReadline.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Readline",
  but CMake did not find one.

  Could not find a package configuration file provided by "Readline" with any
  of the following names:

    ReadlineConfig.cmake
    readline-config.cmake

  Add the installation prefix of "Readline" to CMAKE_PREFIX_PATH or set
  "Readline_DIR" to a directory containing one of the above files.  If
  "Readline" provides a separate development package or SDK, be sure it has
  been installed.

CMake Warning at source_subfolder/CMakeLists.txt:85 (FIND_PACKAGE):
  By not providing "FindEditline.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Editline",
  but CMake did not find one.

  Could not find a package configuration file provided by "Editline" with any
  of the following names:

    EditlineConfig.cmake
    editline-config.cmake

  Add the installation prefix of "Editline" to CMAKE_PREFIX_PATH or set
  "Editline_DIR" to a directory containing one of the above files.  If
  "Editline" provides a separate development package or SDK, be sure it has
  been installed.

-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for C++ include type_traits.h
-- Looking for C++ include type_traits.h - not found
-- Looking for C++ include bits/type_traits.h
-- Looking for C++ include bits/type_traits.h - not found
-- Looking for bcopy
-- Looking for bcopy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long long
-- Check size of long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
CMake Error at source_subfolder/CMakeLists.txt:888 (INSTALL):
  INSTALL TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
  target "pcregrep".

-- 
-- 
-- PCRE configuration summary:
-- 
--   Install prefix .................. : /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45
--   C compiler ...................... : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
--   C++ compiler .................... : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
--   C compiler flags ................ :    -O3 -DNDEBUG 
--   C++ compiler flags .............. :    -O3 -DNDEBUG 
-- 
--   Build 8 bit PCRE library ........ : True
--   Build 16 bit PCRE library ....... : True
--   Build 32 bit PCRE library ....... : True
--   Build C++ library ............... : False
--   Enable JIT compiling support .... : False
--   Enable UTF support .............. : False
--   Unicode properties .............. : False
--   Newline char/sequence ........... : LF
--   \R matches only ANYCRLF ......... : OFF
--   EBCDIC coding ................... : OFF
--   EBCDIC coding with NL=0x25 ...... : OFF
--   Rebuild char tables ............. : OFF
--   No stack recursion .............. : False
--   POSIX mem threshold ............. : 10
--   Internal link size .............. : 2
--   Parentheses nest limit .......... : 250
--   Match limit ..................... : 10000000
--   Match limit recursion ........... : MATCH_LIMIT
--   Build shared libs ............... : OFF
--   Build static libs ............... : ON
--   Build pcregrep .................. : True
--   Enable JIT in pcregrep .......... : ON
--   Buffer size for pcregrep ........ : 20480
--   Build tests (implies pcretest  .. : False
--                and pcregrep)
--   Link pcregrep with libz ......... : True
--   Link pcregrep with libbz2 ....... : True
--   Link pcretest with libeditline .. : Library not found
--   Link pcretest with libreadline .. : Library not found
--   Support Valgrind .................: OFF
--   Support coverage .................: 
-- 
-- Configuring incomplete, errors occurred!
See also "/Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/build_subfolder/CMakeFiles/CMakeOutput.log".
See also "/Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/build_subfolder/CMakeFiles/CMakeError.log".
pcre/8.44: 
pcre/8.44: ERROR: Package '0e11c5cd41bc2d3407a63681e17a8da6a165fd45' build failed
pcre/8.44: WARN: Build folder /Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45
ERROR: pcre/8.44: Error in build() method, line 131
    cmake = self._configure_cmake()
while calling '_configure_cmake', line 126
    self._cmake.configure(build_folder=self._build_subfolder)
    ConanException: Error 1 while executing cd '/Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_OSX_ARCHITECTURES="armv7" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk" -DCMAKE_SYSTEM_NAME="iOS" -DCMAKE_SYSTEM_VERSION="9.0" -DCMAKE_OSX_DEPLOYMENT_TARGET="9.0" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DPCRE_BUILD_TESTS="False" -DPCRE_BUILD_PCRE8="True" -DPCRE_BUILD_PCRE16="True" -DPCRE_BUILD_PCRE32="True" -DPCRE_BUILD_PCREGREP="True" -DPCRE_BUILD_PCRECPP="False" -DPCRE_SUPPORT_LIBZ="True" -DPCRE_SUPPORT_LIBBZ2="True" -DPCRE_SUPPORT_JIT="False" -DPCRE_SUPPORT_UTF="False" -DPCRE_SUPPORT_UNICODE_PROPERTIES="False" -DPCRE_SUPPORT_LIBREADLINE="False" -DPCRE_SUPPORT_LIBEDIT="False" -DPCRE_NO_RECURSE="False" -Wno-dev '/Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45'

After:

conan create . pcre/8.44@ -pr ezored_ios_profile
Exporting package recipe
pcre/8.44 exports: File 'conandata.yml' found. Exporting it...
pcre/8.44 exports: Copied 1 '.yml' file: conandata.yml
pcre/8.44 exports_sources: Copied 1 '.txt' file: CMakeLists.txt
pcre/8.44: A new conanfile.py version was exported
pcre/8.44: Folder: /Users/paulo/.conan/data/pcre/8.44/_/_/export
pcre/8.44: Package recipe modified in export, forcing source folder removal
pcre/8.44: Use the --keep-source, -k option to skip it
pcre/8.44: Exported revision: a49aef688b21ecfc7cd03210262b63df
Configuration:
[settings]
arch=armv7
arch_build=x86_64
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=12.0
os=iOS
os.version=9.0
os_build=Macos
[options]
[build_requires]
*: darwin-toolchain/1.3.0@ezored/stable
[env]

pcre/8.44: Forced build from source
pcre/8.44 (test package): Installing package
Requirements
    bzip2/1.0.8 from 'conan-center' - Cache
    pcre/8.44 from 'conan-center' - Cache
    zlib/1.2.11 from 'conan-center' - Cache
Packages
    bzip2/1.0.8:0bd3e5cf9465c9ad2dc53934b3e83cc82cba5ee4 - Cache
    pcre/8.44:0e11c5cd41bc2d3407a63681e17a8da6a165fd45 - Build
    zlib/1.2.11:f5582513960fe0b016319eb58b7a6308f4568d9b - Cache
Build requirements
    darwin-toolchain/1.3.0@ezored/stable from 'darwin-toolchain' - Cache
Build requirements packages
    darwin-toolchain/1.3.0@ezored/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache

Cross-build from 'Macos:x86_64' to 'iOS:armv7'
Installing (downloading, building) binaries...
bzip2/1.0.8: Already installed!
bzip2/1.0.8: Appending PATH environment variable: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/0bd3e5cf9465c9ad2dc53934b3e83cc82cba5ee4/bin
darwin-toolchain/1.3.0@ezored/stable: Already installed!
darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: Bitcode enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: ObjC ARC enabled: IGNORED
darwin-toolchain/1.3.0@ezored/stable: Visibility enabled: IGNORED
zlib/1.2.11: Already installed!
pcre/8.44: Applying build-requirement: darwin-toolchain/1.3.0@ezored/stable
pcre/8.44: WARN: Build folder is dirty, removing it: /Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45
pcre/8.44: Configuring sources in /Users/paulo/.conan/data/pcre/8.44/_/_/source
Downloading pcre-8.44.tar.gz completed [2041.75k]                                        

pcre/8.44: Copying sources to build folder
pcre/8.44: Building your package in /Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45
pcre/8.44: Generator cmake created conanbuildinfo.cmake
pcre/8.44: Generator cmake_find_package created Finddarwin-toolchain.cmake
pcre/8.44: Generator cmake_find_package created FindBZip2.cmake
pcre/8.44: Generator cmake_find_package created FindZLIB.cmake
pcre/8.44: Calling build()
-- The C compiler identification is AppleClang 12.0.5.12050022
-- The CXX compiler identification is AppleClang 12.0.5.12050022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: called inside local cache
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan: Adjusting fPIC flag (ON)
-- Conan: Using autogenerated FindBZip2.cmake
-- Found BZip2: 1.0.8 (found version "1.0.8") 
-- Library bz2 found /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/0bd3e5cf9465c9ad2dc53934b3e83cc82cba5ee4/lib/libbz2.a
-- Found: /Users/paulo/.conan/data/bzip2/1.0.8/_/_/package/0bd3e5cf9465c9ad2dc53934b3e83cc82cba5ee4/lib/libbz2.a
-- Conan: Using autogenerated FindZLIB.cmake
-- Found ZLIB: 1.2.11 (found version "1.2.11") 
-- Library z found /Users/paulo/.conan/data/zlib/1.2.11/_/_/package/f5582513960fe0b016319eb58b7a6308f4568d9b/lib/libz.a
-- Found: /Users/paulo/.conan/data/zlib/1.2.11/_/_/package/f5582513960fe0b016319eb58b7a6308f4568d9b/lib/libz.a
CMake Warning at source_subfolder/CMakeLists.txt:84 (FIND_PACKAGE):
  By not providing "FindReadline.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Readline",
  but CMake did not find one.

  Could not find a package configuration file provided by "Readline" with any
  of the following names:

    ReadlineConfig.cmake
    readline-config.cmake

  Add the installation prefix of "Readline" to CMAKE_PREFIX_PATH or set
  "Readline_DIR" to a directory containing one of the above files.  If
  "Readline" provides a separate development package or SDK, be sure it has
  been installed.

CMake Warning at source_subfolder/CMakeLists.txt:85 (FIND_PACKAGE):
  By not providing "FindEditline.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Editline",
  but CMake did not find one.

  Could not find a package configuration file provided by "Editline" with any
  of the following names:

    EditlineConfig.cmake
    editline-config.cmake

  Add the installation prefix of "Editline" to CMAKE_PREFIX_PATH or set
  "Editline_DIR" to a directory containing one of the above files.  If
  "Editline" provides a separate development package or SDK, be sure it has
  been installed.

-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for C++ include type_traits.h
-- Looking for C++ include type_traits.h - not found
-- Looking for C++ include bits/type_traits.h
-- Looking for C++ include bits/type_traits.h - not found
-- Looking for bcopy
-- Looking for bcopy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long long
-- Check size of long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- 
-- 
-- PCRE configuration summary:
-- 
--   Install prefix .................. : /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45
--   C compiler ...................... : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
--   C++ compiler .................... : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
--   C compiler flags ................ :    -O3 -DNDEBUG 
--   C++ compiler flags .............. :    -O3 -DNDEBUG 
-- 
--   Build 8 bit PCRE library ........ : True
--   Build 16 bit PCRE library ....... : True
--   Build 32 bit PCRE library ....... : True
--   Build C++ library ............... : False
--   Enable JIT compiling support .... : False
--   Enable UTF support .............. : False
--   Unicode properties .............. : False
--   Newline char/sequence ........... : LF
--   \R matches only ANYCRLF ......... : OFF
--   EBCDIC coding ................... : OFF
--   EBCDIC coding with NL=0x25 ...... : OFF
--   Rebuild char tables ............. : OFF
--   No stack recursion .............. : False
--   POSIX mem threshold ............. : 10
--   Internal link size .............. : 2
--   Parentheses nest limit .......... : 250
--   Match limit ..................... : 10000000
--   Match limit recursion ........... : MATCH_LIMIT
--   Build shared libs ............... : OFF
--   Build static libs ............... : ON
--   Build pcregrep .................. : True
--   Enable JIT in pcregrep .......... : ON
--   Buffer size for pcregrep ........ : 20480
--   Build tests (implies pcretest  .. : False
--                and pcregrep)
--   Link pcregrep with libz ......... : True
--   Link pcregrep with libbz2 ....... : True
--   Link pcretest with libeditline .. : Library not found
--   Link pcretest with libreadline .. : Library not found
--   Support Valgrind .................: OFF
--   Support coverage .................: 
-- 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DATAROOTDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR

-- Build files have been written to: /Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/build_subfolder
[  2%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_byte_order.c.o
[  2%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_byte_order.c.o
[  6%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_compile.c.o
[  9%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_compile.c.o
[  8%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_chartables.c.o
[ 11%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_chartables.c.o
[ 11%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_byte_order.c.o
[ 11%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_compile.c.o
[ 12%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_chartables.c.o
[ 13%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_config.c.o
[ 15%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_config.c.o
[ 16%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_config.c.o
[ 19%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_dfa_exec.c.o
[ 20%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_dfa_exec.c.o
[ 20%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_dfa_exec.c.o
[ 23%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_exec.c.o
[ 23%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_exec.c.o
[ 25%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_exec.c.o
[ 26%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_fullinfo.c.o
[ 29%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_get.c.o
[ 29%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_fullinfo.c.o
[ 30%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_globals.c.o
[ 31%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_get.c.o
[ 33%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_fullinfo.c.o
[ 34%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_globals.c.o
[ 36%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_get.c.o
[ 37%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_jit_compile.c.o
[ 38%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_maketables.c.o
[ 40%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_globals.c.o
[ 41%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_jit_compile.c.o
[ 43%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_jit_compile.c.o
[ 44%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_maketables.c.o
[ 45%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_maketables.c.o
[ 47%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_newline.c.o
[ 48%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_newline.c.o
[ 50%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_newline.c.o
[ 51%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_ord2utf8.c.o
[ 52%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_ord2utf32.c.o
[ 54%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_refcount.c.o
[ 55%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_refcount.c.o
[ 56%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_string_utils.c.o
[ 58%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_string_utils.c.o
[ 59%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_ord2utf16.c.o
[ 61%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_study.c.o
[ 62%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_refcount.c.o
[ 65%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_string_utils.c.o
[ 65%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_tables.c.o
[ 66%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_study.c.o
[ 68%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_ucd.c.o
[ 69%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_tables.c.o
[ 70%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_study.c.o
[ 72%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_utf32_utils.c.o
[ 73%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_ucd.c.o
[ 75%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_valid_utf32.c.o
[ 76%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_tables.c.o
[ 77%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_valid_utf8.c.o
[ 79%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_ucd.c.o
[ 80%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_version.c.o
[ 81%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_utf16_utils.c.o
[ 83%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_version.c.o
[ 84%] Building C object source_subfolder/CMakeFiles/pcre32.dir/pcre32_xclass.c.o
[ 86%] Building C object source_subfolder/CMakeFiles/pcre.dir/pcre_xclass.c.o
[ 87%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_valid_utf16.c.o
[ 90%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_version.c.o
[ 90%] Building C object source_subfolder/CMakeFiles/pcre16.dir/pcre16_xclass.c.o
[ 91%] Linking C static library ../lib/libpcre32.a
[ 93%] Linking C static library ../lib/libpcre.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../lib/libpcre.a(pcre_string_utils.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../lib/libpcre.a(pcre_string_utils.c.o) has no symbols
[ 93%] Built target pcre32
[ 93%] Built target pcre
[ 94%] Building C object source_subfolder/CMakeFiles/pcreposix.dir/pcreposix.c.o
[ 95%] Linking C static library ../lib/libpcre16.a
[ 97%] Linking C static library ../lib/libpcreposix.a
[ 97%] Built target pcreposix
[ 97%] Built target pcre16
[ 98%] Building C object source_subfolder/CMakeFiles/pcregrep.dir/pcregrep.c.o
[100%] Linking C executable ../bin/pcregrep.app/pcregrep
[100%] Built target pcregrep
pcre/8.44: Package '0e11c5cd41bc2d3407a63681e17a8da6a165fd45' built
pcre/8.44: Build folder /Users/paulo/.conan/data/pcre/8.44/_/_/build/0e11c5cd41bc2d3407a63681e17a8da6a165fd45
pcre/8.44: Generated conaninfo.txt
pcre/8.44: Generated conanbuildinfo.txt
pcre/8.44: Generating the package
pcre/8.44: Package folder /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45
pcre/8.44: Calling package()
Consolidate compiler generated dependencies of target pcre
Consolidate compiler generated dependencies of target pcre16
Consolidate compiler generated dependencies of target pcre32
[ 30%] Built target pcre
[ 88%] Built target pcre32
[ 94%] Built target pcre16
Consolidate compiler generated dependencies of target pcreposix
[ 97%] Built target pcreposix
Consolidate compiler generated dependencies of target pcregrep
[100%] Built target pcregrep
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/lib/libpcre.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/lib/libpcre.a(pcre_string_utils.c.o) has no symbols
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/lib/libpcreposix.a
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/lib/libpcre16.a
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/lib/libpcre32.a
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/bin/pcregrep.app
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/bin/pcregrep.app/Info.plist
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/bin/pcregrep.app/pcregrep
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/include/pcre.h
-- Installing: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/include/pcreposix.h
pcre/8.44 package(): Packaged 1 '.plist' file: Info.plist
pcre/8.44 package(): Packaged 2 files: pcregrep, LICENCE
pcre/8.44 package(): Packaged 2 '.h' files: pcreposix.h, pcre.h
pcre/8.44 package(): Packaged 4 '.a' files: libpcre16.a, libpcre32.a, libpcreposix.a, libpcre.a
pcre/8.44: Package '0e11c5cd41bc2d3407a63681e17a8da6a165fd45' created
pcre/8.44: Created package revision 559bab45dc1b8fa58ac48aa34180908a
pcre/8.44: Appending PATH environment variable: /Users/paulo/.conan/data/pcre/8.44/_/_/package/0e11c5cd41bc2d3407a63681e17a8da6a165fd45/bin
pcre/8.44 (test package): Applying build-requirement: darwin-toolchain/1.3.0@ezored/stable
pcre/8.44 (test package): Generator cmake created conanbuildinfo.cmake
pcre/8.44 (test package): Generator txt created conanbuildinfo.txt
pcre/8.44 (test package): Generated conaninfo.txt
pcre/8.44 (test package): Generated graphinfo
Using lockfile: '/Users/paulo/Developer/workspaces/cpp/conan-center-index/recipes/pcre/all/test_package/build/55ce4441b2f6902d2c1307d9f1939b9748c0d407/conan.lock'
Using cached profile from lockfile
pcre/8.44 (test package): Calling build()
-- The C compiler identification is AppleClang 12.0.5.12050022
-- The CXX compiler identification is AppleClang 12.0.5.12050022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: called by CMake conan helper
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Conan: C++ stdlib: libc++
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DATAROOTDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR

-- Build files have been written to: /Users/paulo/Developer/workspaces/cpp/conan-center-index/recipes/pcre/all/test_package/build/55ce4441b2f6902d2c1307d9f1939b9748c0d407
[ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o
[100%] Linking C executable bin/test_package.app/test_package
[100%] Built target test_package
pcre/8.44 (test package): Running test()
madebr commented 3 years ago

Doesn't this problem occur for more recipes?

paulocoutinhox commented 3 years ago

I have tested with my project ezored (github.com/ezored/ezored) and only this dependency have problem.

What was tested: iOS, macOS, watchOS and tvOS

SpaceIm commented 3 years ago

@uilianries this PR can be closed I think, thanks to https://github.com/conan-io/conan-center-index/pull/6101 (though, last time I checked, the new revision was not available in conan-center).

madebr commented 3 years ago

@paulo-coutinho Was https://github.com/conan-io/conan-center-index/issues/6062#issuecomment-874930155 correct? Is this still a problem for you?

paulocoutinhox commented 3 years ago

It was solved