#1149272 bagel: FTBFS with boost 1.92

Package:
src:bagel
Source:
src:bagel
Submitter:
Anton Gladky
Date:
2026-10-20 13:35:11 UTC
Severity:
normal
Tags:
#1149272#5
Date:
2026-09-29 04:32:45 UTC
From:
To:
Dear Maintainer,

Boost 1.92 will most likely be the default boost version in the
upcoming Debian 14 (forky) release.

bagel FTBFS with boost 1.92. Note that the FTBFS may not necessarily be
connected to boost - please check the build log for the actual cause.

Note: This ticket severity will be increased to RC bug when
boost-defaults is switched to 1.92.

If your package depends on versioned boost packages (e.g. libboost1.90-dev),
please switch to the unversioned (default) ones (e.g. libboost-dev), so the
package follows future boost transitions automatically.

Here is the most probably relevant part of the failing build log:

==================== build log ====================

make[5]: Entering directory '/build/reproducible-path/bagel-1.2.2/src/util/io'
/bin/bash ../../../libtool  --tag=CXX   --mode=compile mpicxx -DHAVE_CONFIG_H -I. -I../../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I../../.. -g1 -O2 -DNDEBUG -DZDOT_RETURN -ffile-prefix-map=/build/reproducible-path/bagel-1.2.2=. -c -o moldenin.lo moldenin.cc
libtool: compile:  mpicxx -DHAVE_CONFIG_H -I. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I../../.. -g1 -O2 -DNDEBUG -DZDOT_RETURN -ffile-prefix-map=/build/reproducible-path/bagel-1.2.2=. -c moldenin.cc -o moldenin.o
In file included from ../../../btas/range.h:27,
                 from ../../../btas/defaults.h:15,
                 from ../../../btas/tensor.h:11,
                 from ../../../btas/generic/axpy_impl.h:8,
                 from ../../../btas/btas.h:8,
                 from ../../../src/util/math/btas_interface.h:38,
                 from ../../../src/util/math/vectorb.h:30,
                 from ../../../src/util/math/matrix_base.h:33,
                 from ../../../src/util/math/matrix.h:32,
                 from ../../../src/util/math/zmatrix.h:30,
                 from ../../../src/molecule/shell.h:29,
                 from ../../../src/molecule/atom.h:29,
                 from ../../../src/molecule/molecule.h:29,
                 from ../../../src/wfn/hcoreinfo.h:29,
                 from ../../../src/mat1e/hcore.h:29,
                 from ../../../src/wfn/reference.h:30,
                 from ../../../src/util/io/moldenio.h:31,
                 from ../../../src/util/io/moldenin.h:28,
                 from moldenin.cc:25:
../../../btas/util/functional.h:30:58: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   30 |   struct first_of_pair< std::pair<T1,T2> > : public std::unary_function<const std::pair<T1,T2>&,const T1&>  {
      |                                                          ^~~~~~~~~~~~~~
In file included from /usr/include/c++/16/string:52,
                 from /usr/include/c++/16/bits/locale_classes.h:43,
                 from /usr/include/c++/16/bits/ios_base.h:43,
                 from /usr/include/c++/16/ios:46,
                 from /usr/include/c++/16/istream:42,
                 from /usr/include/c++/16/fstream:42,
                 from ../../../src/util/io/moldenio.h:28:
/usr/include/c++/16/bits/stl_function.h:120:12: note: declared here
  120 |     struct unary_function
      |            ^~~~~~~~~~~~~~
../../../btas/util/functional.h:37:59: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   37 |   struct second_of_pair< std::pair<T1,T2> > : public std::unary_function<const std::pair<T1,T2>&,const T2&> {
      |                                                           ^~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:120:12: note: declared here
  120 |     struct unary_function
      |            ^~~~~~~~~~~~~~
In file included from ../../../btas/tensorview.h:15,
                 from ../../../btas/tensor.h:13:
../../../btas/tensorview_iterator.h:20:42: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   20 |   class TensorViewIterator : public std::iterator<typename std::conditional<std::is_const<Storage>::value,
      |                                          ^~~~~~~~
In file included from /usr/include/c++/16/bits/stl_construct.h:61,
                 from /usr/include/c++/16/bits/char_traits.h:59,
                 from /usr/include/c++/16/ios:44:
/usr/include/c++/16/bits/stl_iterator_base_types.h:129:34: note: declared here
  129 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
../../../btas/tensorview_iterator.h:33:20: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   33 |       typedef std::iterator<typename std::conditional<std::is_const<Storage>::value,
      |                    ^~~~~~~~
/usr/include/c++/16/bits/stl_iterator_base_types.h:129:34: note: declared here
  129 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from ../../../src/molecule/atom.h:32:
../../../src/util/input/input.h:38:35: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
   38 | class PTreeIterator : public std::iterator<std::bidirectional_iterator_tag, const std::shared_ptr<const PTree>> {
      |                                   ^~~~~~~~
/usr/include/c++/16/bits/stl_iterator_base_types.h:129:34: note: declared here
  129 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from ../../../src/util/constants.h:30,
                 from ../../../src/ci/ciutil/cistring.h:31,
                 from ../../../src/ci/ciutil/citraits.h:29,
                 from ../../../src/ci/ciutil/ciblock.h:29,
                 from ../../../src/ci/ciutil/determinants_base.h:29,
                 from ../../../src/ci/fci/determinants.h:29,
                 from ../../../src/ci/fci/civec.h:33,
                 from ../../../src/ci/fci/dvec.h:29,
                 from ../../../src/wfn/reference.h:31:
/usr/include/c++/16/chrono: In function 'std::chrono::leap_second_info std::chrono::__detail::__get_leap_second_info(std::chrono::sys_seconds, bool)':
/usr/include/c++/16/chrono:3292:47: error: call of overloaded 'begin(const std::chrono::duration<long int>::rep [27])' is ambiguous
 3292 |       const seconds::rep* __first = std::begin(__leaps);
      |                                     ~~~~~~~~~~^~~~~~~~~
  • there are 2 candidates
In file included from /usr/include/c++/16/string:56:
    • candidate 1: 'constexpr _Tp* std::begin(_Tp (&)[_Nm]) [with _Tp = const long int; long unsigned int _Nm = 27]'
      /usr/include/c++/16/bits/range_access.h:101:5:
        101 |     begin(_Tp (&__arr)[_Nm]) noexcept
            |     ^~~~~
In file included from ../../../btas/range.h:21:
    • candidate 2: 'T* std::begin(T*) [with T = const long int]'
      ../../../btas/array_adaptor.h:168:6:
        168 |   T* begin(T* x) {
            |      ^~~~~
make[5]: *** [Makefile:413: moldenin.lo] Error 1
make[5]: Leaving directory '/build/reproducible-path/bagel-1.2.2/src/util/io'
make[4]: *** [Makefile:466: all-recursive] Error 1
make[4]: Leaving directory '/build/reproducible-path/bagel-1.2.2/src/util'
make[3]: *** [Makefile:618: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/bagel-1.2.2/src'
make[2]: *** [Makefile:439: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/bagel-1.2.2'
make[1]: *** [Makefile:371: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/bagel-1.2.2'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
==================== end of build log =============

Thanks,

Anton Gladky

#1149272#14
Date:
2026-10-20 13:34:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
bagel, 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 1133429@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated bagel 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: Sat, 17 Oct 2026 20:25:36 +0300
Source: bagel
Architecture: source
Version: 1.2.2-8.1
Distribution: unstable
Urgency: medium
Maintainer: Debichem Team <debichem-devel@lists.alioth.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1133429
Changes:
 bagel (1.2.2-8.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS with GCC 16. (Closes: #1133429)
   * Enable parallel building again.
   * Don't run the autopkgtest on s390x.
Checksums-Sha1:
 7c90f2733f2ce7efadcc4bc0263f9b8f4bbfde12 2093 bagel_1.2.2-8.1.dsc
 b56b51ff039197bedddee633f5ccfac71e646588 9072 bagel_1.2.2-8.1.debian.tar.xz
Checksums-Sha256:
 3ed67436913a09559534598e0c08a7befc29bdc465a700c288d40014128a988e 2093 bagel_1.2.2-8.1.dsc
 863b30a5cf8852f38f4624b093f3a8ca883521b55339e5ac87f14ae226efac54 9072 bagel_1.2.2-8.1.debian.tar.xz
Files:
 08d3c004e51967e01b8a0018a5b37333 2093 science optional bagel_1.2.2-8.1.dsc
 3fa98ab75183747e85ed51c1fd98272b 9072 science optional bagel_1.2.2-8.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmrUwuAACgkQiNJCh6LY
mLEiSg//Vfw3xFH9k32iZAixFfCAykBrurwDjyn92lP3spvXNglpbYPbWNhdiVfv
U+2JZ54cjN2NhzkL43iwVvugXNlMVeuhFx/3CvZJMRiiOy37Om6xndivCFhwdgnE
YxqqGYZvBl4eCHZL6+VyjJXPMbaToTMrH0TDaO2o3KQv+KdNdAp1eWRVDvsIt+5r
DRbnYbTNtc5Ucmpp0jE4yKxEtaQwRWxXWqBAPX6XCubrslKahOvQW2NkgaX6Zivj
ibFJXHtKzsabqFna0HMz1V5JzUabEc5BoUx3qch20A1hNHVReRwiFioZ0CY+DDSl
9OCfLLMNtttFv0XAuAf8wVO++AjlagzjFHayvE1aBJng78+gpcGgP9+4SdwwqWlx
BTFw4oQbVwzVNB3qg4xS6P/UXBExHxbS+jDZeMT7Uqnmuni/87YQgZakQLJ1GMIB
dm5pE8lhfC46eQ08ypNMw3LynQdfSBXWtMETZF3PDDoii21t3Bxjf4+5sR8uERtn
UN58ViXh/ZcGgkChN85U37OpszXvQV2+5UFepx9QfJjq4ZGyuGTjaxNdG75JyqSx
e1H6+8x9H638Yg453BZDXdwkL2BramqYYvRzIQ94DhneeBjm/OGwIlD9jhdBhE8U
JtlKfq6Eseo5qiyCKlAwqanYDx2eTe2nhYnd+YK1BdWX7MX2JjA=
=HzZC
-----END PGP SIGNATURE-----