[Debian-med-packaging] Bug#1133649: theseus: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:11:54 BST 2026
Package: src:theseus
Version: 3.3.0-14
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at 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 <pgt at debian.org>
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="install --strip-program=true"
make[2]: Entering directory '/build/reproducible-path/theseus-3.3.0'
mkdir -p lib
( cd libdistfit; make && 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="install --strip-program=true" 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
More information about the Debian-med-packaging
mailing list