[From nobody Wed Apr 22 03:47:07 2026
Received: (at maintonly) by bugs.debian.org; 13 Apr 2026 13:11:56 +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.6 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,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, 38; hammy, 150; neutral, 209; 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]:38480)
 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 1wCH52-002nAI-2v
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:11:56 +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=TrPix1QzN0HJSbDEPsLewc7FwhewkNKdbGcm/3dItAA=; b=cxBdLVyKFC5R9fNoXsgSnaQXGI
 QajpuHZmUmFOJAQR0uzKsPfDdrUs1pFjuX/s0zO++vKlWDe4zLr59oZNKpKWU4tpOGSpCI44HELuq
 ralp5dOhZPu900zIlzrPJhmcn6k/jYM0l1qUNoEXiCMuXVKndIMQ2fcHShx+xb01W6mhafefoxgei
 iIJUYb9QcS2tGLoqpEQEAh6OhrZabxiBHw1JHbFN6aTsOzhKQFb0fnAzWZHIeh6+au1bRNW0yYqnO
 RIrkp/qkor1cv+qRTPm9abFMumd5pcQfgrhrnjAcfQAtoE68pDvixRSmcgB+u/F+LjBV9RHmOKd/O
 x7rSOAmA==;
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 1wCH51-00CJk4-0l
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:11:55 +0000
Date: Mon, 13 Apr 2026 15:11:54 +0200
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: theseus: ftbfs with GCC-16
Message-ID: &lt;adzrmjzdo7DsYEvq@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:theseus
Version: 3.3.0-14
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

theseus 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/theseus_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.

[...]


APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_GB.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
OLDPWD=/work/ema/archive-rebuild
PARALLEL_JOBSLOT0=2
PARALLEL_JOBSLOT=3
PARALLEL_PID=1532054
PARALLEL_REMOTE_TMPDIR=/tmp
PARALLEL_RSYNC_OPTS=-rlDzR
PARALLEL_SEQ=8273
PARALLEL_SSHHOST=:
PARALLEL_SSHLOGIN=:
PARALLEL_TMP=/tmp/parXROYd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
SSHPASS=
USER=sbuild
XDG_SESSION_CLASS=user

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package theseus
dpkg-buildpackage: info: source version 3.3.0-14
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Pierre Gruet &lt;pgt@debian.org&gt;
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_auto_clean
	make -j128 clean
make[1]: Entering directory '/build/reproducible-path/theseus-3.3.0'
find . -name '*.[oa]' -exec rm -f {} \;
rm -f theseus distfit
make[1]: Leaving directory '/build/reproducible-path/theseus-3.3.0'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/theseus-3.3.0'
dh_auto_build --no-parallel
	make -j1 INSTALL=&quot;install --strip-program=true&quot;
make[2]: Entering directory '/build/reproducible-path/theseus-3.3.0'
mkdir -p lib
( cd libdistfit; make &amp;&amp; cp libdistfit.a ../lib  )
make[3]: Entering directory '/build/reproducible-path/theseus-3.3.0/libdistfit'
/usr/bin/gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops -fomit-frame-pointer -Wall -Werror -pedantic -std=c99 -Wno-unused-result -Wformat-truncation=0 -pthread  -c statistics.c
/usr/bin/gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops -fomit-frame-pointer -Wall -Werror -pedantic -std=c99 -Wno-unused-result -Wformat-truncation=0 -pthread  -c beta_dist.c
/usr/bin/gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops -fomit-frame-pointer -Wall -Werror -pedantic -std=c99 -Wno-unused-result -Wformat-truncation=0 -pthread  -c betaprime_dist.c
/usr/bin/gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops -fomit-frame-pointer -Wall -Werror -pedantic -std=c99 -Wno-unused-result -Wformat-truncation=0 -pthread  -c betasym_dist.c
betasym_dist.c: In function ‘betasym_fit’:
betasym_dist.c:181:25: error: variable ‘ave’ set but not used [-Werror=unused-but-set-variable=]
  181 |     double           a, ave, var, fx, dfx, tmp;
      |                         ^~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:29: betasym_dist.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/theseus-3.3.0/libdistfit'
make[2]: *** [Makefile:30: ldistfit] Error 2
make[2]: Leaving directory '/build/reproducible-path/theseus-3.3.0'
dh_auto_build: error: make -j1 INSTALL=&quot;install --strip-program=true&quot; returned exit code 2
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/theseus-3.3.0'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
]