[Debian-med-packaging] Bug#1133482: garli: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:03:54 BST 2026
Package: src:garli
Version: 2.1-9
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
garli 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/garli_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.
[...]
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: in a call to built-in function ‘int __builtin_sprintf(char*, const char*, ...)’
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: warning: null destination pointer [-Wformat-overflow=]
In file included from /usr/include/stdio.h:970,
from /usr/include/c++/16/cstdio:47,
from /usr/include/ncl/ncl.h:27,
from garlireader.cpp:41:
In function ‘int sprintf(char*, const char*, ...)’,
inlined from ‘ErrorException::ErrorException(const char*, ...)’ at errorexception.h:97:12:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: warning: argument 1 null where non-null expected [-Wnonnull]
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: in a call to built-in function ‘int __builtin_sprintf(char*, const char*, ...)’
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: warning: null destination pointer [-Wformat-overflow=]
In file included from /usr/include/stdio.h:970,
from /usr/include/c++/16/cstdio:47,
from /usr/include/c++/16/ext/string_conversions.h:47,
from /usr/include/c++/16/bits/basic_string.h:4499,
from /usr/include/c++/16/string:58,
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 datamatr.cpp:20:
In function ‘int sprintf(char*, const char*, ...)’,
inlined from ‘ErrorException::ErrorException(const char*, ...)’ at errorexception.h:97:12:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: warning: argument 1 null where non-null expected [-Wnonnull]
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: in a call to built-in function ‘int __builtin_sprintf(char*, const char*, ...)’
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: warning: null destination pointer [-Wformat-overflow=]
In file included from /usr/include/stdio.h:970,
from /usr/include/c++/16/cstdio:47,
from /usr/include/c++/16/ext/string_conversions.h:47,
from /usr/include/c++/16/bits/basic_string.h:4499,
from /usr/include/c++/16/string:58,
from datamatr.h:23,
from sequencedata.h:27,
from sequencedata.cpp:21:
In function ‘int sprintf(char*, const char*, ...)’,
inlined from ‘ErrorException::ErrorException(const char*, ...)’ at errorexception.h:97:12:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: warning: argument 1 null where non-null expected [-Wnonnull]
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: in a call to built-in function ‘int __builtin_sprintf(char*, const char*, ...)’
/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: warning: null destination pointer [-Wformat-overflow=]
make[4]: Leaving directory '/build/reproducible-path/garli-2.1/src'
make[3]: *** [Makefile:402: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/garli-2.1'
make[2]: *** [Makefile:343: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/garli-2.1'
dh_auto_build: error: make -j128 returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_configure] Error 25
make[1]: Leaving directory '/build/reproducible-path/garli-2.1'
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