conan-io / conan-center-index

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

[package] boost/all: package_info() rejects libboost_pythonXY libraries #12122

Closed pcbennion closed 2 years ago

pcbennion commented 2 years ago

Package and Environment Details

Conan profile

default profiles with autodetected settings on all platforms listed above

Profile used for log ``` [settings] os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=9 compiler.libcxx=libstdc++11 build_type=Release [options] [conf] [build_requires] [env] ```

Steps to reproduce

with an empty conan cache (conan remove "*" -f) build boost for python using the following barebones recipe:

import os
from conans import ConanFile, tools

class BoostPython(ConanFile):
    name = "boost-python"
    version = "0.0.1"
    description = "A dummy package for building/installing boost with python"
    settings = "os", "compiler", "build_type", "arch"
    topics = ("conan")

    def requirements(self):
        self.requires("boost/1.79.0#c77cfe98fe8bc0c5814f907c54f5de0f")

    def configure(self):
        self.options["boost"].without_python = False

Logs

Click to expand log ``` root@3d62ac66474a:/workspaces/Conan-index/recipes/boost-python# conan install . -if install -r conancenter --build=boost Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux os_build=Linux [options] [build_requires] [env] boost/1.79.0: Retrieving from server 'conancenter' boost/1.79.0: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.79k] Downloading conanfile.py completed [81.52k] Downloading conan_export.tgz completed [1.50k] Decompressing conan_export.tgz completed [0.00k] boost/1.79.0: Downloaded recipe revision c77cfe98fe8bc0c5814f907c54f5de0f boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sys; print('{}.{}'.format(sys.version_info[0], sys.version_info[1]))" zlib/1.2.12: Retrieving from server 'conancenter' zlib/1.2.12: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.33k] Downloading conanfile.py completed [4.19k] Downloading conan_export.tgz completed [0.31k] Decompressing conan_export.tgz completed [0.00k] zlib/1.2.12: Downloaded recipe revision 0 bzip2/1.0.8: Retrieving from server 'conancenter' bzip2/1.0.8: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.17k] Downloading conanfile.py completed [4.42k] Downloading conan_export.tgz completed [0.24k] Decompressing conan_export.tgz completed [0.00k] bzip2/1.0.8: Downloaded recipe revision 0 libbacktrace/cci.20210118: Retrieving from server 'conancenter' libbacktrace/cci.20210118: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.28k] Downloading conanfile.py completed [4.68k] Downloading conan_export.tgz completed [0.36k] Decompressing conan_export.tgz completed [0.00k] libbacktrace/cci.20210118: Downloaded recipe revision 0 boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sys; print('{}.{}'.format(sys.version_info[0], sys.version_info[1]))" boost/1.79.0: Forced build from source b2/4.9.2: Retrieving from server 'conancenter' b2/4.9.2: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.10k] Downloading conanfile.py completed [4.26k] Downloading conan_export.tgz completed [0.24k] Decompressing conan_export.tgz completed [0.00k] b2/4.9.2: Downloaded recipe revision 0 conanfile.py (boost-python/0.0.1): Installing package Requirements boost/1.79.0 from 'conancenter' - Downloaded bzip2/1.0.8 from 'conancenter' - Downloaded libbacktrace/cci.20210118 from 'conancenter' - Downloaded zlib/1.2.12 from 'conancenter' - Downloaded Packages boost/1.79.0:76b2c7bd5def19088fa4e4d50b6d7c87d51cf3b9 - Build bzip2/1.0.8:da606cf731e334010b0bf6e85a2a6f891b9f36b0 - Download libbacktrace/cci.20210118:6af9cc7cb931c5ad942174fd7838eb655717c709 - Download zlib/1.2.12:6af9cc7cb931c5ad942174fd7838eb655717c709 - Download Build requirements b2/4.9.2 from 'conancenter' - Downloaded Build requirements packages b2/4.9.2:4db1be536558d833e52e862fd84d64d75c2b3656 - Download Installing (downloading, building) binaries... b2/4.9.2: Retrieving package 4db1be536558d833e52e862fd84d64d75c2b3656 from remote 'conancenter' Downloading conanmanifest.txt completed [14.27k] Downloading conaninfo.txt completed [0.24k] Downloading conan_package.tgz completed [493.74k] Decompressing conan_package.tgz completed [0.00k] b2/4.9.2: Package installed 4db1be536558d833e52e862fd84d64d75c2b3656 b2/4.9.2: Downloaded package revision 0 bzip2/1.0.8: Retrieving package da606cf731e334010b0bf6e85a2a6f891b9f36b0 from remote 'conancenter' Downloading conanmanifest.txt completed [0.32k] Downloading conaninfo.txt completed [0.43k] Downloading conan_package.tgz completed [97.23k] Decompressing conan_package.tgz completed [0.00k] bzip2/1.0.8: Package installed da606cf731e334010b0bf6e85a2a6f891b9f36b0 bzip2/1.0.8: Downloaded package revision 0 libbacktrace/cci.20210118: Retrieving package 6af9cc7cb931c5ad942174fd7838eb655717c709 from remote 'conancenter' Downloading conanmanifest.txt completed [0.27k] Downloading conaninfo.txt completed [0.38k] Downloading conan_package.tgz completed [54.06k] Decompressing conan_package.tgz completed [0.00k] libbacktrace/cci.20210118: Package installed 6af9cc7cb931c5ad942174fd7838eb655717c709 libbacktrace/cci.20210118: Downloaded package revision 0 zlib/1.2.12: Retrieving package 6af9cc7cb931c5ad942174fd7838eb655717c709 from remote 'conancenter' Downloading conanmanifest.txt completed [0.25k] Downloading conaninfo.txt completed [0.38k] Downloading conan_package.tgz completed [90.81k] Decompressing conan_package.tgz completed [0.00k] zlib/1.2.12: Package installed 6af9cc7cb931c5ad942174fd7838eb655717c709 zlib/1.2.12: Downloaded package revision 0 bzip2/1.0.8: Appending PATH environment variable: /root/.conan/data/bzip2/1.0.8/_/_/package/da606cf731e334010b0bf6e85a2a6f891b9f36b0/bin boost/1.79.0: Applying build-requirement: b2/4.9.2 Downloading conan_sources.tgz completed [3.80k] Decompressing conan_sources.tgz completed [0.00k] boost/1.79.0: Configuring sources in /root/.conan/data/boost/1.79.0/_/_/source Downloading boost_1_79_0.tar.bz2 completed [110797.67k] boost/1.79.0: /1.79.0: boost/1.79.0: boost/1.79.0: Apply patch (portability) boost/1.79.0: Building your package in /root/.conan/data/boost/1.79.0/_/_/build/76b2c7bd5def19088fa4e4d50b6d7c87d51cf3b9 boost/1.79.0: Generator txt created conanbuildinfo.txt boost/1.79.0: Aggregating env generators boost/1.79.0: Calling build() WARN: replace_in_file didn't find pattern '/* thread_local */' in '/root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/boost/stacktrace/detail/libbacktrace_impls.hpp' file. WARN: replace_in_file didn't find pattern '/* static __thread */' in '/root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/boost/stacktrace/detail/libbacktrace_impls.hpp' file. WARN: replace_in_file didn't find pattern 'local generic-os = [ set.difference $(all-os) : aix darwin vxworks solaris osf hpux ] ;' in '/root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/tools/build/src/tools/gcc.jam' file. WARN: replace_in_file didn't find pattern 'local no-threading = android beos haiku sgi darwin vxworks ;' in '/root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/tools/build/src/tools/gcc.jam' file. WARN: replace_in_file didn't find pattern ' @numa' in '/root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/libs/fiber/build/Jamfile.v2' file. boost/1.79.0: WARN: Patching user-config.jam boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sys; print('{}.{}'.format(sys.version_info[0], sys.version_info[1]))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_path('include'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_path('platinclude'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_config_var('INCLUDEPY'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_config_var('INCLUDEDIR'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_python_inc())" boost/1.79.0: (failed) boost/1.79.0: checking /usr/local/include/python3.9/Python.h boost/1.79.0: found Python.h: /usr/local/include/python3.9/Python.h boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_config_var('LIBRARY'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_config_var('LDLIBRARY'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_config_var('LIBDIR'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_config_var('MULTIARCH'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_config_var('multiarchsubdir'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import distutils.sysconfig as du_sysconfig; print(du_sysconfig.get_config_var('multiarchsubdir'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sysconfig; print(sysconfig.get_config_var('WITH_DYLD'))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sys; print('{}.{}'.format(sys.version_info[0], sys.version_info[1]))" boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sys; print(getattr(sys, 'abiflags', ''))" boost/1.79.0: checking /usr/local/lib/libpython3.9.a boost/1.79.0: found python library: /usr/local/lib/libpython3.9.a boost/1.79.0: WARN: using zlib : 1.2.12 : "/root/.conan/data/zlib/1.2.12/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include" "/root/.conan/data/zlib/1.2.12/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib" z ; using bzip2 : 1.0.8 : "/root/.conan/data/bzip2/1.0.8/_/_/package/da606cf731e334010b0bf6e85a2a6f891b9f36b0/include" "/root/.conan/data/bzip2/1.0.8/_/_/package/da606cf731e334010b0bf6e85a2a6f891b9f36b0/lib" bz2 ; using python : 3.9 : "/usr/bin/python3" : "/usr/local/include/python3.9" : "/usr/local/lib" ; using "gcc" : : /usr/bin/g++-9 : "-I/root/.conan/data/libbacktrace/cci.20210118/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include" "-L/root/.conan/data/libbacktrace/cci.20210118/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib" ; boost/1.79.0: WARN: b2 -q numa=on target-os=linux architecture=x86 address-model=64 binary-format=elf abi=sysv --layout=system --user-config=/root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/tools/build/user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=on boost.locale.iconv.lib=libc threading=multi visibility=hidden link=static variant=release --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-nowide --with-program_options --with-python --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-wave toolset=gcc define=_GLIBCXX_USE_CXX11_ABI=1 pch=on cxxflags="-fPIC -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line" install --prefix=/root/.conan/data/boost/1.79.0/_/_/package/76b2c7bd5def19088fa4e4d50b6d7c87d51cf3b9 -j12 --abbreviate-paths -d0 --debug-configuration --build-dir="/root/.conan/data/boost/1.79.0/_/_/build/76b2c7bd5def19088fa4e4d50b6d7c87d51cf3b9" notice: found boost-build.jam at /root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/boost-build.jam notice: loading B2 from /root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/kernel/bootstrap.jam notice: Searching '/etc' '/root' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/kernel' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/util' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/build' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/tools' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/contrib' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/.' for site-config configuration file 'site-config.jam'. notice: Configuration file 'site-config.jam' not found in '/etc' '/root' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/kernel' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/util' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/build' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/tools' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/contrib' '/root/.conan/data/b2/4.9.2/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/.b2/.'. notice: Loading explicitly specified user configuration file: /root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/tools/build/user-config.jam notice: Searching '/root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/tools/build' for user-config configuration file 'user-config.jam'. notice: Loading user-config configuration file 'user-config.jam' from '/root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/tools/build'. notice: [zlib] Using pre-installed library notice: [zlib] Condition notice: [bzip2] Using pre-installed library notice: [bzip2] Condition notice: [python-cfg] Configuring python... notice: [python-cfg] user-specified version: "3.9" notice: [python-cfg] user-specified cmd-or-prefix: "/usr/bin/python3" notice: [python-cfg] user-specified includes: "/usr/local/include/python3.9" notice: [python-cfg] user-specified libraries: "/usr/local/lib" notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "/usr/bin/python3" notice: [python-cfg] include path: "/usr/local/include/python3.9" notice: [python-cfg] library path: "/usr/local/lib" notice: [python-cfg] Checking for NumPy... notice: [python-cfg] running command '/usr/bin/python3 -c "import sys; sys.stderr = sys.stdout; import numpy; print(numpy.get_include())"' notice: [python-cfg] NumPy enabled notice: will use '/usr/bin/g++-9' for gcc, condition gcc-9 notice: using gcc libraries :: gcc-9 :: /usr/bin /usr/lib /usr/lib32 /usr/lib64 notice: using gcc archiver :: gcc-9 :: /usr/bin/ar warning: toolset gcc initialization: can not find tool windres warning: initialized from /root/.conan/data/boost/1.79.0/_/_/source/source_subfolder/tools/build/user-config.jam:6 notice: using rc compiler :: gcc-9 :: /usr/bin/as notice: [zlib] zlib is already configured notice: [bzip2] bzip is already configured notice: iostreams: not using lzma compression notice: iostreams: not using zstd compression Performing configuration checks - default address-model : 64-bit [1] - default architecture : x86 [1] - compiler supports SSE2 : yes [2] - compiler supports SSE4.1 : yes [2] - has std::atomic_ref : no [2] - has statx : yes [2] - has init_priority attribute : yes [2] - has stat::st_blksize : yes [2] - has stat::st_mtim : yes [2] - has stat::st_mtimensec : no [2] - has stat::st_mtimespec : no [2] - has stat::st_birthtim : no [2] - has stat::st_birthtimensec : no [2] - has stat::st_birthtimespec : no [2] - has fdopendir(O_NOFOLLOW) : yes [2] - cxx11_auto_declarations : yes [2] - cxx11_constexpr : yes [2] - cxx11_defaulted_functions : yes [2] - cxx11_final : yes [2] - cxx11_hdr_mutex : yes [2] - cxx11_hdr_tuple : yes [2] - cxx11_lambdas : yes [2] - cxx11_noexcept : yes [2] - cxx11_nullptr : yes [2] - cxx11_rvalue_references : yes [2] - cxx11_template_aliases : yes [2] - cxx11_thread_local : yes [2] - cxx11_variadic_templates : yes [2] - has_icu builds : no [2] - zlib : yes [3] - bzip2 : yes [3] - cxx11_decltype : yes [2] - cxx11_basic_alignas : yes [2] - iconv (libc) : yes [2] - native atomic int32 supported : yes [2] - native syslog supported : yes [2] - pthread supports robust mutexes : yes [2] - lockfree boost::atomic_flag : yes [2] - compiler supports SSSE3 : yes [2] - compiler supports AVX2 : yes [2] - gcc visibility : yes [2] - sfinae_expr : yes [2] - cxx11_unified_initialization_syntax : yes [2] - cxx11_hdr_initializer_list : yes [2] - cxx11_hdr_chrono : yes [2] - cxx11_numeric_limits : yes [2] - cxx11_hdr_array : yes [2] - cxx11_hdr_atomic : yes [2] - cxx11_hdr_type_traits : yes [2] - cxx11_allocator : yes [2] - cxx11_explicit_conversion_operators : yes [2] - long double support : yes [2] - cxx11_static_assert : yes [2] - std::fstream is moveable and swappable : yes [2] - Has Large File Support : yes [2] - Has attribute init_priority : yes [2] - libbacktrace builds : yes [2] - addr2line builds : yes [2] - WinDbg builds : no [2] - WinDbg builds : no [4] - WinDbgCached builds : no [2] - WinDbgCached builds : no [4] - BOOST_COMP_GNUC >= 4.3.0 : yes [2] - cxx11_hdr_thread : yes [2] - cxx11_hdr_regex : yes [2] [1] gcc-9 [2] gcc-9/rls/bst.l-lbc/bst.l-on/bst.l-off/lnk-sttc/nm-on/pythn-3.9/thrdp-pthrd/thrd-mlt/vsblt-hdn [3] lnk-sttc [4] gcc-9/rls/bst.l-lbc/bst.l-on/bst.l-off/bld-no/lnk-sttc/nm-on/pythn-3.9/thrdp-pthrd/thrd-mlt/vsblt-hdn Component configuration: - atomic : building - chrono : building - container : building - context : building - contract : building - coroutine : building - date_time : building - exception : building - fiber : building - filesystem : building - graph : building - graph_parallel : not building - headers : not building - iostreams : building - json : building - locale : building - log : building - math : building - mpi : not building - nowide : building - program_options : building - python : building - random : building - regex : building - serialization : building - stacktrace : building - system : building - test : building - thread : building - timer : building - type_erasure : building - wave : building boost/1.79.0: Package '76b2c7bd5def19088fa4e4d50b6d7c87d51cf3b9' built boost/1.79.0: Build folder /root/.conan/data/boost/1.79.0/_/_/build/76b2c7bd5def19088fa4e4d50b6d7c87d51cf3b9 boost/1.79.0: Generated conaninfo.txt boost/1.79.0: Generated conanbuildinfo.txt boost/1.79.0: Generating the package boost/1.79.0: Package folder /root/.conan/data/boost/1.79.0/_/_/package/76b2c7bd5def19088fa4e4d50b6d7c87d51cf3b9 boost/1.79.0: Calling package() boost/1.79.0 package(): Packaged 14658 '.hpp' files boost/1.79.0 package(): Packaged 148 '.h' files boost/1.79.0 package(): Packaged 263 '.ipp' files boost/1.79.0 package(): Packaged 17 files boost/1.79.0 package(): Packaged 2 '.inc' files: strict_cpp_re.inc, cpp_re.inc boost/1.79.0 package(): Packaged 43 '.a' files boost/1.79.0 package(): Packaged 1 '.txt' file: LICENSE_1_0.txt boost/1.79.0: Package '76b2c7bd5def19088fa4e4d50b6d7c87d51cf3b9' created boost/1.79.0: Created package revision 16e312b28190f99973a8d0c2827dff78 boost/1.79.0: running "/usr/bin/python3" -c "from __future__ import print_function; import sys; print('{}.{}'.format(sys.version_info[0], sys.version_info[1]))" boost/1.79.0: WARN: Boost component 'numpy' is missing libraries. Try building boost with '-o boost:without_numpy'. (Option is not guaranteed to exist) boost/1.79.0: WARN: Boost component 'python' is missing libraries. Try building boost with '-o boost:without_python'. (Option is not guaranteed to exist) ERROR: boost/1.79.0: Error in package_info() method, line 1662 raise ConanException("These libraries were built, but were not used in any boost module: {}".format(non_used)) ConanException: These libraries were built, but were not used in any boost module: {'boost_numpy39', 'boost_python39'} ```
pcbennion commented 2 years ago

This issue surfaced on my CI machine after I pulled packages/recipes from conancenter on 8/6. This issue likely surfaced after 8/1, which was my last successful clean build of the above recipe.

The failure occurs for all recent boost recipe revisions. I suspect the package_info check may ignore recipe revisions - machines that have not communicated with conancenter since 8/1 are still able to run package_info without rejecting the python libraries.

Might be fixed in PR: #11998

NormanT7 commented 2 years ago

I ran into this as well. I dug into the recipe and discovered that the issue arises from the following lines (1574-1577) in the package_info() method:

if not self.options.without_python:
    pyversion = Version(self._python_version)
    libformatdata["py_major"] = pyversion.major
    libformatdata["py_minor"] = pyversion.minor

Where Version is conan.tools.scm.Version. The problem is that the major and minor attributes only recently became available (looks like version greater than Conan 1.50). In older versions (I'm using 1.48), using the major and minor attributes results in the strings "<bound method Version.major of '3.8'>" and "<bound method Version.minor of '3.8'>" respectively. Then those are used to generate the expected boost and numpy library names and of course no libraries are found with those names.

Using the latest version of Conan should fix the issue.

The recipe could also be updated to simply use conan.tools.Version in this location (and possibly others) which does have the expected behavior even on older versions of Conan. Otherwise, the required_conan_version needs to be updated. Right now it is at >=1.47 which obviously isn't correct.

uilianries commented 2 years ago

@NormanT7 The recipe has been fixed last week. Any Conan version should work without any error. Please, update your local copy of Boost recipe. Also, >=1.47 is totally correct, since tools.scm.Version is no longer used.

NormanT7 commented 2 years ago

@uilianries ah, very good. I pulled boost down from Conan center early last week and it must have been updated soon after. I now have the latest revision of the recipe and it is working with the 1.48 version of Conan that I have installed. Thank you!

uilianries commented 2 years ago

@uilianries ah, very good. I pulled boost down from Conan center early last week and it must have been updated soon after. I now have the latest revision of the recipe and it is working with the 1.48 version of Conan that I have installed. Thank you!

Thank you for your feedback!

pcbennion commented 2 years ago

Awesome! I pulled the recipe just now and it's working with my 1.49 again.

Thank you both for the help! @NormanT7 @uilianries