enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #10995
[Bug 2125118] [NEW] FTBFS with gcc15 in Questing
Public bug reported:
Found in the full archive rebuild, log:
- https://launchpadlibrarian.net/818384291/buildlog_ubuntu-questing-amd64.squid_6.13-1ubuntu2_BUILDING.txt.gz
...
protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/squid-6.13-1ubuntu2 -Wno-error=deprecated-declarations -c gadgets.cc -fPIC -DPIC -o .libs/gadgets.o
crtd_message.cc: In member function 'Ssl::CrtdMessage::compose[abi:cxx11]() const':
crtd_message.cc:132:39: error: '%zd' directive output may be truncated writing between 1 and 19 bytes into a region of size 10 [-Werror=format-truncation=]
132 | snprintf(buffer, sizeof(buffer), "%zd", body.length());
| ^~~
crtd_message.cc:132:38: note: directive argument in the range [0, 9223372036854775806]
132 | snprintf(buffer, sizeof(buffer), "%zd", body.length());
| ^~~~~
In file included from /usr/include/stdio.h:970,
from ../../compat/stdio.h:26,
from ../../compat/compat.h:90,
from ../../include/squid.h:32,
from crtd_message.cc:9:
In function 'snprintf',
inlined from 'Ssl::CrtdMessage::compose[abi:cxx11]() const' at crtd_message.cc:132:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: '__snprintf_chk' output between 2 and 20 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 ());
...
AFAICS that needs at least
- https://github.com/squid-cache/squid/commit/41b2adf454a46f7b8e7925beb8ae368136dd80f0
and maybe
- https://github.com/squid-cache/squid/commit/a66177665e2207d94205f77b420c3f91f0dd778e
** Affects: squid (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to squid in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/2125118
Title:
FTBFS with gcc15 in Questing
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/2125118/+subscriptions
Follow ups