******************************************************************************** conan test conan-center-index/recipes/librtlsdr/all/test_package/conanfile.py librtlsdr/0.8@ --profile=/Users/jenkins/w/BuildSingleReference@4/26438/34a1d9fb-88cc-4b36-ae8d-1c73d2660383/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=11.0 os=Macos os_build=Macos [options] librtlsdr:shared=False [build_requires] [env] librtlsdr/0.8 (test package): Installing package Requirements librtlsdr/0.8 from local cache - Cache libusb/1.0.24 from 'conan-center' - Cache Packages librtlsdr/0.8:914877181f0f168ae8e996e709d887f80bca3018 - Cache libusb/1.0.24:0aa7be2d0914b6f3128105e305c90b9cb0cae86d - Cache Installing (downloading, building) binaries... libusb/1.0.24: 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 librtlsdr/0.8: 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 librtlsdr/0.8 (test package): Generator cmake created conanbuildinfo.cmake librtlsdr/0.8 (test package): Generator txt created conanbuildinfo.txt librtlsdr/0.8 (test package): Generator cmake_find_package created Findlibrtlsdr.cmake librtlsdr/0.8 (test package): Generator cmake_find_package created Findlibusb.cmake librtlsdr/0.8 (test package): Generated conaninfo.txt librtlsdr/0.8 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/librtlsdr/all/test_package/build/58d7c9024064ec0c3a5a5680944fdb655cc91bf2/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 librtlsdr/0.8 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/librtlsdr/all/test_package/build/58d7c9024064ec0c3a5a5680944fdb655cc91bf2' && 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="11.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/librtlsdr/all/test_package/build/58d7c9024064ec0c3a5a5680944fdb655cc91bf2/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_MODULE_PATH="/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/librtlsdr/all/test_package/build/58d7c9024064ec0c3a5a5680944fdb655cc91bf2" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/librtlsdr/all/test_package' ----------------- -- The C compiler identification is AppleClang 11.0.0.11000033 -- The CXX compiler identification is AppleClang 11.0.0.11000033 -- Check for working C compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- 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++ -- Conan: Using autogenerated Findlibrtlsdr.cmake -- Found librtlsdr: 0.8 (found version "0.8") -- Conan: Using autogenerated Findlibusb.cmake -- Found libusb: 1.0.24 (found version "1.0.24") -- Library usb-1.0 found /Users/jenkins/w/BuildSingleReference@4/.conan/data/libusb/1.0.24/_/_/package/0aa7be2d0914b6f3128105e305c90b9cb0cae86d/lib/libusb-1.0.a -- Found: /Users/jenkins/w/BuildSingleReference@4/.conan/data/libusb/1.0.24/_/_/package/0aa7be2d0914b6f3128105e305c90b9cb0cae86d/lib/libusb-1.0.a -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/librtlsdr/all/test_package/build/58d7c9024064ec0c3a5a5680944fdb655cc91bf2 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/librtlsdr/all/test_package/build/58d7c9024064ec0c3a5a5680944fdb655cc91bf2' '--' '-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: "_rtlsdr_get_ver_id", referenced from: _main in test_package.cpp.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: librtlsdr/0.8 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/librtlsdr/all/test_package/build/58d7c9024064ec0c3a5a5680944fdb655cc91bf2' '--' '-j4'