[From nobody Tue Oct 20 14:35:14 2026
Received: (at maintonly) by bugs.debian.org; 13 Apr 2026 13:01:24 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-116.7 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 86; hammy, 150; neutral, 170; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;ema@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:60432)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ema@debian.org&gt;) id 1wCGuq-002kDP-08
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:01:24 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=wmn6q16CyWufSOsvFvucu1hc/jrronwKQq9388RC7sM=; b=BM5VimdhGmAoMYGERl/uVofa4J
 rd5MBqynoTOJOp3srPsSeyvqEtGEU/6dZB4mObZaKxx12aM+G3lYxmyxF/B+7HboJzRVTPqrRERVo
 aIzeyWz9qJphiicpXkH58QmCf25DrBGwO1F/ctWjWNvVVMA4etwWpPGwgEoTXYef+b888qEyyIHnz
 UkHvnRnbQD1rpETyK1ELf9g6m8uhBi0IXyd1fDzGF7A8S6KnFQMbHBKOgah7qjcAyMZh47a0UsmHc
 X95Jnm2QNpkHUjGIND535XFVOHTzW83nEQHkAmtsX6JxEIh5DwqXuvtayV8tkv68fzdDNRF3LbYd8
 ak/7178g==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ema@debian.org&gt;) id 1wCGuo-00CJAd-1W
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:01:22 +0000
Date: Mon, 13 Apr 2026 15:01:22 +0200
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: bagel: ftbfs with GCC-16
Message-ID: &lt;adzpIuxTCWNVCGcF@ariel.home&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: ema
Delivered-To: maintonly@bugs.debian.org

Package: src:bagel
Version: 1.2.2-8
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

bagel fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/bagel_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


      |            ^~~~~~~~~~~~~~
/bin/bash ../../libtool  --tag=CXX   --mode=compile mpicxx -std=gnu++11 -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 libint/libint.lo libint/libint.cc
libtool: compile:  mpicxx -std=gnu++11 -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 libint/libint.cc -o libint/libint.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile mpicxx -std=gnu++11 -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 libint/glibint.lo libint/glibint.cc
libtool: compile:  mpicxx -std=gnu++11 -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 libint/glibint.cc -o libint/glibint.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile mpicxx -std=gnu++11 -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 ecp/angularbatch.lo ecp/angularbatch.cc
libtool: compile:  mpicxx -std=gnu++11 -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 ecp/angularbatch.cc -o ecp/angularbatch.o
In file included from ecp/angularbatch.cc:26:
../../src/util/math/bessel.h: In member function 'double bagel::MSphBesselI::compute(int, double) const':
../../src/util/math/bessel.h:71:44: error: 'numeric_limits' is not a member of 'std'
   71 |         } while (std::fabs(current) &gt; std::numeric_limits&lt;double&gt;::epsilon());
      |                                            ^~~~~~~~~~~~~~
../../src/util/math/bessel.h:71:59: error: expected primary-expression before 'double'
   71 |         } while (std::fabs(current) &gt; std::numeric_limits&lt;double&gt;::epsilon());
      |                                                           ^~~~~~
../../src/util/math/bessel.h:71:59: error: expected ')' before 'double'
../../src/util/math/bessel.h:71:17: note: to match this '('
   71 |         } while (std::fabs(current) &gt; std::numeric_limits&lt;double&gt;::epsilon());
      |                 ^
../../src/util/math/bessel.h:71:59: error: expected ';' before 'double'
   71 |         } while (std::fabs(current) &gt; std::numeric_limits&lt;double&gt;::epsilon());
      |                                                           ^~~~~~
../../src/util/math/bessel.h:71:65: error: expected unqualified-id before '&gt;' token
   71 |         } while (std::fabs(current) &gt; std::numeric_limits&lt;double&gt;::epsilon());
      |                                                                 ^
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/integral/ecp/angularbatch.h:29,
                 from ecp/angularbatch.cc:29:
../../btas/util/functional.h: At global scope:
../../btas/util/functional.h:30:58: warning: 'template&lt;class _Arg, class _Result&gt; struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   30 |   struct first_of_pair&lt; std::pair&lt;T1,T2&gt; &gt; : public std::unary_function&lt;const std::pair&lt;T1,T2&gt;&amp;,const T1&amp;&gt;  {
      |                                                          ^~~~~~~~~~~~~~
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/bits/ostream.h:43,
                 from /usr/include/c++/16/ostream:42,
                 from /usr/include/c++/16/iostream:43,
                 from ../../src/util/math/bessel.h:30:
/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&lt;class _Arg, class _Result&gt; struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   37 |   struct second_of_pair&lt; std::pair&lt;T1,T2&gt; &gt; : public std::unary_function&lt;const std::pair&lt;T1,T2&gt;&amp;,const T2&amp;&gt; {
      |                                                           ^~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:120:12: note: declared here
  120 |     struct unary_function
      |            ^~~~~~~~~~~~~~
make[4]: *** [Makefile:1179: ecp/angularbatch.lo] Error 1
make[4]: Leaving directory '/build/reproducible-path/bagel-1.2.2/src/integral'
make[3]: *** [Makefile:617: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/bagel-1.2.2/src'
make[2]: *** [Makefile:430: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/bagel-1.2.2'
make[1]: *** [Makefile:362: 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
]