conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
964 stars 1.77k forks source link

[package] nanodbc/2.13.0: link error with unicode=True #8992

Open xakod opened 2 years ago

xakod commented 2 years ago

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=16
os=Windows
os_build=Windows
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

[options] nanodbc:unicode=True

- And try to build https://github.com/Jihadist/NanodbcSqlTest/blob/master/main.cpp

If I disable unicode (as default settings) everything will be ok.
### Logs (Include/Attach if Applicable)
<details><summary>Click to expand log</summary>

main.cpp.obj : error LNK2001: unresolved external symbol "public: cdecl nanodbc::connection::connection(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,long)" (??0connection@nanodbc@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@J@Z) main.cpp.obj : error LNK2001: unresolved external symbol "class nanodbc::result cdecl nanodbc::execute(class nanodbc::connection &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &,long,long)" (?execute@nanodbc@@YA?AVresult@1@AEAVconnection@1@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@JJ@Z)



</details>
perseoGI commented 2 months ago

Hi there, I was reviewing old issues and I have come across this one.

I've tested this locally in conan v2 and this is still an issue nowadays, see traces below:

$ conan create recipes/nanodbc/all --version 2.13.0 --build=missing -o '&:unicode=True'
``` ======== Exporting recipe to the cache ======== nanodbc/2.13.0: Exporting package recipe: /cci/recipes/nanodbc/all/conanfile.py nanodbc/2.13.0: exports: File 'conandata.yml' found. Exporting it... nanodbc/2.13.0: Calling export_sources() nanodbc/2.13.0: Copied 1 '.py' file: conanfile.py nanodbc/2.13.0: Copied 1 '.yml' file: conandata.yml nanodbc/2.13.0: Copied 3 '.patch' files: 0001-odbc-from-cci.patch, 0003-add-missing-include.patch, 0002-allow-windows-shared.patch nanodbc/2.13.0: Exported to cache folder: /root/.conan2/p/nanodcddc249929e56/e nanodbc/2.13.0: Exported: nanodbc/2.13.0#a095cfd6cb604421a1f5103ed0419f21 (2024-09-11 15:30:00 UTC) ======== Input profiles ======== Profile host: [settings] arch=armv8 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux [options] &:unicode=True [conf] tools.files.download:verify=False Profile build: [settings] arch=armv8 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux [conf] tools.files.download:verify=False ======== Computing dependency graph ======== Graph root cli Requirements autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache nanodbc/2.13.0#a095cfd6cb604421a1f5103ed0419f21 - Cache odbc/2.3.11#84d32d803c970271eb2fc58d3e3cc2b5 - Cache Build requirements autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache ======== Computing necessary packages ======== Requirements autoconf/2.71#f9307992909d7fb3df459340f1932809:da39a3ee5e6b4b0d3255bfef95601890afd80709#5b77f70c17ad1741f5845d4e468a347e - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50:9a4eb3c8701508aa9458b1a73d0633783ecc2270#9719e51a6a62041af6a63e00eef35434 - Cache libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:258056170a5add18e564ac86c77027634e725af3#fd76ac042b66c87ea4774925342266db - Cache libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b:258056170a5add18e564ac86c77027634e725af3#cb42d3b669a21fd17644b1f86acd6fa3 - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2:85c999356992c5713d308db1a4d7bab6bf572f27#31c4d1bf3c32b95f2a22b4613bc3a58d - Cache nanodbc/2.13.0#a095cfd6cb604421a1f5103ed0419f21:0dac4bd39caedc8ddfdd0f29dfc6322eebe44111#83ff5f6ad48231808101a207e548200c - Cache odbc/2.3.11#84d32d803c970271eb2fc58d3e3cc2b5:57324af9cdb4fcf0719f88eed31360a09ef3689b#3ca19e0ce92bf2c033b3dc3b00a999ef - Cache Build requirements Skipped binaries autoconf/2.71, automake/1.16.5, gnu-config/cci.20210814, m4/1.4.19 ======== Installing packages ======== libiconv/1.17: Already installed! (1 of 7) m4/1.4.19: Already installed! (2 of 7) autoconf/2.71: Already installed! (3 of 7) automake/1.16.5: Already installed! (4 of 7) libtool/2.4.7: Already installed! (5 of 7) libtool/2.4.7: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version. libtool/2.4.7: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version. odbc/2.3.11: Already installed! (6 of 7) nanodbc/2.13.0: Already installed! (7 of 7) WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X: WARN: deprecated: 'cpp_info.names' used in: odbc/2.3.11, libiconv/1.17 WARN: deprecated: 'env_info' used in: libiconv/1.17, m4/1.4.19, automake/1.16.5, autoconf/2.71, odbc/2.3.11, libtool/2.4.7 WARN: deprecated: 'user_info' used in: automake/1.16.5 ======== Launching test_package ======== ======== Computing dependency graph ======== Graph root nanodbc/2.13.0 (test package): /cci/recipes/nanodbc/all/test_package/conanfile.py Requirements autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache nanodbc/2.13.0#a095cfd6cb604421a1f5103ed0419f21 - Cache odbc/2.3.11#84d32d803c970271eb2fc58d3e3cc2b5 - Cache Build requirements autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache ======== Computing necessary packages ======== Requirements autoconf/2.71#f9307992909d7fb3df459340f1932809:da39a3ee5e6b4b0d3255bfef95601890afd80709#5b77f70c17ad1741f5845d4e468a347e - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50:9a4eb3c8701508aa9458b1a73d0633783ecc2270#9719e51a6a62041af6a63e00eef35434 - Cache libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:258056170a5add18e564ac86c77027634e725af3#fd76ac042b66c87ea4774925342266db - Cache libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b:258056170a5add18e564ac86c77027634e725af3#cb42d3b669a21fd17644b1f86acd6fa3 - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2:85c999356992c5713d308db1a4d7bab6bf572f27#31c4d1bf3c32b95f2a22b4613bc3a58d - Cache nanodbc/2.13.0#a095cfd6cb604421a1f5103ed0419f21:0dac4bd39caedc8ddfdd0f29dfc6322eebe44111#83ff5f6ad48231808101a207e548200c - Cache odbc/2.3.11#84d32d803c970271eb2fc58d3e3cc2b5:57324af9cdb4fcf0719f88eed31360a09ef3689b#3ca19e0ce92bf2c033b3dc3b00a999ef - Cache Build requirements Skipped binaries autoconf/2.71, automake/1.16.5, gnu-config/cci.20210814, m4/1.4.19 ======== Installing packages ======== libiconv/1.17: Already installed! (1 of 7) m4/1.4.19: Already installed! (2 of 7) autoconf/2.71: Already installed! (3 of 7) automake/1.16.5: Already installed! (4 of 7) libtool/2.4.7: Already installed! (5 of 7) libtool/2.4.7: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version. libtool/2.4.7: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version. odbc/2.3.11: Already installed! (6 of 7) nanodbc/2.13.0: Already installed! (7 of 7) WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X: WARN: deprecated: 'cpp_info.names' used in: odbc/2.3.11, libiconv/1.17 WARN: deprecated: 'env_info' used in: libiconv/1.17, m4/1.4.19, automake/1.16.5, autoconf/2.71, odbc/2.3.11, libtool/2.4.7 WARN: deprecated: 'user_info' used in: automake/1.16.5 ======== Testing the package ======== Removing previously existing 'test_package' build folder: /cci/recipes/nanodbc/all/test_package/build/gcc-13-armv8-gnu17-release nanodbc/2.13.0 (test package): Test package build: build/gcc-13-armv8-gnu17-release nanodbc/2.13.0 (test package): Test package build folder: /cci/recipes/nanodbc/all/test_package/build/gcc-13-armv8-gnu17-release nanodbc/2.13.0 (test package): Writing generators to /cci/recipes/nanodbc/all/test_package/build/gcc-13-armv8-gnu17-release/generators nanodbc/2.13.0 (test package): Generator 'CMakeToolchain' calling 'generate()' nanodbc/2.13.0 (test package): CMakeToolchain generated: conan_toolchain.cmake nanodbc/2.13.0 (test package): CMakeToolchain generated: /cci/recipes/nanodbc/all/test_package/build/gcc-13-armv8-gnu17-release/generators/CMakePresets.json nanodbc/2.13.0 (test package): CMakeToolchain generated: /cci/recipes/nanodbc/all/test_package/CMakeUserPresets.json nanodbc/2.13.0 (test package): Generator 'CMakeDeps' calling 'generate()' nanodbc/2.13.0 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt find_package(nanodbc) target_link_libraries(... nanodbc::nanodbc) nanodbc/2.13.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' nanodbc/2.13.0 (test package): Generating aggregated env files nanodbc/2.13.0 (test package): Generated aggregated env files: ['conanrun.sh', 'conanbuild.sh'] ======== Testing the package: Building ======== nanodbc/2.13.0 (test package): Calling build() nanodbc/2.13.0 (test package): Running CMake.configure() nanodbc/2.13.0 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/cci/recipes/nanodbc/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/cci/recipes/nanodbc/all/test_package" -- Using Conan toolchain: /cci/recipes/nanodbc/all/test_package/build/gcc-13-armv8-gnu17-release/generators/conan_toolchain.cmake -- Conan toolchain: C++ Standard 17 with extensions ON -- The CXX compiler identification is GNU 13.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'nanodbc::nanodbc' -- Conan: Component target declared 'odbc::_odbc' -- Conan: Component target declared 'odbc::odbcinst' -- Conan: Component target declared 'odbc::odbccr' -- Conan: Target declared 'ODBC::ODBC' -- Conan: Target declared 'libtool::libtool' -- Conan: Target declared 'automake::automake' -- Conan: Target declared 'autoconf::autoconf' -- Conan: Target declared 'm4::m4' -- Conan: Target declared 'Iconv::Iconv' -- Configuring done (0.4s) -- Generating done (0.0s) -- Build files have been written to: /cci/recipes/nanodbc/all/test_package/build/gcc-13-armv8-gnu17-release nanodbc/2.13.0 (test package): Running CMake.build() nanodbc/2.13.0 (test package): RUN: cmake --build "/cci/recipes/nanodbc/all/test_package/build/gcc-13-armv8-gnu17-release" -- -j6 [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package /usr/bin/ld: CMakeFiles/test_package.dir/test_package.cpp.o: in function `main': test_package.cpp:(.text.startup+0x40): undefined reference to `nanodbc::connection::connection(std::__cxx11::basic_string, std::allocator > const&, long)' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/test_package.dir/build.make:104: test_package] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/test_package.dir/all] Error 2 gmake: *** [Makefile:91: all] Error 2 ERROR: nanodbc/2.13.0 (test package): Error in build() method, line 20 cmake.build() ConanException: Error 2 while executing ```

It's worth mentioning that installing this package will actually compile:

$ conan install --requires nanodbc/2.13.0 --build=missing -o '&:unicode=True'
``` ======== Input profiles ======== Profile host: [settings] arch=armv8 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux [options] &:unicode=True [conf] tools.files.download:verify=False Profile build: [settings] arch=armv8 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux [conf] tools.files.download:verify=False ======== Computing dependency graph ======== nanodbc/2.13.0: Not found in local cache, looking in remotes... nanodbc/2.13.0: Checking remote: conancenter nanodbc/2.13.0: Downloaded recipe revision d5d222b7ec4f5e50048160bb01908074 Graph root cli Requirements autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache nanodbc/2.13.0#d5d222b7ec4f5e50048160bb01908074 - Downloaded (conancenter) odbc/2.3.11#84d32d803c970271eb2fc58d3e3cc2b5 - Cache Build requirements autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache ======== Computing necessary packages ======== nanodbc/2.13.0: Compatible package ID 0dac4bd39caedc8ddfdd0f29dfc6322eebe44111 equal to the default package ID: Skipping it. nanodbc/2.13.0: Checking 7 compatible configurations nanodbc/2.13.0: Compatible configurations not found in cache, checking servers nanodbc/2.13.0: 'c9b9d8601c4c41224a0e2460aac5fff4c084ecf0': compiler.cppstd=14 nanodbc/2.13.0: '0fbdefde6df9acddc8eb121f08b15b0e99826768': compiler.cppstd=gnu14 nanodbc/2.13.0: 'e22b9c427fc277136a30a245af6f4cf2cd8d7ef4': compiler.cppstd=17 nanodbc/2.13.0: 'd80bb3c1a75837a91489ad33c10877c18a8e56f7': compiler.cppstd=20 nanodbc/2.13.0: '59bd1ac3b09f2e2d5d9427dd69c0d329a5712a05': compiler.cppstd=gnu20 nanodbc/2.13.0: 'a718954f1cf2498e2adac51d2fab615457009838': compiler.cppstd=23 nanodbc/2.13.0: '674ac9c413c403ec8f3a3b7d2ec6d919a2f10d4f': compiler.cppstd=gnu23 Requirements autoconf/2.71#f9307992909d7fb3df459340f1932809:da39a3ee5e6b4b0d3255bfef95601890afd80709#5b77f70c17ad1741f5845d4e468a347e - Cache automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50:9a4eb3c8701508aa9458b1a73d0633783ecc2270#9719e51a6a62041af6a63e00eef35434 - Cache libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:258056170a5add18e564ac86c77027634e725af3#fd76ac042b66c87ea4774925342266db - Cache libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b:258056170a5add18e564ac86c77027634e725af3#cb42d3b669a21fd17644b1f86acd6fa3 - Cache m4/1.4.19#b38ced39a01e31fef5435bc634461fd2:85c999356992c5713d308db1a4d7bab6bf572f27#31c4d1bf3c32b95f2a22b4613bc3a58d - Cache nanodbc/2.13.0#d5d222b7ec4f5e50048160bb01908074:0dac4bd39caedc8ddfdd0f29dfc6322eebe44111 - Build odbc/2.3.11#84d32d803c970271eb2fc58d3e3cc2b5:57324af9cdb4fcf0719f88eed31360a09ef3689b#3ca19e0ce92bf2c033b3dc3b00a999ef - Cache Build requirements Skipped binaries autoconf/2.71, automake/1.16.5, gnu-config/cci.20210814, m4/1.4.19 ======== Installing packages ======== libiconv/1.17: Already installed! (1 of 7) m4/1.4.19: Already installed! (2 of 7) autoconf/2.71: Already installed! (3 of 7) automake/1.16.5: Already installed! (4 of 7) libtool/2.4.7: Already installed! (5 of 7) libtool/2.4.7: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version. libtool/2.4.7: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version. odbc/2.3.11: Already installed! (6 of 7) nanodbc/2.13.0: Sources downloaded from 'conancenter' nanodbc/2.13.0: Calling source() in /root/.conan2/p/nanodc75f3498f6540/s/src nanodbc/2.13.0: Unzipping v2.13.0.zip to . nanodbc/2.13.0: Unzipping 1.6MB, this can take a while Unzipping 100 % -------- Installing package nanodbc/2.13.0 (7 of 7) -------- nanodbc/2.13.0: Building from source nanodbc/2.13.0: Package nanodbc/2.13.0:0dac4bd39caedc8ddfdd0f29dfc6322eebe44111 nanodbc/2.13.0: Copying sources to build folder nanodbc/2.13.0: Building your package in /root/.conan2/p/b/nanod58674f2efaa70/b nanodbc/2.13.0: Calling generate() nanodbc/2.13.0: Generators folder: /root/.conan2/p/b/nanod58674f2efaa70/b/build/Release/generators nanodbc/2.13.0: CMakeToolchain generated: conan_toolchain.cmake nanodbc/2.13.0: CMakeToolchain generated: /root/.conan2/p/b/nanod58674f2efaa70/b/build/Release/generators/CMakePresets.json nanodbc/2.13.0: CMakeToolchain generated: /root/.conan2/p/b/nanod58674f2efaa70/b/src/CMakeUserPresets.json nanodbc/2.13.0: CMakeDeps necessary find_package() and targets for your CMakeLists.txt find_package(ODBC) target_link_libraries(... ODBC::ODBC) nanodbc/2.13.0: Generating aggregated env files nanodbc/2.13.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh'] nanodbc/2.13.0: Calling build() nanodbc/2.13.0: Apply patch (portability): Allow compilation on CI with ODBC library nanodbc/2.13.0: Apply patch (portability): Allow windows to compile shared libraries nanodbc/2.13.0: Apply patch (portability): Add missing include to fix compilation nanodbc/2.13.0: Running CMake.configure() nanodbc/2.13.0: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/root/.conan2/p/b/nanod58674f2efaa70/p" -DNANODBC_DISABLE_ASYNC="OFF" -DNANODBC_ENABLE_UNICODE="ON" -DNANODBC_ENABLE_BOOST="OFF" -DNANODBC_DISABLE_LIBCXX="ON" -DNANODBC_DISABLE_INSTALL="OFF" -DNANODBC_DISABLE_EXAMPLES="ON" -DNANODBC_DISABLE_TESTS="ON" -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS="ON" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/root/.conan2/p/b/nanod58674f2efaa70/b/src" CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Using Conan toolchain: /root/.conan2/p/b/nanod58674f2efaa70/b/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: C++ Standard 17 with extensions ON -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The CXX compiler identification is GNU 13.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- nanodbc version: 2.13.0 -- nanodbc compile: C++14 -- nanodbc build: Disable linking libc++ - ON -- nanodbc feature: ODBC Version Override - OFF -- nanodbc feature: Disable async features - OFF -- nanodbc feature: Enable Unicode - ON -- nanodbc feature: Enable Boost - OFF -- nanodbc feature: Enable SQL_NO_DATA bug workaround - OFF -- Conan: Component target declared 'odbc::_odbc' -- Conan: Component target declared 'odbc::odbcinst' -- Conan: Component target declared 'odbc::odbccr' -- Conan: Target declared 'ODBC::ODBC' -- Conan: Target declared 'libtool::libtool' -- Conan: Target declared 'automake::automake' -- Conan: Target declared 'autoconf::autoconf' -- Conan: Target declared 'm4::m4' -- Conan: Target declared 'Iconv::Iconv' -- nanodbc build: Enable nanodbc target - STATIC -- nanodbc build: Disable install target - OFF -- nanodbc build: Disable tests target - ON -- nanodbc build: Disable examples target - ON -- Configuring done (0.1s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS -- Build files have been written to: /root/.conan2/p/b/nanod58674f2efaa70/b/build/Release nanodbc/2.13.0: Running CMake.build() nanodbc/2.13.0: RUN: cmake --build "/root/.conan2/p/b/nanod58674f2efaa70/b/build/Release" -- -j6 [ 50%] Building CXX object CMakeFiles/nanodbc.dir/nanodbc/nanodbc.cpp.o [100%] Linking CXX static library libnanodbc.a [100%] Built target nanodbc nanodbc/2.13.0: Package '0dac4bd39caedc8ddfdd0f29dfc6322eebe44111' built nanodbc/2.13.0: Build folder /root/.conan2/p/b/nanod58674f2efaa70/b/build/Release nanodbc/2.13.0: Generating the package nanodbc/2.13.0: Packaging in folder /root/.conan2/p/b/nanod58674f2efaa70/p nanodbc/2.13.0: Calling package() nanodbc/2.13.0: Running CMake.install() nanodbc/2.13.0: RUN: cmake --install "/root/.conan2/p/b/nanod58674f2efaa70/b/build/Release" --prefix "/root/.conan2/p/b/nanod58674f2efaa70/p" -- Install configuration: "Release" -- Installing: /root/.conan2/p/b/nanod58674f2efaa70/p/lib/libnanodbc.a -- Installing: /root/.conan2/p/b/nanod58674f2efaa70/p/include/nanodbc/nanodbc.h -- Installing: /root/.conan2/p/b/nanod58674f2efaa70/p/lib/cmake/nanodbc/nanodbc-config.cmake -- Installing: /root/.conan2/p/b/nanod58674f2efaa70/p/lib/cmake/nanodbc/nanodbc-config-release.cmake nanodbc/2.13.0: package(): Packaged 1 '.a' file: libnanodbc.a nanodbc/2.13.0: package(): Packaged 1 '.h' file: nanodbc.h nanodbc/2.13.0: package(): Packaged 1 file: LICENSE nanodbc/2.13.0: Created package revision 63d41c39ca4b0f98bda8fa127f7198b2 nanodbc/2.13.0: Package '0dac4bd39caedc8ddfdd0f29dfc6322eebe44111' created nanodbc/2.13.0: Full package reference: nanodbc/2.13.0#d5d222b7ec4f5e50048160bb01908074:0dac4bd39caedc8ddfdd0f29dfc6322eebe44111#63d41c39ca4b0f98bda8fa127f7198b2 nanodbc/2.13.0: Package folder /root/.conan2/p/b/nanod58674f2efaa70/p WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X: WARN: deprecated: 'cpp_info.names' used in: odbc/2.3.11, libiconv/1.17 WARN: deprecated: 'env_info' used in: m4/1.4.19, libtool/2.4.7, automake/1.16.5, odbc/2.3.11, autoconf/2.71, libiconv/1.17 WARN: deprecated: 'user_info' used in: automake/1.16.5 ======== Finalizing install (deploy, generators) ======== cli: Generating aggregated env files cli: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh'] Install finished successfully ```

/cc @zillemarco @madebr could you take a look into this problem? It seems that this problem have never been addressed and conan CI has never tried this option out because it was defaulted to False.

Thank you in advance!