******************************************************************************** conan install libxls/1.6.2@#7efbdb82a1af6085bf58dec581f8c876 --build=libxls -pr /Users/jenkins/w/prod/BuildSingleReference@2/71420/ce7ab34d-6720-45aa-9d18-960077c2626b/profile_osx_120_libcpp_apple-clang_release_64.libxls-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/12/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 12.0 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 *** 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=12.0 os=Macos [options] libxls: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/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk libiconv/1.17: Not found in local cache, looking in remotes... libiconv/1.17: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libiconv/1.17: Downloaded recipe revision ad0c819b9f423576b12ec2907b1c1fd0 libxls/1.6.2: Forced build from source Installing package: libxls/1.6.2 Requirements libiconv/1.17 from 'conan-center' - Downloaded libxls/1.6.2 from local cache - Cache Packages libiconv/1.17:647afeb69d3b0a2d3d316e80b24d38c714cc6900 - Download libxls/1.6.2:cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a - Build Installing (downloading, building) binaries... libiconv/1.17: Retrieving package 647afeb69d3b0a2d3d316e80b24d38c714cc6900 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libiconv/1.17: Package installed 647afeb69d3b0a2d3d316e80b24d38c714cc6900 libiconv/1.17: Downloaded package revision 555c7574d82d63d579cf6ac2af3b9a62 libiconv/1.17: Appending PATH environment var: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libiconv/1.17/_/_/package/647afeb69d3b0a2d3d316e80b24d38c714cc6900/bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libxls/1.6.2: Configuring sources in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/source/src libxls/1.6.2: [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 libxls/1.6.2: Copying sources to build folder libxls/1.6.2: Building your package in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a libxls/1.6.2: Generator txt created conanbuildinfo.txt libxls/1.6.2: Calling generate() libxls/1.6.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 libxls/1.6.2: Calling build() libxls/1.6.2: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/package/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/src/.." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/package/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/src/.." ----------------- -- Using Conan toolchain: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- 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/conan/xcode/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/build/Release libxls/1.6.2: CMake command: cmake --build "/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/build/Release" '--' '-j4' ----Running------ > cmake --build "/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/build/Release" '--' '-j4' ----------------- [ 16%] Building C object CMakeFiles/xlsreader.dir/src/src/endian.c.o [ 33%] Building C object CMakeFiles/xlsreader.dir/src/src/locale.c.o [ 50%] Building C object CMakeFiles/xlsreader.dir/src/src/ole.c.o [ 66%] Building C object CMakeFiles/xlsreader.dir/src/src/xls.c.o [ 83%] Building C object CMakeFiles/xlsreader.dir/src/src/xlstool.c.o [100%] Linking C shared library libxlsreader.dylib libxls/1.6.2: Undefined symbols for architecture x86_64: "_iconv", referenced from: _unicode_decode_iconv in xlstool.c.o "_iconv_close", referenced from: _xls_close_WB in xls.c.o "_iconv_open", referenced from: _codepage_decode in xlstool.c.o _unicode_decode in xlstool.c.o _get_string in xlstool.c.o _xls_getfcell in xlstool.c.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]: *** [libxlsreader.dylib] Error 1 make[1]: *** [CMakeFiles/xlsreader.dir/all] Error 2 make: *** [all] Error 2 libxls/1.6.2: 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 libxls/1.6.2: 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 libxls/1.6.2: ERROR: Package 'cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a' build failed libxls/1.6.2: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/build/Release ERROR: libxls/1.6.2: Error in build() method, line 70 cmake.build() ConanException: Error 2 while executing cmake --build "/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/libxls/1.6.2/_/_/build/cee8c7e6dfd714e0e3bdae3ec3b7fc925520696a/build/Release" '--' '-j4'