Bug#1148526: stan-math: autopkgtest needs update for new version of eigen3

Paul Gevers elbrus at debian.org
Sun Sep 20 13:38:01 BST 2026


Source: stan-math
Version: 5.3.0+dfsg-3
Severity: serious
X-Debbugs-CC: eigen3 at packages.debian.org
Tags: sid forky
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:eigen3

Dear maintainer(s),

With a recent upload of eigen3 the autopkgtest of stan-math 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
stan-math              from testing    5.3.0+dfsg-3
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/s/stan-math/75781721/log.gz

  90s In file included from 
/usr/include/eigen3/Eigen/src/Core/MatrixBase.h:131,
  90s                  from /usr/include/eigen3/Eigen/Core:329,
  90s                  from /usr/include/eigen3/Eigen/Dense:1,
  90s                  from 
/usr/include/stan-math/stan/math/prim/fun/Eigen.hpp:32,
  90s                  from 
/usr/include/stan-math/stan/math/prim/meta/append_return_type.hpp:4,
  90s                  from 
/usr/include/stan-math/stan/math/prim/meta.hpp:72,
  90s                  from 
/usr/include/stan-math/stan/math/prim/err/invalid_argument.hpp:4,
  90s                  from 
/usr/include/stan-math/stan/math/prim/core/init_threadpool_tbb.hpp:4,
  90s                  from 
/usr/include/stan-math/stan/math/prim/core.hpp:4,
  90s                  from 
/usr/include/stan-math/stan/math/prim/fun/abs.hpp:4,
  90s                  from /usr/include/stan-math/stan/math/prim/fun.hpp:4,
  90s                  from 
/usr/include/stan-math/stan/math/prim/constraint.hpp:4,
  90s                  from /usr/include/stan-math/stan/math/prim.hpp:11,
  90s                  from test/unit/math/prim/prob/gamma_lccdf_test.cpp:1:
  90s /usr/include/stan-math/stan/math/prim/eigen_plugins.h:51:3: error: 
ISO C++ forbids declaration of ‘EIGEN_EMPTY_STRUCT_CTOR’ with no type 
[-Wtemplate-body]
  90s    51 |   EIGEN_EMPTY_STRUCT_CTOR(val_Op);
  90s       |   ^~~~~~~~~~~~~~~~~~~~~~~
  90s /usr/include/stan-math/stan/math/prim/eigen_plugins.h:117:3: 
error: ISO C++ forbids declaration of ‘EIGEN_EMPTY_STRUCT_CTOR’ with no 
type [-Wtemplate-body]
  90s   117 |   EIGEN_EMPTY_STRUCT_CTOR(d_Op);
  90s       |   ^~~~~~~~~~~~~~~~~~~~~~~
  90s /usr/include/stan-math/stan/math/prim/eigen_plugins.h:148:3: 
error: ISO C++ forbids declaration of ‘EIGEN_EMPTY_STRUCT_CTOR’ with no 
type [-Wtemplate-body]
  90s   148 |   EIGEN_EMPTY_STRUCT_CTOR(adj_Op);
  90s       |   ^~~~~~~~~~~~~~~~~~~~~~~
  90s /usr/include/stan-math/stan/math/prim/eigen_plugins.h:193:3: 
error: ISO C++ forbids declaration of ‘EIGEN_EMPTY_STRUCT_CTOR’ with no 
type [-Wtemplate-body]
  90s   193 |   EIGEN_EMPTY_STRUCT_CTOR(vi_Op);
  90s       |   ^~~~~~~~~~~~~~~~~~~~~~~
  90s In file included from 
/usr/include/eigen3/Eigen/src/Core/ArrayBase.h:98,
  90s                  from /usr/include/eigen3/Eigen/Core:338:
  90s /usr/include/stan-math/stan/math/prim/eigen_plugins.h:51:3: error: 
ISO C++ forbids declaration of ‘EIGEN_EMPTY_STRUCT_CTOR’ with no type 
[-Wtemplate-body]
  90s    51 |   EIGEN_EMPTY_STRUCT_CTOR(val_Op);
  90s       |   ^~~~~~~~~~~~~~~~~~~~~~~
  90s /usr/include/stan-math/stan/math/prim/eigen_plugins.h:117:3: 
error: ISO C++ forbids declaration of ‘EIGEN_EMPTY_STRUCT_CTOR’ with no 
type [-Wtemplate-body]
  90s   117 |   EIGEN_EMPTY_STRUCT_CTOR(d_Op);
  90s       |   ^~~~~~~~~~~~~~~~~~~~~~~
  90s /usr/include/stan-math/stan/math/prim/eigen_plugins.h:148:3: 
error: ISO C++ forbids declaration of ‘EIGEN_EMPTY_STRUCT_CTOR’ with no 
type [-Wtemplate-body]
  90s   148 |   EIGEN_EMPTY_STRUCT_CTOR(adj_Op);
  90s       |   ^~~~~~~~~~~~~~~~~~~~~~~
  90s /usr/include/stan-math/stan/math/prim/eigen_plugins.h:193:3: 
error: ISO C++ forbids declaration of ‘EIGEN_EMPTY_STRUCT_CTOR’ with no 
type [-Wtemplate-body]
  90s   193 |   EIGEN_EMPTY_STRUCT_CTOR(vi_Op);
  90s       |   ^~~~~~~~~~~~~~~~~~~~~~~
  95s autopkgtest [14:44:47]: test someUnitTests

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 585 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260920/892f0d12/attachment-0001.sig>


More information about the debian-science-maintainers mailing list