#1136237 gtsam: FTBFS with libeigen3-dev 5.0 (major version transition)

Package:
src:gtsam
Source:
src:gtsam
Submitter:
Anton Gladky
Date:
2026-08-04 05:07:02 UTC
Severity:
normal
Tags:
#1136237#5
Date:
2026-05-11 05:08:54 UTC
From:
To:
Dear Maintainer,

your package depends on libeigen3-dev. The upstream released a
new major version of this mathematical library, 5.0.0. Some
basic information about new features and changes in this version
can be found here:

https://libeigen.gitlab.io/releases/5.0/

This is a major version change and may require code changes in packages
depending on eigen3. The key breaking changes include:

  - Minimum required C++ standard is now C++14
  - Changes in the build system integration
  - Some API name changes

gtsam FTBFS with libeigen3-dev 5.0.1. The full build log is available at:

https://debusine.debian.net/debian/developers-gladk-eigen3/artifact/3756024/

Here is the most probably relevant part of the failing build log:
    ===========================================
[  0%] Generating geometry.cpp
cd /build/reproducible-path/gtsam-4.2.0+dfsg/obj-x86_64-linux-gnu/python && /usr/bin/cmake -E env PYTHONPATH=/build/reproducible-path/gtsam-4.2.0+dfsg/wrap/cmake/..: /usr/bin/python3 /build/reproducible-path/gtsam-4.2.0+dfsg/wrap/scripts/pybind_wrap.py --src /build/reproducible-path/gtsam-4.2.0+dfsg/gtsam/geometry/geometry.i --out geometry.cpp --module_name gtsam --top_module_namespaces gtsam --ignore gtsam::Point2 gtsam::Point3 gtsam::ISAM2ThresholdMapValue gtsam::FactorIndices gtsam::FactorIndexSet gtsam::IndexPairSetMap gtsam::IndexPairVector gtsam::BetweenFactorPose2s gtsam::BetweenFactorPose3s gtsam::Point2Vector gtsam::Point2Pairs gtsam::Point3Pairs gtsam::Pose3Pairs gtsam::Pose3Vector gtsam::Rot3Vector gtsam::KeyVector gtsam::BinaryMeasurementsPoint3 gtsam::BinaryMeasurementsUnit3 gtsam::BinaryMeasurementsRot3 gtsam::DiscreteKey gtsam::KeyPairDoubleMap gtsam::gtsfm::MatchIndicesMap gtsam::gtsfm::KeypointsVector gtsam::gtsfm::SfmTrack2dVector --template /build/reproducible-path
 /gtsam-4.2.0+dfsg/python/gtsam/gtsam.tpl --is_submodule --use-boost
In file included from /build/reproducible-path/gtsam-4.2.0+dfsg/gtsam/base/Matrix.h:28,
                 from /build/reproducible-path/gtsam-4.2.0+dfsg/gtsam/base/Matrix.cpp:19:
/build/reproducible-path/gtsam-4.2.0+dfsg/gtsam/base/Vector.h:45:82: error: conversion from ‘CwiseNullaryOp<Eigen::internal::scalar_zero_op<double>,[...]>’ to non-scalar type ‘CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>,[...]>’ requested
   45 | static const Eigen::MatrixBase<Vector2>::ConstantReturnType Z_2x1 = Vector2::Zero();
      |                                                                     ~~~~~~~~~~~~~^~
/build/reproducible-path/gtsam-4.2.0+dfsg/gtsam/base/Vector.h:46:82: error: conversion from ‘CwiseNullaryOp<Eigen::internal::scalar_zero_op<double>,[...]>’ to non-scalar type ‘CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>,[...]>’ requested
   46 | static const Eigen::MatrixBase<Vector3>::ConstantReturnType Z_3x1 = Vector3::Zero();
      |                                                                     ~~~~~~~~~~~~~^~
/build/reproducible-path/gtsam-4.2.0+dfsg/gtsam/base/Vector.h:52:92: error: conversion from ‘CwiseNullaryOp<Eigen::internal::scalar_zero_op<double>,[...]>’ to non-scalar type ‘CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>,[...]>’ requested

    ===========================================
libeigen3-dev_5.0.1-1 is available in experimental.

When this package version lands into unstable (probably at the beginning
of June 2026), this bug will be increased in severity to serious.

Thanks,

Anton

#1136237#14
Date:
2026-08-02 18:18:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gtsam, 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 1136237@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dima Kogan <dkogan@debian.org> (supplier of updated gtsam 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: Thu, 30 Jul 2026 18:22:57 -0700
Source: gtsam
Architecture: source
Version: 4.2.2+dfsg-4~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Dima Kogan <dkogan@debian.org>
Closes: 1136237
Changes:
 gtsam (4.2.2+dfsg-4~exp1) experimental; urgency=medium
 .
   * Support eigen3 version 5 (Closes: #1136237)
Checksums-Sha1:
 6159e5763e4cf8afaf103289701deb4c9397304f 2937 gtsam_4.2.2+dfsg-4~exp1.dsc
 30860022c68c32420fbcf8627c078fbbc23cd189 23856 gtsam_4.2.2+dfsg-4~exp1.debian.tar.xz
 701b21cf897f21e0983434776b0f1054ccdee43d 17475988 gtsam_4.2.2+dfsg-4~exp1.git.tar.xz
 3f75e21c56fe69ed30509b394be702700f466753 17584 gtsam_4.2.2+dfsg-4~exp1_source.buildinfo
Checksums-Sha256:
 d9d385b989eb807c73de0fc1fd81830d240e9bb8655136d4351e200e01829d63 2937 gtsam_4.2.2+dfsg-4~exp1.dsc
 fdbd63f9fdfa5e3f79407a61ab0db2633559679181c563425d0acd50a2534f6b 23856 gtsam_4.2.2+dfsg-4~exp1.debian.tar.xz
 ef1ac2d69aaedaae019bc20fdeac700ae38c1b365cf706cca8dcaaac3ea3ffc2 17475988 gtsam_4.2.2+dfsg-4~exp1.git.tar.xz
 09322a78316be0f36f16ea21b32bbff7ec3bd4d64c717a7fd78858ea9e8cd285 17584 gtsam_4.2.2+dfsg-4~exp1_source.buildinfo
Files:
 78d8b3635e7a03cd626df1c5063459ce 2937 science optional gtsam_4.2.2+dfsg-4~exp1.dsc
 e2ddba0317e890b289d8bc1be09d8e7b 23856 science optional gtsam_4.2.2+dfsg-4~exp1.debian.tar.xz
 4e9b70d40a1ff8709592a07ead0df235 17475988 science None gtsam_4.2.2+dfsg-4~exp1.git.tar.xz
 722b15acc3cecf11ad52531debf39d3a 17584 science optional gtsam_4.2.2+dfsg-4~exp1_source.buildinfo
Git-Tag-Info: tag=c357b60b97da098a4ea39931e21ccf571413e32a fp=b5e2fa190fdf9afe218889cfacc7c2cf30941188
Git-Tag-Tagger: Dima Kogan <dkogan@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpvhLYACgkQYG0ITkaD
wHmMkRAA26Il5I/S8ptgLe3fPb97+4QyPpjdiL3Ot7YRH4g9LUd83e/vQr5RPFC7
4ClwqS89xNn3jNVFE7LcRHtTPVAGxOk2psUKNGKWcUvfwWZsGEwhA/mD7uVws3pU
kSvyqVtE7EkN8ELUYh8vLfVKOSnRsdAIE9gKwMz7Lkw+BxQI5srVjqZKRDkq6ZFg
+Ra8BJr04YpxnYypXmaITW6CFAcuz1YsmLWUHkGTuNaRj6cJvmfiy1GDcrgzS/Iv
jGsKK1ntv7/Bm1ySHuIVnyeZI5fFTSCTtC5hPXO1ZduMrtMbHc9YEZWIXLDmarht
vuQ+S8Oo8dNdAGA3ZLcaxd0nLhr7Oecmq5WMEUlUStUIu3oP0VMjJ2cTcOb58QGo
H1r4U+H5N03Et4NHmBcolVqRPIa8X7YPS393VFCX+sOZgc9MOfA9ujtHmc5Rcl7l
RezCMO2Wls5s0Nb3XS2fFZIiYb0PEncw0VUw4TX9a1DfDeKbUbykbZ3PzmZvYrgn
FCfqQg8KvYJq8TWOqvzWd79mv30oY06EzXoqAPhQMHIZJLoGt2NEGP/3fWhyIHpD
onScoEoaaInlz/Q1BXh8A4WeV0TJmd3AgoAbmOtro03Gam3igoOO+RIi5lODGy7n
0nZG4iEoyG1wiam/jIVwYYRalJXbYE0RGTo3do5jtr2+iaULoO0=
=17P+
-----END PGP SIGNATURE-----

#1136237#19
Date:
2026-08-04 05:05:55 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gtsam, 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 1136237@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dima Kogan <dkogan@debian.org> (supplier of updated gtsam 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: Mon, 03 Aug 2026 21:24:23 -0700
Source: gtsam
Architecture: source
Version: 4.2.2+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Dima Kogan <dkogan@debian.org>
Closes: 1136237
Changes:
 gtsam (4.2.2+dfsg-4) unstable; urgency=medium
 .
   * Upload to unstable
 .
 gtsam (4.2.2+dfsg-4~exp1) experimental; urgency=medium
 .
   * Support eigen3 version 5 (Closes: #1136237)
Checksums-Sha1:
 ca3e780d89fb710c52137a7fc7de40cde3278a09 2912 gtsam_4.2.2+dfsg-4.dsc
 a0018c6e541567727986a8abe6fbfd53970487f2 23864 gtsam_4.2.2+dfsg-4.debian.tar.xz
 c3e5ba96d516c88d19804557da7641f3acf4e3da 17479396 gtsam_4.2.2+dfsg-4.git.tar.xz
 0c2dfb707d6aae77eb62541e9629892a9ccb549a 17564 gtsam_4.2.2+dfsg-4_source.buildinfo
Checksums-Sha256:
 742cc4ec1762e57edb2d69ca3c7f01a68006ab7940ec9afaf7dab07614501a88 2912 gtsam_4.2.2+dfsg-4.dsc
 6f510daa73d2b016e62138df8fb46675639fc91af42136cf5e9d4078545741d0 23864 gtsam_4.2.2+dfsg-4.debian.tar.xz
 47446f785c971e606ad264f28e3eaca6ba2270fa4d730d1f97e3d74f883ca14d 17479396 gtsam_4.2.2+dfsg-4.git.tar.xz
 2d1e3c91e93a271ec4d0fbb363df9274a99e14531ae48f93c2e818cb8caccef7 17564 gtsam_4.2.2+dfsg-4_source.buildinfo
Files:
 e176a3da1c77d0cd68a6223049dc7b24 2912 science optional gtsam_4.2.2+dfsg-4.dsc
 bcac7abbe2af22a628c5baa8daadb46c 23864 science optional gtsam_4.2.2+dfsg-4.debian.tar.xz
 6187e8a63f373bae0e50e68840ded8cd 17479396 science None gtsam_4.2.2+dfsg-4.git.tar.xz
 0470526897b9748b0a6564abc09a27bf 17564 science optional gtsam_4.2.2+dfsg-4_source.buildinfo
Git-Tag-Info: tag=2df8d369da2fbba9e85ceda2f504a44fc02f17c9 fp=b5e2fa190fdf9afe218889cfacc7c2cf30941188
Git-Tag-Tagger: Dima Kogan <dkogan@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpxacYACgkQYG0ITkaD
wHktlQ/+IKSESfB9T4va+hbXLb5BrIwiH4muT7xw0HIfZhRAwlEvIaRrdfkTN133
90c7npZ27mwMXnipQ3Ak8W9Zlek4emrXE1PBSQoz+0FutVg7IbTRz+ZCEQhSQA+P
5wPLh0dc4y+8O5BWIfon7+L7J4H86OGG/JNSBf7h9fFViH4G5pNd4jfvxpssjz96
nyPNedK1KdbNNMixgwUe+t4Jk+ndUBi3Cp3JwHI3Ig9FktOwP4/+IPxDtZ1Zq/mL
pVouznh8PCdmG1niegKYFEBn8uwFVhn65vNuo1WG08EU+uJymXIkhJlb1JPEMvFm
pwhKwtxkr/Hx7+et5FtA72DID40PQlJSB/jsQ1LpxupHl2lVdibtlH7PVSPMOFm/
O+1eOR6lhv3S21jnf5F0fT7n+VV1kgGKulNoQU6w+ddXi1soqtH+60VH+kDz2Ua8
6DZRDa+hEzEx0GzaH93vLg1PVkIhGnwYPtHCtaEsjpz/mtdzi2TNUT6KWwbkNKi2
Fnl4+WQNQldZvf3R+YWNatD6bbLekuRlyRmpQtNgOmSlBe7daH4u19sslNiJc4Om
cT9cP2z+WqAU8oN0fi7y+2K6DFNgE5F1spNQREh+zmHZMTq3LmmRRbenyF4aYwmP
028obooQ8NdHsrOarwtASlKNcn+vLa06W02oR1LE+uo7/zW1+do=
=QfML
-----END PGP SIGNATURE-----