Your message dated Mon, 15 Sep 2025 16:46:35 +0200
with message-id <[email protected]>
and subject line foomatic-filters: ftbfs with GCC-15
has caused the Debian Bug report #1096646,
regarding foomatic-filters: ftbfs with GCC-15
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1096646: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096646
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:foomatic-filters
Version: 4.0.17-16
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[This bug is NOT targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/foomatic-filters_4.0.17-16_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html
[...]
| ~~~~~~~~~~~~~~~~~
options.c: In function ‘unhtmlify’:
options.c:1227:34: warning: ‘%02d’ directive writing between 2 and 11 bytes
into a region of size 10 [-Wformat-overflow=]
1227 | sprintf(tmpstr, "%02d", t->tm_mon + 1);
| ^~~~
options.c:1227:33: note: directive argument in the range [-2147483647,
2147483647]
1227 | sprintf(tmpstr, "%02d", t->tm_mon + 1);
| ^~~~~~
In file included from /usr/include/stdio.h:970,
from foomaticrip.h:34,
from options.c:24:
In function ‘sprintf’,
inlined from ‘unhtmlify’ at options.c:1227:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note:
‘__builtin___sprintf_chk’ output between 3 and 12 bytes into a destination of
size 10
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
options.c: In function ‘unhtmlify’:
options.c:1222:34: warning: ‘%04d’ directive writing between 4 and 11 bytes
into a region of size 10 [-Wformat-overflow=]
1222 | sprintf(tmpstr, "%04d", t->tm_year + 1900);
| ^~~~
options.c:1222:33: note: directive argument in the range [-2147481748,
2147483647]
1222 | sprintf(tmpstr, "%04d", t->tm_year + 1900);
| ^~~~~~
In function ‘sprintf’,
inlined from ‘unhtmlify’ at options.c:1222:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note:
‘__builtin___sprintf_chk’ output between 5 and 12 bytes into a destination of
size 10
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
options.c: In function ‘unhtmlify’:
options.c:1209:45: warning: ‘__builtin___snprintf_chk’ output may be truncated
before the last format character [-Wformat-truncation=]
1209 | snprintf(tmpstr, 10, "%d", job->rbinumcopies);
| ^
In function ‘snprintf’,
inlined from ‘unhtmlify’ at options.c:1209:21:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note:
‘__builtin___snprintf_chk’ output between 2 and 11 bytes into a destination of
size 10
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
options.c: In function ‘param_set_allowed_chars’:
options.c:1341:29: warning: ‘%s’ directive output may be truncated writing up
to 127 bytes into a region of size 126 [-Wformat-truncation=]
1341 | snprintf(rxstr, 128, "^[%s]*$", tmp);
| ^~ ~~~
In function ‘snprintf’,
inlined from ‘param_set_allowed_chars’ at options.c:1341:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note:
‘__builtin___snprintf_chk’ output between 6 and 133 bytes into a destination of
size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/build/reproducible-path/foomatic-filters-4.0.17'
make[2]: *** [Makefile:376: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/foomatic-filters-4.0.17'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/foomatic-filters-4.0.17'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Thanks for the update.
--- End Message ---