#1136335 yade: FTBFS with libeigen3-dev 5.0 (major version transition)

Package:
src:yade
Source:
src:yade
Submitter:
Anton Gladky
Date:
2026-05-11 21:05:04 UTC
Severity:
normal
Tags:
#1136335#5
Date:
2026-05-11 21:04:18 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

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

https://debusine.debian.net/debian/developers-gladk-eigen3/artifact/3762278/raw/yade_2026.1.0-3_arm64-2026-05-08T15:02:59Z.build

Here is the most probably relevant part of the failing build log:
    ===========================================
/build/reproducible-path/yade-2026.1.0/lib/high-precision/ToFromPythonConverter.hpp:191:36:   required from ‘void yade::math::detail::registerInScope(bool) [with int N = 1; RegisterHPClass = RegisterRealHPMath]’
  191 |                                         RegisterHPClass<N, true>::work(topScope, boost::python::scope(topScope.attr(name.c_str())));
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/yade-2026.1.0/lib/high-precision/ToFromPythonConverter.hpp:210:39:   required from ‘void yade::math::detail::registerLoopForHPn() [with Range = boost::mpl::vector_c<int, 1, 2>; RegisterHPClass = RegisterRealHPMath]’
  210 |                         registerInScope<1, RegisterHPClass>(false);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/build/reproducible-path/yade-2026.1.0/py/high-precision/_math.cpp:1011:112:   required from here
 1011 |         ::yade::math::detail::registerLoopForHPn<::yade::math::RealHPConfig::SupportedByMinieigen, RegisterRealHPMath>();
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/eigen3/Eigen/src/Core/RandomImpl.h:91:14: error: variable or field ‘randomBits’ declared void
   91 |     BitsType randomBits = getRandomBits<BitsType>(numRandomBits);
      |              ^~~~~~~~~~

    ===========================================
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