[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1097594: marked as done (pktstat: ftbfs with GCC-15)



Your message dated Thu, 23 Oct 2025 14:38:26 +0000
with message-id <E1vBwSQ-004cAG-0e@fasolo.debian.org>
and subject line Bug#1097594: fixed in pktstat 1.8.5-9
has caused the Debian Bug report #1097594,
regarding pktstat: 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 owner@bugs.debian.org
immediately.)


-- 
1097594: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097594
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:pktstat
Version: 1.8.5-8
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
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/pktstat_1.8.5-8_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

[...]
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from tcp_http.c:9:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
tcp_http.c: In function ‘tcp_http’:
tcp_http.c:36:1: warning: old-style function definition [-Wold-style-definition]
   36 | tcp_http(f, data, end, toserver)
      | ^~~~~~~~
tcp.c: In function ‘tcp_cmp’:
tcp.c:68:1: warning: old-style function definition [-Wold-style-definition]
   68 | tcp_cmp(a, b)
      | ^~~~~~~
tcp.c: In function ‘tcp_hash’:
tcp.c:79:1: warning: old-style function definition [-Wold-style-definition]
   79 | tcp_hash(a)
      | ^~~~~~~~
tcp.c: In function ‘tcp_lookup’:
tcp.c:102:1: warning: old-style function definition [-Wold-style-definition]
  102 | tcp_lookup(port)
      | ^~~~~~~~~~
tcp.c: In function ‘tcp_tag’:
tcp.c:148:1: warning: old-style function definition [-Wold-style-definition]
  148 | tcp_tag(p, end, ip, ip6)
      | ^~~~~~~
tcp.c: In function ‘link_ftp_port’:
tcp.c:333:1: warning: old-style function definition [-Wold-style-definition]
  333 | link_ftp_port(d, tag, end)
      | ^~~~~~~~~~~~~
tcp.c: In function ‘link_ftp_eport’:
tcp.c:370:1: warning: old-style function definition [-Wold-style-definition]
  370 | link_ftp_eport(d, tag, end, defaddr, defaddr6)
      | ^~~~~~~~~~~~~~
tcp_http.c:89:67: warning: ‘%.*s’ directive output may be truncated writing up to 1021 bytes into a region of size 1018 [-Wformat-truncation=]
   89 |                         snprintf(f->desc, sizeof f->desc, "%c%c%c %.*s",
      |                                                                   ^~~~
   90 |                                 data[9], data[10], data[11],
   91 |                                 (int)sizeof cp, cp);
      |                                                 ~~                 
In file included from /usr/include/stdio.h:970:
In function ‘snprintf’,
    inlined from ‘tcp_http’ at tcp_http.c:89:4:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 5 and 1026 bytes into a destination of size 1022
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
tcp.c: In function ‘link_ftp_port.constprop’:
tcp.c:349:43: warning: array subscript 1025 is outside array bounds of ‘char[1024]’ [-Warray-bounds=]
  349 |         for (b = buf; d < end && b < buf+1+sizeof buf &&
      |                                      ~~~~~^~~~~~~~~~~
tcp.c:346:14: note: at offset 1025 into object ‘buf’ of size 1024
  346 |         char buf[TAGLEN], *b;
      |              ^~~
tcp.c: In function ‘link_ftp_eport.constprop’:
tcp.c:382:43: warning: array subscript 1025 is outside array bounds of ‘char[1024]’ [-Warray-bounds=]
  382 |         for (b = buf; d < end && b < buf+1+sizeof buf &&
      |                                      ~~~~~^~~~~~~~~~~
tcp.c:379:14: note: at offset 1025 into object ‘buf’ of size 1024
  379 |         char buf[TAGLEN], *b;
      |              ^~~
make[2]: Leaving directory '/build/reproducible-path/pktstat-1.8.5'
make[1]: *** [Makefile:343: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/pktstat-1.8.5'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: pktstat
Source-Version: 1.8.5-9
Done: Adrian Bunk <bunk@debian.org>

We believe that the bug you reported is fixed in the latest version of
pktstat, 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 1097594@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated pktstat 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 23 Oct 2025 16:51:07 +0300
Source: pktstat
Architecture: source
Version: 1.8.5-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1097594
Changes:
 pktstat (1.8.5-9) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with GCC 15. (Closes: #1097594)
Checksums-Sha1:
 71ed3ed686881a41442613fd8c8d5cbb1c44f236 1851 pktstat_1.8.5-9.dsc
 d7d5770d04c367622103d7005e96c2a55d749a84 4992 pktstat_1.8.5-9.debian.tar.xz
Checksums-Sha256:
 db2355ea069ac63da508df4c891e6f4a80f8c1cb598e6b74dbad57aa2fc320eb 1851 pktstat_1.8.5-9.dsc
 11ab29512a575dc40aab1a472005d17334ecb35182b0a45c951705379885972c 4992 pktstat_1.8.5-9.debian.tar.xz
Files:
 15cd6c00a29acf1728401c9ac4748f20 1851 net optional pktstat_1.8.5-9.dsc
 b956a8a76bfc532558bc52faafbe03fa 4992 net optional pktstat_1.8.5-9.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmj6NBIACgkQiNJCh6LY
mLE4KA//SP0WfNFiXh1RRbA5WKDwnNZrZoesSLbI0T6L34vY5oan/Y6tf7pxY4WB
GiYwQ9XAnhPYiTlOxXayAsIvYkDHBVVm7oWxueVT52uqMb1Vm7SL3IQTU3cuohVS
lP8X4ha90/ztO4jElCm/NpuWMW8k895J+Z9/cJc98ud/woKweM7mGByY+r9PJX0Z
fTYMqjXnYf4CCTnVI/X/vk2RJYgghOv50w/h2MbbQTDxw6bQcFwR9hvVWDIbLlFD
TyPsgwCpqi0ZzEGsGgM5eToTxPAyn/i1VifpfRVNGgSTa6iicyGGFRZWKj7BeFHX
Dndy0fiCYQQPUI6FYps/ddbsTEHdJ9ZB8XK1cQZOmCeGtxA3hT+m6ftnKE9JAktW
QBTz5ezeS61pH+Kr9si06beY0hW9al7qvELBzSeZq8JQosmz6hXgw1+7dwe0i/rN
MDkmJE5LQLIbzhrvPcdqsCCRhiPjTDXRE1L9CK/tLnMRCEwRu9m9LN7dlI/xEPKB
wCjgJO1iMYvhHNsUkxS1LUYzbdlNHbNWDUqLXecrg/r1+UNnXN2AGN22/ID0cgny
1RNhrBVBpCUM172I+SK/0UFTbA32mZCS9iw4D50NPhfzF8AhJLTTNI5sWaL4LD3h
4kGEBabRwV/+f0+wyKHxXyNEG1+6JchZ6skN5Bmz6OAKYMaaadI=
=cBYR
-----END PGP SIGNATURE-----

Attachment: pgphWDryFDGKr.pgp
Description: PGP signature


--- End Message ---

Reply to: