Bug#1127082: opm-common ftbfs with boost 1.90

Matthias Klose doko at debian.org
Fri Feb 6 11:00:47 GMT 2026


also sending this to the bug report ...

On 2/6/26 11:26, Markus Blatt wrote:
> HI,
> 
> thanks a lot for the report and also the patch.
> 
> Indeed, I think that the error for the patched version
> 
> "CMake Error at /usr/lib/x86_64-linux-gnu/cmake/ 
> boost_unit_test_framework-1.90.0/boost_unit_test_framework- 
> config.cmake:102 (find_package):
> 
>    Could not find a package configuration file provided by 
> "boost_exception"
>    (requested version 1.90.0) with any of the following names:
> 
>      boost_exceptionConfig.cmake
>      boost_exception-config.cmake
> "
> 
> might indicate that dependencies are broken in Ubuntu/Debian.
> 
> I can trigger the same error with this simple CMakeLists.txt in an 
> experimental chroot with libboost-test1.90-dev installed
> 
> cmake_minimum_required(VERSION 3.32)
> project(test CXX)
> find_package(Boost COMPONENTS unit_test_framework)
> 
> I guess the libboost*-dev packages should have depends on packages list 
> in _BOOST_CAPITAL_MODULE_NAME_DEPS in the cmake package
> configuration files.
> 
> For the unit tests that is setup in /usr/lib/x86_64-linux-gnu/cmake/ 
> boost_unit_test_framework-1.90.0/libboost_unit_test_framework-variant- 
> static.cmake
> and /usr/lib/x86_64-linux-gnu/cmake/boost_unit_test_framework-1.90.0/ 
> libboost_unit_test_framework-variant-shared.cmake
> as
> 
> list(APPEND _BOOST_UNIT_TEST_FRAMEWORK_DEPS exception headers)
> 
> The problem is that we cannot work around this in a clean way in opm- 
> common because at least in Debian experimental there is
> no libboost-exception-dev package but just libboost-exception1.90-dev or 
> earlier versions. I don't think we should use the versioned
> libs in the dependencies.
> 
> So hopefully boost can be fixed in this regard.
> 
> Best,
> 
> Markus




More information about the debian-science-maintainers mailing list