severity 1127235 serious
tags 1127235 ftbfs
reopen 1127235
thanks

On Mon, Feb 16, 2026 at 09:19:42AM +0000, Debian FTP Masters wrote:

>    [ Andreas Tille ]
>    * Drop libboost-system-dev from Build-Depends
>      Closes: #1127235

Hi. I'm in the middle of an archive rebuild and I've detected that
this fix was not enough. When using boost 1.90 (now in unstable),
it fails in this way:


CMake Warning (dev) at CMakeLists.txt:262 (FIND_PACKAGE):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at 
/usr/lib/x86_64-linux-gnu/cmake/Boost-1.90.0/BoostConfig.cmake:141 
(find_package):
  Could not find a package configuration file provided by "boost_system"
  (requested version 1.90.0) with any of the following names:

    boost_systemConfig.cmake
    boost_system-config.cmake

  Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
  "boost_system_DIR" to a directory containing one of the above files.  If
  "boost_system" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Boost-1.90.0/BoostConfig.cmake:262 
(boost_find_component)
  /usr/share/cmake-4.2/Modules/FindBoost.cmake:610 (find_package)
  CMakeLists.txt:262 (FIND_PACKAGE)

 
I'm going to push this change to CMakeLists.txt:

-SET(BOOST_COMPONENTS filesystem  unit_test_framework serialization system)
+SET(BOOST_COMPONENTS filesystem  unit_test_framework serialization)

I think it might work because now we get past the configure stage,
but I have not fully tested it.

I'd appreciate if somebody else can do the upload after it passes Salsa CI.

Thanks.

Reply via email to