#1149276 imath: FTBFS with boost 1.92

Package:
src:imath
Source:
src:imath
Submitter:
Anton Gladky
Date:
2026-10-08 00:23:02 UTC
Severity:
normal
Tags:
#1149276#5
Date:
2026-09-29 04:49:51 UTC
From:
To:
Dear Maintainer,

Boost 1.92 will most likely be the default boost version in the
upcoming Debian 14 (forky) release.

imath FTBFS with boost 1.92. Note that the FTBFS may not necessarily be
connected to boost - please check the build log for the actual cause.

boost-defaults pointing to 1.92 is available in experimental, so you can
rebuild your package against it to reproduce the failure and test the fix.

Note: This ticket severity will be increased to RC bug when
boost-defaults is switched to 1.92.

If your package depends on versioned boost packages (e.g. libboost1.90-dev),
please switch to the unversioned (default) ones (e.g. libboost-dev), so the
package follows future boost transitions automatically.

Here is the most probably relevant part of the failing build log:

==================== build log ====================

dh_auto_configure -- \
	-DBUILD_WEBSITE=ON \
	-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
	-DPYTHON=ON \
	-DPython3_EXECUTABLE=/usr/bin/python3.14
	cd build && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=x86_64-linux-gnu-pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_C_COMPILER=/usr/bin/x86_64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=/usr/bin/x86_64-linux-gnu-g\+\+ -DPKG_CONFIG_EXECUTABLE=/usr/bin/x86_64-linux-gnu-pkg-config -DPKGCONFIG_EXECUTABLE=/usr/bin/x86_64-linux-gnu-pkg-config -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DBUILD_WEBSITE=ON -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON -DPYTHON=ON -DPython3_EXECUTABLE=/usr/bin/python3.14 ..
-- The C compiler identification is GNU 16.2.0
-- The CXX compiler identification is GNU 16.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configure Imath 3.2.2, library API version: 30.3.2.2
-- Imath pkg-config generation enabled
-- Looking for sin in m
-- Looking for sin in m - found
-- Found Python3: /usr/bin/python3.14 (found version "3.14.7") found components: Interpreter Development Development.Module Development.Embed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Python: /usr/include/python3.14 (found version "3.14.7") found components: Development Development.Module Development.Embed
-- Configuring imath module and PyImath library
-- installing imath module to lib/python3.14/site-packages
-- generating PyImath.pc
-- Configuring imathnumpy module
-- installing imathnumpy module to lib/python3.14/site-packages
-- Configuring PyImathTest
-- Configuring PyImathNumpyTest
-- Found Doxygen: /usr/bin/doxygen (found version "1.15.0") found components: doxygen dot
-- Found Sphinx: /usr/bin/sphinx-build
-- clang-format not found.
-- Configuring done (2.0s)
CMake Error at src/python/PyImath/CMakeLists.txt:144 (target_link_libraries):
  Target "PyImath" links to:

    Boost::python

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at src/python/PyImath/CMakeLists.txt:184 (target_link_libraries):
  Target "imath_module" links to:

    Boost::python

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at src/python/PyImathNumpy/CMakeLists.txt:42 (target_link_libraries):
  Target "imathnumpy" links to:

    Boost::python

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at src/python/PyImathTest/CMakeLists.txt:48 (target_link_libraries):
  Target "PyImathTestC" links to:

    Boost::python

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.