******************************************************************************** conan test conan-center-index/recipes/odbc/all/test_package/conanfile.py odbc/2.3.7@ --profile=/home/conan/w/BuildSingleReference/6823/477dd0c1-b3f0-4082-b4eb-89880be9b405/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=4.9 os=Linux os_build=Linux [options] odbc:shared=False [build_requires] [env] odbc/2.3.7 (test package): Installing package Requirements libiconv/1.16 from 'conan-center' - Cache odbc/2.3.7 from local cache - Cache Packages libiconv/1.16:b869e6c05cb587ad588e5ec485deb62012ec7b93 - Cache odbc/2.3.7:b9fd619bc70e4ee51fc1d3d7602db8e749b6324e - Cache Installing (downloading, building) binaries... libiconv/1.16: Already installed! libiconv/1.16: Appending PATH environment var: /home/conan/w/BuildSingleReference/.conan/data/libiconv/1.16/_/_/package/b869e6c05cb587ad588e5ec485deb62012ec7b93/bin [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 odbc/2.3.7: Already installed! odbc/2.3.7: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/odbc/2.3.7/_/_/package/b9fd619bc70e4ee51fc1d3d7602db8e749b6324e/bin [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 odbc/2.3.7 (test package): Generator cmake_find_package created FindODBC.cmake odbc/2.3.7 (test package): Generator cmake_find_package created FindIconv.cmake odbc/2.3.7 (test package): Generator txt created conanbuildinfo.txt odbc/2.3.7 (test package): Generator cmake created conanbuildinfo.cmake odbc/2.3.7 (test package): Generated conaninfo.txt odbc/2.3.7 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/odbc/all/test_package/build/32c36fff7780b5529d1440fa24c995797fa5d18b/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 odbc/2.3.7 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/odbc/all/test_package/build/32c36fff7780b5529d1440fa24c995797fa5d18b' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="4.9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/odbc/all/test_package/build/32c36fff7780b5529d1440fa24c995797fa5d18b/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="/home/conan/w/BuildSingleReference/conan-center-index/recipes/odbc/all/test_package/build/32c36fff7780b5529d1440fa24c995797fa5d18b" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/odbc/all/test_package' ----------------- -- The C compiler identification is GNU 4.9.4 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C 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 -- This project seems to be plain C, using 'GNU' compiler -- Conan: Checking correct version: 4.9 -- Conan: C++ stdlib: libstdc++ -- Conan: Using autogenerated FindODBC.cmake -- Found ODBC: 2.3.7 (found version "2.3.7") -- Conan: Using autogenerated FindIconv.cmake -- Found Iconv: 1.16 (found version "1.16") -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/odbc/all/test_package/build/32c36fff7780b5529d1440fa24c995797fa5d18b ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/odbc/all/test_package/build/32c36fff7780b5529d1440fa24c995797fa5d18b' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/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 CMakeFiles/test_package.dir/test_package.c.o: In function `driver_connect': test_package.c:(.text+0x1d): undefined reference to `SQLDriverConnect' collect2: error: ld returned 1 exit status make[2]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component odbc::odbc libdir "lib" does not contain any declared library ERROR: odbc/2.3.7 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/odbc/all/test_package/build/32c36fff7780b5529d1440fa24c995797fa5d18b' '--' '-j3'