******************************************************************************** conan install libpng/1.5.2@#3036f6364023e3503636cb643ea44bec --build=libpng -pr /Users/jenkins/w/prod/BuildSingleReference@2/65551/c84fe68c-d661-45a0-9065-daef09d79c92/profile_osx_130_libcpp_apple-clang_release_64.libpng-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True -c tools.apple:sdk_path=/Applications/conan/xcode/13/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/Users/jenkins/w/prod/BuildSingleReference@2/.conan/profiles/default) Found apple-clang 13.0 apple-clang>=13, using the major as version Default settings os=Macos os_build=Macos arch=x86_64 arch_build=x86_64 compiler=apple-clang compiler.version=13 compiler.libcxx=libc++ build_type=Release *** You can change them in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] libpng:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/13/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk zlib/1.2.12: Not found in local cache, looking in remotes... zlib/1.2.12: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.12: Downloaded recipe revision 3b9e037ae1c615d045a06c67d88491ae libpng/1.5.2: Forced build from source Installing package: libpng/1.5.2 Requirements libpng/1.5.2 from local cache - Cache zlib/1.2.12 from 'conan-center' - Downloaded Packages libpng/1.5.2:1f28ef21536b01906a19c1c67bcaa87e4e65eee0 - Build zlib/1.2.12:e4fbacdee83eb1a2e68227ffe19f6e9a61b36cbc - Download Installing (downloading, building) binaries... zlib/1.2.12: Retrieving package e4fbacdee83eb1a2e68227ffe19f6e9a61b36cbc from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.12: Package installed e4fbacdee83eb1a2e68227ffe19f6e9a61b36cbc zlib/1.2.12: Downloaded package revision 58800202937f8a5861e9973fbb2d0797 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libpng/1.5.2: Configuring sources in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/source [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 libpng/1.5.2: Copying sources to build folder libpng/1.5.2: Building your package in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0 libpng/1.5.2: Generator cmake created conanbuildinfo.cmake libpng/1.5.2: Generator cmake_find_package created FindZLIB.cmake libpng/1.5.2: 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 libpng/1.5.2: Calling build() ----Running------ > cd '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="13.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/package/1f28ef21536b01906a19c1c67bcaa87e4e65eee0" -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" -DCMAKE_MODULE_PATH="/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DPNG_TESTS="False" -DPNG_SHARED="True" -DPNG_STATIC="False" -DPNG_DEBUG="False" -DPNG_PREFIX="" -DPNG_INTEL_SSE="on" -Wno-dev '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0' ----------------- -- The C compiler identification is AppleClang 13.0.0.13000029 -- The CXX compiler identification is AppleClang 13.0.0.13000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/13/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/conan/xcode/13/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 language standard -- Conan: Using autogenerated FindZLIB.cmake -- Found ZLIB: 1.2.12 (found version "1.2.12") -- Library z found /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/zlib/1.2.12/_/_/package/e4fbacdee83eb1a2e68227ffe19f6e9a61b36cbc/lib/libz.a -- Found: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/zlib/1.2.12/_/_/package/e4fbacdee83eb1a2e68227ffe19f6e9a61b36cbc/lib/libz.a -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0 ----Running------ > cmake --build '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0' '--' '-j4' ----------------- [ 6%] Building C object source_subfolder/CMakeFiles/png15.dir/png.o [ 12%] Building C object source_subfolder/CMakeFiles/png15.dir/pngerror.o [ 18%] Building C object source_subfolder/CMakeFiles/png15.dir/pngget.o [ 25%] Building C object source_subfolder/CMakeFiles/png15.dir/pngmem.o [ 31%] Building C object source_subfolder/CMakeFiles/png15.dir/pngpread.o [ 37%] Building C object source_subfolder/CMakeFiles/png15.dir/pngread.o [ 43%] Building C object source_subfolder/CMakeFiles/png15.dir/pngrio.o [ 50%] Building C object source_subfolder/CMakeFiles/png15.dir/pngrtran.o [ 56%] Building C object source_subfolder/CMakeFiles/png15.dir/pngrutil.o [ 62%] Building C object source_subfolder/CMakeFiles/png15.dir/pngset.o [ 68%] Building C object source_subfolder/CMakeFiles/png15.dir/pngtrans.o [ 75%] Building C object source_subfolder/CMakeFiles/png15.dir/pngwio.o [ 81%] Building C object source_subfolder/CMakeFiles/png15.dir/pngwrite.o [ 87%] Building C object source_subfolder/CMakeFiles/png15.dir/pngwtran.o [ 93%] Building C object source_subfolder/CMakeFiles/png15.dir/pngwutil.o [100%] Linking C shared library ../lib/libpng15.dylib libpng/1.5.2: CMake Error: failed to create symbolic link '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0/lib/libpng.pc': no such file or directory CMake Error: failed to create symbolic link '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0/lib/libpng.pc': no such file or directory CMake Error: failed to create symbolic link '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0/lib/libpng-config': no such file or directory CMake Error: failed to create symbolic link '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0/lib/libpng-config': no such file or directory CMake Error: failed to create symbolic link '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0/lib/libpng.dylib': no such file or directory CMake Error: failed to create symbolic link '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0/lib/libpng.dylib': no such file or directory 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_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR PNG_INTEL_SSE PNG_PREFIX Undefined symbols for architecture x86_64: "_crc32", referenced from: _png_reset_crc in png.o _png_calculate_crc in png.o "_deflate", referenced from: _png_write_flush in pngwrite.o _png_text_compress in pngwutil.o _png_write_finish_row in pngwutil.o _png_write_filtered_row in pngwutil.o "_deflateEnd", referenced from: _png_write_destroy in pngwrite.o "_deflateInit2_", referenced from: _png_write_IHDR in pngwutil.o "_deflateReset", referenced from: _png_write_compressed_data_out in pngwutil.o _png_write_finish_row in pngwutil.o "_inflate", referenced from: _png_push_read_zTXt in pngpread.o _png_process_IDAT_data in pngpread.o _png_read_row in pngread.o _png_inflate in pngrutil.o _png_read_finish_row in pngrutil.o "_inflateEnd", referenced from: _png_read_destroy in pngread.o "_inflateInit_", referenced from: _png_create_read_struct_2 in pngread.o "_inflateReset", referenced from: _png_reset_zstream in png.o _png_push_read_zTXt in pngpread.o _png_inflate in pngrutil.o _png_read_finish_row in pngrutil.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [lib/libpng15.15.21.0.dylib] Error 1 make[1]: *** [source_subfolder/CMakeFiles/png15.dir/all] Error 2 make: *** [all] Error 2 libpng/1.5.2: ERROR: Package '1f28ef21536b01906a19c1c67bcaa87e4e65eee0' build failed libpng/1.5.2: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0 ERROR: libpng/1.5.2: Error in build() method, line 163 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libpng/1.5.2/_/_/build/1f28ef21536b01906a19c1c67bcaa87e4e65eee0' '--' '-j4'