#1133482 garli: ftbfs with GCC-16

Package:
src:garli
Source:
src:garli
Submitter:
Emanuele Rocca
Date:
2026-08-11 06:51:03 UTC
Severity:
normal
Tags:
#1133482#5
Date:
2026-04-13 13:03:54 UTC
From:
To:
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

#1133482#10
Date:
2026-08-11 06:24:40 UTC
From:
To:
Hello,

Bug #1133482 in garli reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/garli/-/commit/a27a90e6b7a3c019f6c1d85ff3b32adb817b3913

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133482

#1133482#17
Date:
2026-08-11 06:49:27 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
garli, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1133482@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated garli package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 11 Aug 2026 08:09:10 +0200
Source: garli
Architecture: source
Version: 2.1-10
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1133482
Changes:
 garli (2.1-10) unstable; urgency=medium
 .
   * d/watch: version=5
   * Standards-Version: 4.7.4 (routine-update)
   * Reflow Uploaders field (cme)
   * Remove Priority field (cme)
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
   * Set upstream metadata fields: Repository, Repository-Browse.
   * Fix NULL-destination sprintf() in ErrorException's formatting
     Closes: #1133482
   * d/rules: stick to -std=gnu++14 (also needed for bug #1133482)
Checksums-Sha1:
 bf3786f1085a98d564ab3c8d5c9ce78138f96c3a 2077 garli_2.1-10.dsc
 261abf5df3f3db7e012db5fa43fbaa32dd8d47ed 5564 garli_2.1-10.debian.tar.xz
 ca7d9b473fb761e1ab70961500193866a7c61117 9525 garli_2.1-10_amd64.buildinfo
Checksums-Sha256:
 c989bc69f28f0eca020d7bf299f817cf979b5b70472fac305e1a160a3042a6a2 2077 garli_2.1-10.dsc
 4d43c21a007ee13e1b92c910c9f7cfe6caf93bced609ad0504242fb87292adf4 5564 garli_2.1-10.debian.tar.xz
 dd3ed8fa564b4f45d52467d50471fadc780ee5feaac9eff42277e9d3208596ca 9525 garli_2.1-10_amd64.buildinfo
Files:
 6572db15ae86cc5ac780523b7be622f6 2077 science optional garli_2.1-10.dsc
 9eb18a9a0d30fdc3e6ca25d01fa2273a 5564 science optional garli_2.1-10.debian.tar.xz
 eecf128720fb44d55f65a2354f39c14c 9525 science optional garli_2.1-10_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmp6wD0RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtElBxAAh6JwabROKX5jkgrbFTR9IGg8gnXEFLRP
a67xY59jalluM4gtZdL3ottiLEn8gAWIazwvZdPe56LK2PXImQ6CeNAM7qUYmX2h
Fw33EkKWOeI6EwyGWOFS/Pmb+3kWRIUbEB/Vb51RSl+fpPbS5FmD+f54p5arEAtZ
rZAdRTHRazDHjlW/rfxW1yxHwB/gYnZLKDlGT5q1C0fz982/IBev+yq1MhB8CVXQ
im3IvwYiQXhCnXIf/LNvJkvgq1wKMjGQm+GQVsckUjkiDiuXKMUD2VUvaVs/nNuX
4hu3FIMYuciUN+XRPizIu+m+KBquznd/8/iQwrNolFzO4495gUEj3DfTNBGYLDlZ
GKO43+Lq8ZXhpeYPJOt8EWXwmtmP1ABNaP+5TiP7Sgohdg+vpGJwTurcEV5wfzDL
ffothLIOnZVyelO2NMd9R72Ux+Z1DsiHg5IYb8VQPiKWQZc/3PiaVBHMhZO0bnue
U4NZoIz8Hgtsl+nvqLjwcI94ZzD91BrikUsr3rEAkMf+06/9EPvrGlEzSJUMusSx
G1xzpkpwV2AY+7DWCKLCxCuHTlDAdIo8u6lRU8WKdJPwz6EH3P8Jtm0AKVkrjB+I
L/yXei7psbvFjldlM+H9NWr1rGf3hQag0yuuY+KZ95EUWZJKiSZ/b5TwOA2GQofs
eF3HqDeT444=
=GO6+
-----END PGP SIGNATURE-----