#1148525 gtsam: autopkgtest needs update for new version of eigen3

#1148525#5
Date:
2026-09-20 12:34:12 UTC
From:
To:
[manual summary: missing *versioned* constraint somewhere]

Dear maintainer(s),

With a recent upload of eigen3 the autopkgtest of gtsam fails in testing
when that autopkgtest is run with the binary packages of eigen3 from
unstable. It passes when run with only packages from testing. In tabular
form:

                        pass            fail
eigen3                 from testing    5.0.1-3
gtsam                  from testing    4.2.2+dfsg-7
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of eigen3 to testing
[1]. Of course, eigen3 shouldn't just break your autopkgtest (or even
worse, your package), but it seems to me that the change in eigen3 was
intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from eigen3 should really add
a versioned Breaks on the unfixed version of (one of your) package(s).
Note: the Breaks is nice even if the issue is only in the autopkgtest as
it helps the migration software to figure out the right versions to
combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=eigen3

https://ci.debian.net/data/autopkgtest/testing/amd64/g/gtsam/75781718/log.gz

  64s In file included from /usr/include/gtsam/base/Matrix.h:28,
  64s                  from /usr/include/gtsam/base/Manifold.h:22,
  64s                  from /usr/include/gtsam/geometry/BearingRange.h:21,
  64s                  from /usr/include/gtsam/geometry/Pose2.h:23,
  64s                  from /tmp/tmp.RhTzuzkFCD/test.cpp:3:
  64s /usr/include/gtsam/base/Vector.h:86:30: error: static assertion
failed: Error: GTSAM was built against a different version of Eigen
  64s    86 |     GTSAM_EIGEN_VERSION_MAJOR==EIGEN_MAJOR_VERSION,
  64s       |                              ^
  64s   • the comparison reduces to ‘(4 == 5)’
  68s autopkgtest [14:43:49]: test smoke-cpp