#1149524 dolfin doesn't find the pybind11 module during the build

#1149524#5
Date:
2026-09-30 10:06:15 UTC
From:
To:
dolfin doesn't find the pybind11 module during the build, however it has
a build-dependency on that.  So I assume that it is meant to do
something senseful with that build-dependency.

The build still succeeds, so maybe add a check that some artifacts added
with that component show up in the packages?


[...]
-- Detecting CXX compile features - done
Traceback (most recent call last):
   File "<string>", line 1, in <module>
     import pybind11; print(pybind11.get_cmake_dir())
     ^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pybind11'
CMake Warning (dev) at
/usr/lib/cmake/pybind11/FindPythonLibsNew.cmake:101 (message):
   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs
modules
   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
   the cmake_policy command to set the policy and suppress this warning, or
   preferably upgrade to using FindPython, either by calling it explicitly
   before pybind11, or by setting PYBIND11_FINDPYTHON ON before pybind11.
Call Stack (most recent call first):
   /usr/lib/cmake/pybind11/pybind11Tools.cmake:44 (find_package)
   /usr/lib/cmake/pybind11/pybind11Common.cmake:243 (include)
   /usr/lib/cmake/pybind11/pybind11Config.cmake:257 (include)
   CMakeLists.txt:28 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at
/usr/lib/cmake/pybind11/FindPythonLibsNew.cmake:110 (cmake_policy):
   The OLD behavior for policy CMP0148 will be removed from a future version
   of CMake.

   The cmake-policies(7) manual explains that the OLD behaviors of all
   policies are deprecated and that a policy should be set to OLD only under
   specific short-term circumstances.  Projects should be ported to the NEW
   behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
   /usr/lib/cmake/pybind11/pybind11Tools.cmake:44 (find_package)
   /usr/lib/cmake/pybind11/pybind11Common.cmake:243 (include)
   /usr/lib/cmake/pybind11/pybind11Config.cmake:257 (include)
   CMakeLists.txt:28 (find_package)

#1149524#10
Date:
2026-10-04 09:11:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dolfin, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149524@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Ballarin <ballarin@debian.org> (supplier of updated dolfin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 04 Oct 2026 08:03:16 +0000
Source: dolfin
Architecture: source
Version: 2019.2.0~legacy20240219.1c52e83-32
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Francesco Ballarin <ballarin@debian.org>
Closes: 1149524
Changes:
 dolfin (2019.2.0~legacy20240219.1c52e83-32) unstable; urgency=medium
 .
   * Use PRTE_MCA_mapby instead of PRTE_MCA_rmaps_default_mapping_policy.
   * Add python3-pybind11 to Build-Depends. Closes: #1149524.
Checksums-Sha1:
 c3fbde0e2320ae6bbcfd7c33dbafbf6e64091d67 3985 dolfin_2019.2.0~legacy20240219.1c52e83-32.dsc
 b60afcc04ab2a807333953d8c7a8cc5ab8de8f47 55924 dolfin_2019.2.0~legacy20240219.1c52e83-32.debian.tar.xz
 5c6012666efed7256f06bd713fcc2711fbf759a4 18329 dolfin_2019.2.0~legacy20240219.1c52e83-32_source.buildinfo
Checksums-Sha256:
 f674c5234ca33284d0640a570d63dd924318b5dc2af164c5818b093b8ae05524 3985 dolfin_2019.2.0~legacy20240219.1c52e83-32.dsc
 1fc9607b63dc116fc2c5a9170be666daa2606b2aeb026e9b45445759dfa2cb8f 55924 dolfin_2019.2.0~legacy20240219.1c52e83-32.debian.tar.xz
 e68d8fadb22ea50a4ae5ec5f8a8b446deec1c654ef9dac66907025bd5d809e0b 18329 dolfin_2019.2.0~legacy20240219.1c52e83-32_source.buildinfo
Files:
 81a9523cf7bb54f8b1d21de5bbf9e3be 3985 math optional dolfin_2019.2.0~legacy20240219.1c52e83-32.dsc
 53b42b91cb4d8281c7241f794574bf41 55924 math optional dolfin_2019.2.0~legacy20240219.1c52e83-32.debian.tar.xz
 009d0e6c2fc2a00c16605ce6d24a7d98 18329 math optional dolfin_2019.2.0~legacy20240219.1c52e83-32_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEG10EseUHu/A2aeK4AfNfwz5zr4wFAmrCEIMACgkQAfNfwz5z
r4zZfA/+JGBx3IofayB0qwZPERlH99ybeDy46kcArxu2QOUqB8BqZTVLnkoT15hs
QQhjejdQfRUjeWSWHioszZojoRCWDnWQFiq+VQfz3mTSSpdOOIQxhA+y2P1A9SAD
5/fEjetFV88bvyQBQIVzEdeI3T2b5+farJQATuzsj2MYC/gr5BhHDeGIsIeICl3Y
Xtztpd/TdZEcGYz5gj/mS7JtswjHjgformOIFgw9bEiOXXW1gnwY49eT/OBEmNGb
VWuIX8OxP3rV2URtrUb6teZYCFqm7qFo6J8MHyBZeBmHSVxx2Oi3orRRQQpPdhwv
KopKfkV2ItMIB0z2LByFldGGnxRQgVqpwcVqu1o+30XT9aMdn8exKXcyYQ6Urv30
cp0G7m2MMLoWaIKeejtn0BsGI3lK1EDNFMia/zOBG+gqm28Kzck3gXQvAogX/Rs5
Kzlm7WbT3cQSC/Tu2eR+9p36DtyiNNuCbSqTXk4P/qXpWbNuk0vpXL4Sdy4BUd51
lpMvKvOR3GPenR1gjrGWQGJfKED+mSmG87BaAxGEgeb+p9OD6zEFHgK/a6+AiI7p
zPGa/zXOTl0lWj8dwByHlCDcU+WzdSFn8KOm/dXIa4t+ImwsgFmmeyGixDCkltTC
w/9vsCJzOi1NHUFqElw3Dex780Qq4ZeprITXWV5JUVfevUC1Zrw=
=cqxK
-----END PGP SIGNATURE-----