#1148589 FTBFS: Could not find a configuration file for Eigen3

#1148589#5
Date:
2026-09-21 09:43:34 UTC
From:
To:
Hi,

The package FTBFS in unstable:

CMake Error at CMakeLists.txt:379 (find_package):
  Could not find a configuration file for package "Eigen3" that is compatible
  with requested version "3.3.7".

  The following configuration files were considered but not accepted:

    /usr/share/eigen3/cmake/Eigen3Config.cmake, version: 5.0.1
      The version found is not compatible with the version requested.





Full build log is enclosed.

Best,

- --
Pierre
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmqw/EYPHHBndEBkZWJp
YW4ub3JnAAoJEGADFqbcJ3R27rAP/iV8aWqN0Ds+aSrNX40Y2CBa5XRCeqTv+Wqm
A10AgTLzlBGebPYOLu8px6Y6/+/bt/oDk/M+6fowVRRq6QP2Mh88d7KJ5hug7nF/
1O5x0gI+DahTtAH9FF9wvjK9dJJMxyhkPfF3uoyA6jLzmoSwItM8soAfI4VZr2Jp
JwFTR2sP/7g8rlDaWQVrruC3k/brsI4vvZOVPSyThwbz/h9xg20tlQrrpO0NThyL
02H0qhr6e2NrpvJJsZUJHlWIT5y7nqMk2N2FjJtBYQHNn3MU5ee+VJHEpJEA5ulr
Y55Xm4ZPlf+AvNfwrIeVDHUspKNzrgnIBrOYHtlZmaycFKCDqHFg7XbyHAzvrC37
VTH5wSBj24MXM/2aLSSiv1eg4NaqDqH4Kbv3qtzG4+3jAktQ6qKd8WJaLXQHafQ1
0OBtCMdKx/A0un+frO72zpQv3rZhfmsOZFvbjuN8KnQhiSLtIB0wTXl+E+ewvIiO
Y9aVSsi656OMinava0O7UjcOM2Y/Of2ztyX9ZYCLZuVC5fW2R/bGIzFTr/h9NA1/
007in3oR0HTvLwlnGUflfqBmSFIg12iKb0zQdHYOU7EH+PWaeOaDhqd64qb9PHxc
KmB2kY4lu9qbhBYM9B1IWCEAeaX2WiKIuLjDHtYqQZOa51rUofpQEHh7Gd902HK0
3ZaGSaCC
=aF8h
-----END PGP SIGNATURE-----

#1148589#10
Date:
2026-09-23 18:20:39 UTC
From:
To:
libeigen3 was updated to version 5.0 in sid, which has some breaking changes.

Changing "find_package(Eigen3 3.3.7 REQUIRED)" to "find_package(Eigen3 3.3...5 REQUIRED)" helps getting the build process going, but there are other issues.

I tried fixing the include path by adding "target_link_libraries(<target> Eigen3::Eigen)" to all affected targets, as documented in [1] - this works mostly, except for libslic3r, which still doesn't build.

Can somebody help?

[1] https://libeigen.gitlab.io/eigen/docs-5.0/TopicCMakeGuide.html

#1148589#15
Date:
2026-09-24 11:27:57 UTC
From:
To:
Control: block -1 by 1124285

Dropping Drop-Eigen3-Eigen-link.patch seems to fix these issues.

A bigger issue is the usage of DynamicSparseMatrix in the ancient
vendored libigl. bundled_deps/libigl/CMakeLists.txt uses a system
libigl if it exists, this seems to be the proper way forward for
that issue.

cu
Adrian

#1148589#22
Date:
2026-10-06 04:04:50 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
slic3r-prusa, 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 1148589@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chow Loong Jin <hyperair@debian.org> (supplier of updated slic3r-prusa 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: Tue, 06 Oct 2026 10:30:58 +0800
Source: slic3r-prusa
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 2.9.6+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian 3-D Printing Packages <3dprinter-general@lists.alioth.debian.org>
Changed-By: Chow Loong Jin <hyperair@debian.org>
Closes: 1148589
Changes:
 slic3r-prusa (2.9.6+dfsg-2) unstable; urgency=medium
 .
   [ Antoine Lassagne ]
   * Fix Eigen3-related FTBFS (Closes: #1148589)
     - [27612b1] d/patches: support Eigen3 5.0
     - [0caeefb] d/patches: drop Drop_Eigen3_Eigen_link.patch
     - [88ea131] d/patches: adapt the embedded libigl to Eigen3 5
Checksums-Sha1:
 6e6132e93c5b441bf2e76142947bfcf74104e84d 2852 slic3r-prusa_2.9.6+dfsg-2.dsc
 87b694e3fa0766124d8011eee7aa256129be00bf 61292 slic3r-prusa_2.9.6+dfsg-2.debian.tar.xz
 41b4a9398ed92fd9c83509f24ad0145a44d85fc2 19635 slic3r-prusa_2.9.6+dfsg-2_source.buildinfo
Checksums-Sha256:
 9483c4fc2ab44cb5cca85fe267a0714b0595acc655830036f2d222164562a703 2852 slic3r-prusa_2.9.6+dfsg-2.dsc
 392c1966769a7a3ead6015b531077a970f3b76a53bd3b0a0d6016c099a476518 61292 slic3r-prusa_2.9.6+dfsg-2.debian.tar.xz
 9c677619a2400698806f17168e1ca0af1e6d24b3086ed6a93c2e2ea2515d4beb 19635 slic3r-prusa_2.9.6+dfsg-2_source.buildinfo
Files:
 4d3a708724248810f8467110ef1c4d64 2852 misc optional slic3r-prusa_2.9.6+dfsg-2.dsc
 63ebef6d8c9f9a1634479b6b199fab7f 61292 misc optional slic3r-prusa_2.9.6+dfsg-2.debian.tar.xz
 3d13548e4711df1f15ccfad5766c4334 19635 misc optional slic3r-prusa_2.9.6+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEEuDQnfs/9/dZ027Q+9UiW1iHUqEFAmrEcB0ACgkQ+9UiW1iH
UqHylRAAsIC2X3D0qWXtkBTDv5V2KGKtynjReye7zKBPu25+JmxhA9Dti8N9U/0s
dPjdPGLsmzUJ14waqYZx1G+CdC3FUO1QATZwY6aVLgitnnxRG0/J6M7eNVH79xk+
zqWib7LWtXJ2RbdhuxrEYd1zjv1u2vQ70nLcLuoPk+4Z+sq7VvDHqHa+9phhwvIJ
AGqYqE3B3lUdkDxRjkb5E8viJgTwChKSVUdzIonsQnQ8fvN7h/2AkN/+vZz3z930
PFgjwfMJFINhKQWbeUriO7ubWMh3nq6XVPYeK9yTzOI4CktsDSgVQhvF53R+Cnlb
aPdKkIUyGEK0K4SCxfxrGsPqLuCdnalrwP8ixbm5x/KOGsSUklI51t1ZQwvAmvX1
G9cIfVSYlWDqNCWFyo7e4lFlun+zFWIhzfEBPwA3GdHLFPWSRJc8n53ig4lMe365
1D4QL8t1BOXadDwUFDK4tDdYMQwCFQuq2VrRboZ7ynPO8nv0/derDf45/IlujKQp
bV1mAZeM88yFp3dh+nKvOZeu49DLZp8QRPQ+1CkkhpbZ1jTGrRM7cerDVVU0Ru0j
dHO6BirscjtUaXCTctbYB34l8WEXPMr1H7mzrAjICN+MFrRq+PabehN6WMhoVrbA
KuLzoLEg48ZD7PfvEYdKV0kuoz/2tNPV9AGuy2AeDZDXyChqIiI=
=WPAO
-----END PGP SIGNATURE-----