[From nobody Thu May 14 21:25:14 2026
Received: (at maintonly) by bugs.debian.org; 13 Apr 2026 13:03:48 +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, 64; hammy, 150; neutral, 152; 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]:59244)
 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 1wCGx9-002klc-3D
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:03:48 +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-Transfer-Encoding:Content-Type
 :MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=LBdEOwLjY8IZv/PGSC4LXgeYQ3e9DfLEVqLahhhrX20=; b=mzzyZaH8wHOhAgm31cc1XP6LGg
 qeQpU+fxA2YxmuGpZfRweGXvysrk1qXgU5YZ1vPU+JsF1SG0JqfrDVdk4/obMHmtwlS5dVPJVilyF
 6Hs+k+vzf79VuyVDN2emnL3pW70P3vMvjsRR3Oo3ITEXvFU5m9ViMIAeyYw2DB7aNVbnqdmIIzzEg
 jalLH88rkmDCtdei5C641Gl01N5QRhMIKT8lLFIoxfjAfa3k5lEAxYpMERrTAEEPsg8JOjTBf/eD6
 tE1F04Qq51ghT3gGqzxVUY5zFhzoSlTmSWHHMMbVRMAbRgstSUe3wC0GPOiRA3bSoF+gFL3IL0ivq
 qYEKxABA==;
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 1wCGx8-00CJGW-1e
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:03:46 +0000
Date: Mon, 13 Apr 2026 15:03:46 +0200
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: freesasa: ftbfs with GCC-16
Message-ID: &lt;adzpsgeLG3bL2IgC@ariel.home&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-User: ema
Delivered-To: maintonly@bugs.debian.org

Package: src:freesasa
Version: 2.1.2-6
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

freesasa 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/freesasa_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.

[...]


      |       ^~~~~~
/usr/include/tao/pegtl/match.hpp:139:15: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
  139 |          auto m = in.template mark&lt; ( use_marker ? rewind_mode::required : rewind_mode::dontcare ) &gt;();
      |               ^
/usr/include/tao/pegtl/match.hpp: In instantiation of ‘auto tao::pegtl::match(ParseInput&amp;, States&amp;&amp; ...) [with Rule = gemmi::cif::rules::file; apply_mode A = tao::pegtl::apply_mode::action; rewind_mode M = tao::pegtl::rewind_mode::required; Action = gemmi::cif::Action; Control = gemmi::cif::Errors; ParseInput = cstream_input&lt;&gt;; States = {gemmi::cif::Document&amp;}]’:
/usr/include/tao/pegtl/normal.hpp:92:77:   required from ‘static bool tao::pegtl::normal&lt;Rule&gt;::match(ParseInput&amp;, States&amp;&amp; ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = gemmi::cif::Action; Control = gemmi::cif::Errors; ParseInput = tao::pegtl::cstream_input&lt;&gt;; States = {gemmi::cif::Document&amp;}; Rule = gemmi::cif::rules::file]’
   92 |             return TAO_PEGTL_NAMESPACE::match&lt; Rule, A, M, Action, Control &gt;( in, st... );
      |                                                                             ^
/usr/include/tao/pegtl/parse.hpp:43:70:   required from ‘auto tao::pegtl::parse(ParseInput&amp;&amp;, States&amp;&amp; ...) [with Rule = gemmi::cif::rules::file; Action = gemmi::cif::Action; Control = gemmi::cif::Errors; apply_mode A = tao::pegtl::apply_mode::action; rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = cstream_input&lt;&gt;&amp;; States = {gemmi::cif::Document&amp;}]’
   43 |       return Control&lt; Rule &gt;::template match&lt; A, M, Action, Control &gt;( in, st... );
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/gemmi/cif.hpp:267:44:   required from ‘void gemmi::cif::parse_input(Document&amp;, Input&amp;&amp;) [with Input = tao::pegtl::cstream_input&lt;&gt;&amp;]’
  267 |   pegtl::parse&lt;rules::file, Action, Errors&gt;(in, d);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/gemmi/cif.hpp:273:14:   required from ‘gemmi::cif::Document gemmi::cif::read_input(Input&amp;&amp;, int) [with Input = tao::pegtl::cstream_input&lt;&gt;&amp;]’
  273 |   parse_input(doc, in);
      |   ~~~~~~~~~~~^~~~~~~~~
/usr/include/gemmi/cif.hpp:316:20:   required from here
  316 |   return read_input(in, check_level);
      |          ~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/tao/pegtl/match.hpp:135:108: error: non-constant condition for static assertion
  135 |          static_assert( !enable_action || !validate_nothing || is_nothing || is_maybe_nothing || has_apply || has_apply0, &quot;either apply() or apply0() must be defined&quot; );
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/tao/pegtl/match.hpp:139:15: error: use of deleted function ‘tao::pegtl::internal::marker&lt;Iterator, M&gt;::marker(tao::pegtl::internal::marker&lt;Iterator, M&gt;&amp;&amp;) [with Iterator = tao::pegtl::internal::iterator; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::dontcare]’
  139 |          auto m = in.template mark&lt; ( use_marker ? rewind_mode::required : rewind_mode::dontcare ) &gt;();
      |               ^
/usr/include/tao/pegtl/internal/marker.hpp:22:7: note: declared here
   22 |       marker( marker&amp;&amp; ) = delete;
      |       ^~~~~~
/usr/include/tao/pegtl/match.hpp:139:15: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
  139 |          auto m = in.template mark&lt; ( use_marker ? rewind_mode::required : rewind_mode::dontcare ) &gt;();
      |               ^
/usr/include/tao/pegtl/match.hpp: In instantiation of ‘auto tao::pegtl::match(ParseInput&amp;, States&amp;&amp; ...) [with Rule = gemmi::cif::rules::file; apply_mode A = tao::pegtl::apply_mode::action; rewind_mode M = tao::pegtl::rewind_mode::required; Action = gemmi::cif::Action; Control = gemmi::cif::Errors; ParseInput = istream_input&lt;&gt;; States = {gemmi::cif::Document&amp;}]’:
/usr/include/tao/pegtl/normal.hpp:92:77:   required from ‘static bool tao::pegtl::normal&lt;Rule&gt;::match(ParseInput&amp;, States&amp;&amp; ...) [with tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = gemmi::cif::Action; Control = gemmi::cif::Errors; ParseInput = tao::pegtl::istream_input&lt;&gt;; States = {gemmi::cif::Document&amp;}; Rule = gemmi::cif::rules::file]’
   92 |             return TAO_PEGTL_NAMESPACE::match&lt; Rule, A, M, Action, Control &gt;( in, st... );
      |                                                                             ^
/usr/include/tao/pegtl/parse.hpp:43:70:   required from ‘auto tao::pegtl::parse(ParseInput&amp;&amp;, States&amp;&amp; ...) [with Rule = gemmi::cif::rules::file; Action = gemmi::cif::Action; Control = gemmi::cif::Errors; apply_mode A = tao::pegtl::apply_mode::action; rewind_mode M = tao::pegtl::rewind_mode::required; ParseInput = istream_input&lt;&gt;&amp;; States = {gemmi::cif::Document&amp;}]’
   43 |       return Control&lt; Rule &gt;::template match&lt; A, M, Action, Control &gt;( in, st... );
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/gemmi/cif.hpp:267:44:   required from ‘void gemmi::cif::parse_input(Document&amp;, Input&amp;&amp;) [with Input = tao::pegtl::istream_input&lt;&gt;&amp;]’
  267 |   pegtl::parse&lt;rules::file, Action, Errors&gt;(in, d);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/gemmi/cif.hpp:273:14:   required from ‘gemmi::cif::Document gemmi::cif::read_input(Input&amp;&amp;, int) [with Input = tao::pegtl::istream_input&lt;&gt;&amp;]’
  273 |   parse_input(doc, in);
      |   ~~~~~~~~~~~^~~~~~~~~
/usr/include/gemmi/cif.hpp:322:20:   required from here
  322 |   return read_input(in, check_level);
      |          ~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/tao/pegtl/match.hpp:135:108: error: non-constant condition for static assertion
  135 |          static_assert( !enable_action || !validate_nothing || is_nothing || is_maybe_nothing || has_apply || has_apply0, &quot;either apply() or apply0() must be defined&quot; );
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/tao/pegtl/match.hpp:139:15: error: use of deleted function ‘tao::pegtl::internal::marker&lt;Iterator, M&gt;::marker(tao::pegtl::internal::marker&lt;Iterator, M&gt;&amp;&amp;) [with Iterator = tao::pegtl::internal::iterator; tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::dontcare]’
  139 |          auto m = in.template mark&lt; ( use_marker ? rewind_mode::required : rewind_mode::dontcare ) &gt;();
      |               ^
/usr/include/tao/pegtl/internal/marker.hpp:22:7: note: declared here
   22 |       marker( marker&amp;&amp; ) = delete;
      |       ^~~~~~
/usr/include/tao/pegtl/match.hpp:139:15: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
  139 |          auto m = in.template mark&lt; ( use_marker ? rewind_mode::required : rewind_mode::dontcare ) &gt;();
      |               ^
make[4]: *** [Makefile:582: cif.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/freesasa-2.1.2/src'
make[3]: *** [Makefile:397: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/freesasa-2.1.2'
make[2]: *** [Makefile:336: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/freesasa-2.1.2'
dh_auto_build: error: make -j128 freesasa_LDADD=&quot;libfreesasa.a \${libdir}/libgemmi_cpp.a -lz -ljson-c -lxml2&quot; returned exit code 2
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/freesasa-2.1.2'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
]