Package: libboost-python1.67-dev
Version: 1.67.0-15
Severity: important

Hi,

I'm using the following CMakeLists.txt:

    cmake_minimum_required(VERSION 3.13)
    project(foo)
    find_package(PythonLibs 3 REQUIRED)
    find_package(Boost 1.45.0 COMPONENTS "python3" REQUIRED)

Everything works fine on Debian Buster with libboost-python1.67-dev
version 1.67.0-13:

    -- The C compiler identification is GNU 8.3.0
    -- The CXX compiler identification is GNU 8.3.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /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: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.7m.so (found 
suitable version "3.7.3", minimum required is "3")
    -- Boost version: 1.67.0
    -- Found the following Boost libraries:
    --   python3
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /tmp

The problem only occurs after upgrading to 1.67.0-15 from unstable:

    -- The C compiler identification is GNU 8.3.0
    -- The CXX compiler identification is GNU 8.3.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /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: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.7m.so (found 
suitable version "3.7.5", minimum required is "3") 
    CMake Error at 
/usr/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
      Could NOT find Boost (missing: python3) (found suitable version "1.67.0",
      minimum required is "1.45.0")
    Call Stack (most recent call first):
      /usr/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 
(_FPHSA_FAILURE_MESSAGE)
      /usr/share/cmake-3.15/Modules/FindBoost.cmake:2161 
(find_package_handle_standard_args)
      CMakeLists.txt:4 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/tmp/CMakeFiles/CMakeOutput.log".

Please fix this regression.

Thanks!

cheers, josch

Reply via email to