#1136228 bustools: FTBFS with libeigen3-dev 5.0 (major version transition)

#1136228#5
Date:
2026-05-11 04:50:01 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

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

https://debusine.debian.net/debian/developers-gladk-eigen3/artifact/3754744/#L984-files

Here is the most probably relevant part of the failing build log:
    ------------------------------------------------------
------------------------------------------------------
[ 61%] Building CXX object src/CMakeFiles/bustools_core.dir/bustools_predict.cpp.o
cd /build/reproducible-path/bustools-0.45.1+dfsg/obj-x86_64-linux-gnu/src && /usr/bin/c++  -I/build/reproducible-path/bustools-0.45.1+dfsg/src -I/usr/include/eigen3 -I/usr/include/LBFGSpp -std=c++11 -g -O2 -ffile-prefix-map=/build/reproducible-path/bustools-0.45.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -g -flto -MD -MT src/CMakeFiles/bustools_core.dir/bustools_predict.cpp.o -MF CMakeFiles/bustools_core.dir/bustools_predict.cpp.o.d -o CMakeFiles/bustools_core.dir/bustools_predict.cpp.o -c /build/reproducible-path/bustools-0.45.1+dfsg/src/bustools_predict.cpp
In file included from /usr/include/eigen3/Eigen/Core:22,
                 from /build/reproducible-path/bustools-0.45.1+dfsg/src/bustools_predict.cpp:13:
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:749:2: error: #error Eigen requires at least c++14 support.
  749 | #error Eigen requires at least c++14 support.
      |  ^~~~~
[ 65%] Building CXX object src/CMakeFiles/bustools_core.dir/bustools_project.cpp.o
cd /build/reproducible-path/bustools-0.45.1+dfsg/obj-x86_64-linux-gnu/src && /usr/bin/c++  -I/build/reproducible-path/bustools-0.45.1+dfsg/src -I/usr/include/eigen3 -I/usr/include/LBFGSpp -std=c++11 -g -O2 -ffile-prefix-map=/build/reproducible-path/bustools-0.45.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -g -flto -MD -MT src/CMakeFiles/bustools_core.dir/bustools_project.cpp.o -MF CMakeFiles/bustools_core.dir/bustools_project.cpp.o.d -o CMakeFiles/bustools_core.dir/bustools_project.cpp.o -c /build/reproducible-path/bustools-0.45.1+dfsg/src/bustools_project.cpp
[ 69%] Building CXX object src/CMakeFiles/bustools_core.dir/bustools_sort.cpp.o
cd /build/reproducible-path/bustools-0.45.1+dfsg/obj-x86_64-linux-gnu/src && /usr/bin/c++  -I/build/reproducible-path/bustools-0.45.1+dfsg/src -I/usr/include/eigen3 -I/usr/include/LBFGSpp -std=c++11 -g -O2 -ffile-prefix-map=/build/reproducible-path/bustools-0.45.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -g -flto -MD -MT src/CMakeFiles/bustools_core.dir/bustools_sort.cpp.o -MF CMakeFiles/bustools_core.dir/bustools_sort.cpp.o.d -o CMakeFiles/bustools_core.dir/bustools_sort.cpp.o -c /build/reproducible-path/bustools-0.45.1+dfsg/src/bustools_sort.cpp
In file included from /usr/include/eigen3/Eigen/Core:185:
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:209:37: error: ‘remove_const_t’ is not a member of ‘std’; did you mean ‘remove_const’? [-Wtemplate-body]
  209 | struct is_void : is_same<void, std::remove_const_t<T>> {};
      |                                     ^~~~~~~~~~~~~~
      |                                     remove_const
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:209:37: error: ‘remove_const_t’ is not a member of ‘std’; did you mean ‘remove_const’? [-Wtemplate-body]
  209 | struct is_void : is_same<void, std::remove_const_t<T>> {};
      |                                     ^~~~~~~~~~~~~~
      |                                     remove_const
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:209:52: error: template argument 2 is invalid [-Wtemplate-body]
  209 | struct is_void : is_same<void, std::remove_const_t<T>> {};
      |                                                    ^
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:209:53: error: expected ‘{’ before ‘>’ token
  209 | struct is_void : is_same<void, std::remove_const_t<T>> {};
      |                                                     ^~
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:305:27: error: ‘enable_if_t’ is not a member of ‘std’
  305 | struct array_size<T, std::enable_if_t<((T::SizeAtCompileTime & 0) == 0)>> {
      |                           ^~~~~~~~~~~
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:305:27: note: ‘std::enable_if_t’ is only available from C++14 onwards
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:305:27: error: ‘enable_if_t’ is not a member of ‘std’
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:305:27: note: ‘std::enable_if_t’ is only available from C++14 onwards
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:305:71: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class EnableIf> struct Eigen::internal::array_size’

#1136228#12
Date:
2026-06-08 21:14:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
bustools, 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 1136228@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated bustools 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, 08 Jun 2026 21:34:05 +0200
Source: bustools
Architecture: source
Version: 0.45.1+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1136228
Changes:
 bustools (0.45.1+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
   * Packaging update (routine-update)
   * Standards-Version: 4.7.4 (routine-update)
   * Remove Priority field (cme)
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
   * Reformat the Last-Update date as ISO YYYY-MM-DD.
   * Require C++14 to satisfy Eigen >= 3.4 / 5.0 minimum requirement
     Closes: #1136228
Checksums-Sha1:
 fba24418846d49609324cbaccf0b571212b15887 2092 bustools_0.45.1+dfsg-2.dsc
 2b20678d6b1f6c280f569de97c9456dffddb3ade 5616 bustools_0.45.1+dfsg-2.debian.tar.xz
 b618f680773cdd650d3863e5419d786f395e6aa6 7055 bustools_0.45.1+dfsg-2_amd64.buildinfo
Checksums-Sha256:
 4ddda100b130ffb0b25f53d4dc4c10777700ea78fa5e294c0514234083721363 2092 bustools_0.45.1+dfsg-2.dsc
 ed16c45e175cb7cb2f095035e2c24b1acfe071f6264a80f2eb150b63df365341 5616 bustools_0.45.1+dfsg-2.debian.tar.xz
 feedd310f9c337cfe18ba12fb33d8bf66db92c087fe9308baad8982373b902fb 7055 bustools_0.45.1+dfsg-2_amd64.buildinfo
Files:
 c930c79bef8fd5b8c79e4327187ffb8b 2092 science optional bustools_0.45.1+dfsg-2.dsc
 26d2dbbfd390d64ade7442133bc306f2 5616 science optional bustools_0.45.1+dfsg-2.debian.tar.xz
 8ef97130bcdb0fcc3de44bbee128b3f2 7055 science optional bustools_0.45.1+dfsg-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmonHHkRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGmWQ//VyxWhzRa73fFGe2gYm3i35brYFdWHLDU
CR+KoO+o0TMz2H7zi7aeskkcKDWIoDVhtryIKqqJ8afE2eJpA8Lk4C/JjjhLHScd
b//jaQ5TC6W4FgbVBGxJ7Kn4YXkt0TW6r0V+G4Id6hGm/m2p/BJ/CRnNjPetKi+5
VMgT0AbM5bNp6aerEohEx0SEjiCLosJ086EY4xdupcba8dsDQiCwmgPl0Y8AiLVa
M1dNkT4/Rk7c4cFtm10PrNqgHKG6uhyE5gtiV8RHQM7SripI5Y5tXq8kVg/Ea3iD
uyzFC0X9gvr+e9uRcwKVr17FP+Spm+izm2ehEz1hXLkvNU0twgfrfHiKY3FdMleh
ge0qsikEQqS5vvCpwdmsrzepkKRaLdXmr1YhFAxqfvlfVLiW/I72IaeiNpQvJXsM
Hwbi1AuPXlEvU1GZUa2h49HkRGf00zgWtqJuGLM/u8HIpay19WwYsG6/Idl8XEE3
gSBq1d9bs0elcnxdlRSY6pAQx816+lKaM3mt41NZb+U5Gk3Fxgw90HveFneU+40f
n1VPEbItxPNr/o+ge+geqjbbrF4bNEtiuX0j3kSU8b1gt8p5lL6G1AqPZOje0yHE
Nl0VmY/IL0QjniNPDRHKTAh4BFVUVRq5aUADMtVyruCWGRH6xX1DONldQ6j+r9z8
mCxHdRzcvNo=
=8Qth
-----END PGP SIGNATURE-----