******************************************************************************** conan test conan-center-index/recipes/sdl/all/test_package/conanfile.py sdl/2.0.14@ --profile=/Users/jenkins/w/BuildSingleReference/11334/75182a0c-3af4-4383-85a7-8d77426e8d46/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos os_build=Macos [options] sdl:shared=False [build_requires] [env] sdl/2.0.14 (test package): Installing package Requirements sdl/2.0.14 from local cache - Cache Packages sdl/2.0.14:74c080f75946fc09cbc5f442ef0292ccda741028 - Cache Installing (downloading, building) binaries... sdl/2.0.14: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK sdl/2.0.14 (test package): Generator cmake_find_package_multi created SDL2ConfigVersion.cmake sdl/2.0.14 (test package): Generator cmake_find_package_multi created SDL2Target-release.cmake sdl/2.0.14 (test package): Generator cmake_find_package_multi created SDL2Targets.cmake sdl/2.0.14 (test package): Generator cmake_find_package_multi created SDL2Config.cmake sdl/2.0.14 (test package): Generator txt created conanbuildinfo.txt sdl/2.0.14 (test package): Generator cmake created conanbuildinfo.cmake sdl/2.0.14 (test package): Generated conaninfo.txt sdl/2.0.14 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package/build/80a44b09902d44da6acbfe992e145636e35708d9/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 sdl/2.0.14 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package/build/80a44b09902d44da6acbfe992e145636e35708d9' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -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/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package/build/80a44b09902d44da6acbfe992e145636e35708d9/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/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package/build/80a44b09902d44da6acbfe992e145636e35708d9" -DCMAKE_MODULE_PATH="/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package/build/80a44b09902d44da6acbfe992e145636e35708d9" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DSDL2_SHARED="False" -Wno-dev '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package' ----------------- -- The C compiler identification is AppleClang 12.0.0.12000032 -- The CXX compiler identification is AppleClang 12.0.0.12000032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/administrator/Downloads/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: /Users/administrator/Downloads/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++ -- Library SDL2main found /Users/jenkins/w/BuildSingleReference/.conan/data/sdl/2.0.14/_/_/package/74c080f75946fc09cbc5f442ef0292ccda741028/lib/libSDL2main.a -- Found: /Users/jenkins/w/BuildSingleReference/.conan/data/sdl/2.0.14/_/_/package/74c080f75946fc09cbc5f442ef0292ccda741028/lib/libSDL2main.a -- Library SDL2 found /Users/jenkins/w/BuildSingleReference/.conan/data/sdl/2.0.14/_/_/package/74c080f75946fc09cbc5f442ef0292ccda741028/lib/libSDL2.a -- Found: /Users/jenkins/w/BuildSingleReference/.conan/data/sdl/2.0.14/_/_/package/74c080f75946fc09cbc5f442ef0292ccda741028/lib/libSDL2.a -- Library SDL2 found /Users/jenkins/w/BuildSingleReference/.conan/data/sdl/2.0.14/_/_/package/74c080f75946fc09cbc5f442ef0292ccda741028/lib/libSDL2.a -- Found: /Users/jenkins/w/BuildSingleReference/.conan/data/sdl/2.0.14/_/_/package/74c080f75946fc09cbc5f442ef0292ccda741028/lib/libSDL2.a -- Library SDL2main found /Users/jenkins/w/BuildSingleReference/.conan/data/sdl/2.0.14/_/_/package/74c080f75946fc09cbc5f442ef0292ccda741028/lib/libSDL2main.a -- Found: /Users/jenkins/w/BuildSingleReference/.conan/data/sdl/2.0.14/_/_/package/74c080f75946fc09cbc5f442ef0292ccda741028/lib/libSDL2main.a -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package/build/80a44b09902d44da6acbfe992e145636e35708d9 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package/build/80a44b09902d44da6acbfe992e145636e35708d9' '--' '-j4' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX 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: _SDL_iconv_REAL in libSDL2.a(SDL_iconv.c.o) _SDL_iconv_string_REAL in libSDL2.a(SDL_iconv.c.o) (maybe you meant: _SDL_iconv_open_REAL, _SDL_iconv_string_REAL , _SDL_iconv_close_REAL , _SDL_iconv_open , _SDL_iconv , _SDL_iconv_close , _SDL_iconv_string , _SDL_iconv_REAL ) "_iconv_close", referenced from: _SDL_iconv_close_REAL in libSDL2.a(SDL_iconv.c.o) _SDL_iconv_string_REAL in libSDL2.a(SDL_iconv.c.o) (maybe you meant: _SDL_iconv_close_REAL, _SDL_iconv_close ) "_iconv_open", referenced from: _SDL_iconv_open_REAL in libSDL2.a(SDL_iconv.c.o) _SDL_iconv_string_REAL in libSDL2.a(SDL_iconv.c.o) (maybe you meant: _SDL_iconv_open_REAL, _SDL_iconv_open ) 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: sdl/2.0.14 (test package): Error in build() method, line 10 self.build_cmake() while calling 'build_cmake', line 25 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/sdl/all/test_package/build/80a44b09902d44da6acbfe992e145636e35708d9' '--' '-j4'