[From nobody Sun Aug 23 16:07:04 2026
Received: (at maintonly) by bugs.debian.org; 13 Apr 2026 13:07:31 +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, 78; hammy, 150; neutral, 192; 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]:46330)
 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 1wCH0l-002luS-1D
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:07:31 +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=1Jsh3lsY59xOEjkQIoradzl2CP5B8tZk+6cgoKOicIM=; b=OWHU7ao6cxBBJ/5ZGRg9ioGk4c
 U9/+bSHfeN2xJ373Y1oGU05I/tC+lljmqPOlCXqF6P+YWphc8+WfrZh7+ND6jG4yodRVRr6Pi9LBG
 c9uHUsA3RfigNxit2kXdI2k/pvEwzBWyjoCmhTHaEveIjlCL0EXAhjKZ9ocba5N2knzvaypZ3vPh6
 W6B+fCPramveTpqst6TQK7b+oVc7x16JyX+WSeHuLCbC3TCwHGpZWTHoJwZjanHD1JCPWfOVxonMG
 SJ5l8YO8r9nsoowqrhAL0MbowU1gmVjUjnU6tLUJkUYDCvlFNpmgM3N6j/ekSmRERFHz9DsoKSC7C
 dcYcBGpw==;
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 1wCH0j-00CJTl-2c
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:07:30 +0000
Date: Mon, 13 Apr 2026 15:07:29 +0200
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: molds: ftbfs with GCC-16
Message-ID: &lt;adzqkbx63c8lWUOh@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:molds
Version: 0.3.1-3
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

molds 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/molds_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.

[...]


  110 |       catch(MolDS_base::MolDSException ex){
      |                                        ^~
In file included from mndo/Mndo.cpp:38:
mndo/../mpi/AsyncCommunicator.h: In instantiation of ‘void MolDS_mpi::AsyncCommunicator::Run() [with T = double]’:
mndo/Mndo.cpp:3577:50:   required from here
 3577 |    boost::thread communicationThread( boost::bind(&amp;MolDS_mpi::AsyncCommunicator::Run&lt;double&gt;, &amp;asyncCommunicator) );
      |                                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mndo/../mpi/AsyncCommunicator.h:62:43: warning: catching polymorphic type ‘class MolDS_base::MolDSException’ by value [-Wcatch-value=]
   62 |          catch(MolDS_base::MolDSException ex){
      |                                           ^~
mndo/../mpi/AsyncCommunicator.h:32:11: warning: unused variable ‘mpiRank’ [-Wunused-variable]
   32 |       int mpiRank = MolDS_mpi::MpiProcess::GetInstance()-&gt;GetRank();
      |           ^~~~~~~
cndo/../mpi/MpiProcess.h: In instantiation of ‘void MolDS_mpi::MpiProcess::SplitMessage2Chunks(std::vector&lt;Chunk&gt;&amp;, int, T*, MolDS_mpi::molds_mpi_int) const [with T = const double; MolDS_mpi::molds_mpi_int = long int]’:
cndo/../mpi/MpiProcess.h:39:32:   required from ‘void MolDS_mpi::MpiProcess::Send(int, int, const T*, MolDS_mpi::molds_mpi_int) [with T = double; MolDS_mpi::molds_mpi_int = long int]’
   39 |       this-&gt;SplitMessage2Chunks(chunks, tag, values, num);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
cndo/../mpi/AsyncCommunicator.h:38:58:   required from ‘void MolDS_mpi::AsyncCommunicator::Run() [with T = double]’
   38 |                MolDS_mpi::MpiProcess::GetInstance()-&gt;Send(mInfo.dest,
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
   39 |                                                           mInfo.tag,
      |                                                           ~~~~~~~~~~
   40 |                                                           reinterpret_cast&lt;T*&gt;(mInfo.vectorPtr),
      |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   41 |                                                           mInfo.num);
      |                                                           ~~~~~~~~~~
cndo/Cndo2.cpp:1446:50:   required from here
 1446 |    boost::thread communicationThread( boost::bind(&amp;MolDS_mpi::AsyncCommunicator::Run&lt;double&gt;, &amp;asyncCommunicator) );
      |                                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cndo/../mpi/MpiProcess.h:177:41: warning: narrowing conversion of ‘num’ from ‘MolDS_mpi::molds_mpi_int’ {aka ‘long int’} to ‘int’ [-Wnarrowing]
  177 |          Chunk chunk = {origianlTag, 0, num};
      |                                         ^~~
mndo/../mpi/MpiProcess.h: In instantiation of ‘void MolDS_mpi::MpiProcess::SplitMessage2Chunks(std::vector&lt;Chunk&gt;&amp;, int, T*, MolDS_mpi::molds_mpi_int) const [with T = double; MolDS_mpi::molds_mpi_int = long int]’:
mndo/../mpi/MpiProcess.h:53:32:   required from ‘void MolDS_mpi::MpiProcess::Recv(int, int, T*, MolDS_mpi::molds_mpi_int) [with T = double; MolDS_mpi::molds_mpi_int = long int]’
   53 |       this-&gt;SplitMessage2Chunks(chunks, tag, values, num);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
mndo/Mndo.cpp:988:52:   required from here
  988 |          MolDS_mpi::MpiProcess::GetInstance()-&gt;Recv(source, tag, matrixCIS[k], this-&gt;matrixCISdimension);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mndo/../mpi/MpiProcess.h:177:41: warning: narrowing conversion of ‘num’ from ‘MolDS_mpi::molds_mpi_int’ {aka ‘long int’} to ‘int’ [-Wnarrowing]
  177 |          Chunk chunk = {origianlTag, 0, num};
      |                                         ^~~
mndo/../mpi/MpiProcess.h: In instantiation of ‘void MolDS_mpi::MpiProcess::SplitMessage2Chunks(std::vector&lt;Chunk&gt;&amp;, int, T*, MolDS_mpi::molds_mpi_int) const [with T = const double; MolDS_mpi::molds_mpi_int = long int]’:
mndo/../mpi/MpiProcess.h:39:32:   required from ‘void MolDS_mpi::MpiProcess::Send(int, int, const T*, MolDS_mpi::molds_mpi_int) [with T = double; MolDS_mpi::molds_mpi_int = long int]’
   39 |       this-&gt;SplitMessage2Chunks(chunks, tag, values, num);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
mndo/Mndo.cpp:997:52:   required from here
  997 |          MolDS_mpi::MpiProcess::GetInstance()-&gt;Send(dest, tag, matrixCIS[k], this-&gt;matrixCISdimension);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mndo/../mpi/MpiProcess.h:177:41: warning: narrowing conversion of ‘num’ from ‘MolDS_mpi::molds_mpi_int’ {aka ‘long int’} to ‘int’ [-Wnarrowing]
  177 |          Chunk chunk = {origianlTag, 0, num};
      |                                         ^~~
mndo/../mpi/MpiProcess.h: In instantiation of ‘void MolDS_mpi::MpiProcess::AllReduce(const T*, MolDS_mpi::molds_mpi_int, T*, Op) [with T = double; Op = std::plus&lt;double&gt;; MolDS_mpi::molds_mpi_int = long int]’:
mndo/../mpi/MpiProcess.h:105:25:   required from ‘void MolDS_mpi::MpiProcess::AllReduce(T*, MolDS_mpi::molds_mpi_int, Op) [with T = double; Op = std::plus&lt;double&gt;; MolDS_mpi::molds_mpi_int = long int]’
  105 |          this-&gt;AllReduce(values, num, tmpValues, op);
      |          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
mndo/Mndo.cpp:2852:51:   required from here
 2852 |    MolDS_mpi::MpiProcess::GetInstance()-&gt;AllReduce(&amp;this-&gt;matrixForce[0][0][0], numTransported, std::plus&lt;double&gt;());
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mndo/../mpi/MpiProcess.h:92:31: warning: comparison of integer expressions of different signedness: ‘MolDS_mpi::molds_mpi_int’ {aka ‘long int’} and ‘std::vector&lt;MolDS_mpi::MpiProcess::Chunk&gt;::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   92 |       for(molds_mpi_int i=0; i&lt;chunks.size(); i++){
      |                              ~^~~~~~~~~~~~~~
make[2]: *** [Makefile_GNU:56: obj/Cndo2.o] Error 1
make[2]: *** [Makefile_GNU:56: obj/ZindoS.o] Error 1
make[2]: *** [Makefile_GNU:56: obj/Mndo.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/molds-0.3.1/src'
dh_auto_build: error: cd src &amp;&amp; make -j128 INSTALL=&quot;install --strip-program=true&quot; -f Makefile_GNU returned exit code 2
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/molds-0.3.1'
make: *** [debian/rules:20: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
]