******************************************************************************** conan test conan-center-index/recipes/libxls/all/test_package/conanfile.py libxls/1.6.2@#8abc513f42a63e570351a680329f154a -pr /Users/jenkins/w/prod/BuildSingleReference@3/71429/9db43dc4-82aa-44ce-a20e-e05df0a42cfb/profile_osx_120_libcpp_apple-clang_debug_64.libxls-shared-False.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 ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] libxls:shared=False [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 libxls/1.6.2 (test package): Installing package Requirements libiconv/1.17 from 'conan-center' - Cache libxls/1.6.2 from local cache - Cache Packages libiconv/1.17:d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2 - Cache libxls/1.6.2:56d64ab19aa4c408bea4e1d01c4ce65ea0e52296 - Cache Installing (downloading, building) binaries... libiconv/1.17: Already installed! libiconv/1.17: Appending PATH environment var: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libiconv/1.17/_/_/package/d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2/bin libxls/1.6.2: Already installed! libxls/1.6.2 (test package): Generator 'VirtualRunEnv' calling 'generate()' libxls/1.6.2 (test package): Generator 'CMakeDeps' calling 'generate()' libxls/1.6.2 (test package): Generator txt created conanbuildinfo.txt libxls/1.6.2 (test package): Generator 'CMakeToolchain' calling 'generate()' libxls/1.6.2 (test package): Aggregating env generators libxls/1.6.2 (test package): Generated conaninfo.txt libxls/1.6.2 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/conan.lock' Using cached profile from lockfile [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 (test package): Calling build() libxls/1.6.2 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/." ----------------- -- Using Conan toolchain: /Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/build/generators/conan_toolchain.cmake -- 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 -- Conan: Target declared 'libxls::libxls' -- Conan: Target declared 'Iconv::Iconv' -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/build/Debug libxls/1.6.2 (test package): CMake command: cmake --build "/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/build/Debug" '--' '-j4' ----Running------ > cmake --build "/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/build/Debug" '--' '-j4' ----------------- [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable test_package Undefined symbols for architecture x86_64: "_iconv", referenced from: _unicode_decode_iconv in libxlsreader.a(xlstool.c.o) "_iconv_close", referenced from: _xls_close_WB in libxlsreader.a(xls.c.o) "_iconv_open", referenced from: _codepage_decode in libxlsreader.a(xlstool.c.o) _unicode_decode in libxlsreader.a(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]: *** [test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 libxls/1.6.2 (test package): 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 (test package): 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 ERROR: libxls/1.6.2 (test package): Error in build() method, line 20 cmake.build() ConanException: Error 2 while executing cmake --build "/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/build/Debug" '--' '-j4' ******************************************************************************** conan test conan-center-index/recipes/libxls/all/test_v1_package/conanfile.py libxls/1.6.2@#8abc513f42a63e570351a680329f154a -pr /Users/jenkins/w/prod/BuildSingleReference@3/71429/9db43dc4-82aa-44ce-a20e-e05df0a42cfb/profile_osx_120_libcpp_apple-clang_debug_64.libxls-shared-False.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 ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] libxls:shared=False [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 libxls/1.6.2 (test package): Installing package Requirements libiconv/1.17 from 'conan-center' - Cache libxls/1.6.2 from local cache - Cache Packages libiconv/1.17:d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2 - Cache libxls/1.6.2:56d64ab19aa4c408bea4e1d01c4ce65ea0e52296 - Cache Installing (downloading, building) binaries... libiconv/1.17: Already installed! libiconv/1.17: Appending PATH environment var: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libiconv/1.17/_/_/package/d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2/bin libxls/1.6.2: Already installed! libxls/1.6.2 (test package): Generator cmake created conanbuildinfo.cmake libxls/1.6.2 (test package): Generator txt created conanbuildinfo.txt libxls/1.6.2 (test package): Generator cmake_find_package_multi created libxls-config-version.cmake libxls/1.6.2 (test package): Generator cmake_find_package_multi created libxls-config.cmake libxls/1.6.2 (test package): Generator cmake_find_package_multi created libxlsTargets.cmake libxls/1.6.2 (test package): Generator cmake_find_package_multi created libxlsTarget-debug.cmake libxls/1.6.2 (test package): Generator cmake_find_package_multi created IconvConfigVersion.cmake libxls/1.6.2 (test package): Generator cmake_find_package_multi created IconvConfig.cmake libxls/1.6.2 (test package): Generator cmake_find_package_multi created IconvTargets.cmake libxls/1.6.2 (test package): Generator cmake_find_package_multi created IconvTarget-debug.cmake libxls/1.6.2 (test package): Aggregating env generators libxls/1.6.2 (test package): Generated conaninfo.txt libxls/1.6.2 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package/build/9b57bb5489291a411e55be17bc4361574585242c/conan.lock' Using cached profile from lockfile [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 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package/build/9b57bb5489291a411e55be17bc4361574585242c' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package/build/9b57bb5489291a411e55be17bc4361574585242c/package" -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_PREFIX_PATH="/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package/build/9b57bb5489291a411e55be17bc4361574585242c" -DCMAKE_MODULE_PATH="/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package/build/9b57bb5489291a411e55be17bc4361574585242c" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package' ----------------- -- 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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library xlsreader found /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libxls/1.6.2/_/_/package/56d64ab19aa4c408bea4e1d01c4ce65ea0e52296/lib/libxlsreader.a -- Library iconv found /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libiconv/1.17/_/_/package/d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2/lib/libiconv.a -- Library charset found /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libiconv/1.17/_/_/package/d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2/lib/libcharset.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'AppleClang' compiler -- Conan: C++ stdlib: libc++ -- Library xlsreader found /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libxls/1.6.2/_/_/package/56d64ab19aa4c408bea4e1d01c4ce65ea0e52296/lib/libxlsreader.a -- Found: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libxls/1.6.2/_/_/package/56d64ab19aa4c408bea4e1d01c4ce65ea0e52296/lib/libxlsreader.a -- Library iconv found /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libiconv/1.17/_/_/package/d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2/lib/libiconv.a -- Found: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libiconv/1.17/_/_/package/d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2/lib/libiconv.a -- Library charset found /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libiconv/1.17/_/_/package/d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2/lib/libcharset.a -- Found: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libiconv/1.17/_/_/package/d98fae1010d1fb9e7f79a1e8a72bbf129d8660a2/lib/libcharset.a -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package/build/9b57bb5489291a411e55be17bc4361574585242c ----Running------ > cmake --build '/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package/build/9b57bb5489291a411e55be17bc4361574585242c' '--' '-j4' ----------------- [ 50%] Building C object CMakeFiles/test_package.dir/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_package/test_package.c.o [100%] Linking C executable bin/test_package 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 Undefined symbols for architecture x86_64: "_iconv", referenced from: _unicode_decode_iconv in libxlsreader.a(xlstool.c.o) "_iconv_close", referenced from: _xls_close_WB in libxlsreader.a(xls.c.o) "_iconv_open", referenced from: _codepage_decode in libxlsreader.a(xlstool.c.o) _unicode_decode in libxlsreader.a(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]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: libxls/1.6.2 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/prod/BuildSingleReference@3/conan-center-index/recipes/libxls/all/test_v1_package/build/9b57bb5489291a411e55be17bc4361574585242c' '--' '-j4'