Your message dated Sun, 07 Sep 2025 10:40:44 +0000
with message-id <[email protected]>
and subject line Bug#1097464: fixed in ngrep 1.47+ds1-7
has caused the Debian Bug report #1097464,
regarding ngrep: 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.)


-- 
1097464: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097464
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:ngrep
Version: 1.47+ds1-6
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/ngrep_1.47+ds1-6_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

[...]
  130 | void dump_delay_proc_init(struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~~~~~~
ngrep.c: In function ‘main’:
ngrep.c:300:32: warning: comparison of distinct pointer types lacks a cast 
[-Wcompare-distinct-pointer-types]
  300 |                 if (print_time == &print_time_diff) {
      |                                ^~
ngrep.c:301:32: error: assignment to ‘void (*)(void)’ from incompatible pointer 
type ‘void (*)(struct pcap_pkthdr *)’ [-Wincompatible-pointer-types]
  301 |                     print_time = print_time_offset;
      |                                ^
ngrep.h:139:6: note: ‘print_time_offset’ declared here
  139 | void print_time_offset  (struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~~~
ngrep.c:304:32: error: assignment to ‘void (*)(void)’ from incompatible pointer 
type ‘void (*)(struct pcap_pkthdr *)’ [-Wincompatible-pointer-types]
  304 |                     print_time = &print_time_diff;
      |                                ^
ngrep.h:138:6: note: ‘print_time_diff’ declared here
  138 | void print_time_diff    (struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~
ngrep.c:314:28: error: assignment to ‘void (*)(void)’ from incompatible pointer 
type ‘void (*)(struct pcap_pkthdr *)’ [-Wincompatible-pointer-types]
  314 |                 print_time = &print_time_absolute;
      |                            ^
ngrep.h:137:6: note: ‘print_time_absolute’ declared here
  137 | void print_time_absolute(struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~~~~~
ngrep.c: In function ‘setup_pcap_source’:
ngrep.c:461:13: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' 
and use the first device [-Wdeprecated-declarations]
  461 |             pcap_lookupdev(pc_err);
      |             ^~~~~~~~~~~~~~
In file included from ngrep.c:83:
/usr/include/pcap/pcap.h:444:18: note: declared here
  444 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
ngrep.c: In function ‘setup_matcher’:
ngrep.c:642:20: error: assignment to ‘int8_t (*)(void)’ {aka ‘signed char 
(*)(void)’} from incompatible pointer type ‘int8_t (*)(unsigned char *, 
uint32_t,  uint16_t *, uint16_t *)’ {aka ‘signed char (*)(unsigned char *, 
unsigned int,  short unsigned int *, short unsigned int *)’} 
[-Wincompatible-pointer-types]
  642 |         match_func = &bin_match_func;
      |                    ^
ngrep.h:134:8: note: ‘bin_match_func’ declared here
  134 | int8_t bin_match_func  (unsigned char *, uint32_t, uint16_t *, uint16_t 
*);
      |        ^~~~~~~~~~~~~~
ngrep.c:732:20: error: assignment to ‘int8_t (*)(void)’ {aka ‘signed char 
(*)(void)’} from incompatible pointer type ‘int8_t (*)(unsigned char *, 
uint32_t,  uint16_t *, uint16_t *)’ {aka ‘signed char (*)(unsigned char *, 
unsigned int,  short unsigned int *, short unsigned int *)’} 
[-Wincompatible-pointer-types]
  732 |         match_func = &re_match_func;
      |                    ^
ngrep.h:133:8: note: ‘re_match_func’ declared here
  133 | int8_t re_match_func   (unsigned char *, uint32_t, uint16_t *, uint16_t 
*);
      |        ^~~~~~~~~~~~~
ngrep.c: In function ‘dump_packet’:
ngrep.c:949:21: error: too many arguments to function ‘match_func’; expected 0, 
have 4
  949 |     if ((len > 0 && match_func(data, len, &match_index, &match_size) == 
invert_match) && !keep_matching)
      |                     ^~~~~~~~~~ ~~~~
ngrep.c:953:9: error: too many arguments to function ‘dump_delay’; expected 0, 
have 1
  953 |         dump_delay(h);
      |         ^~~~~~~~~~ ~
ngrep.c:976:9: error: too many arguments to function ‘print_time’; expected 0, 
have 1
  976 |         print_time(h);
      |         ^~~~~~~~~~ ~
ngrep.c: In function ‘dump_delay_proc_init’:
ngrep.c:1329:16: error: assignment to ‘void (*)(void)’ from incompatible 
pointer type ‘void (*)(struct pcap_pkthdr *)’ [-Wincompatible-pointer-types]
 1329 |     dump_delay = &dump_delay_proc;
      |                ^
ngrep.h:131:6: note: ‘dump_delay_proc’ declared here
  131 | void dump_delay_proc     (struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~
ngrep.c:1334:5: error: too many arguments to function ‘dump_delay’; expected 0, 
have 1
 1334 |     dump_delay(h);
      |     ^~~~~~~~~~ ~
make[1]: *** [Makefile:51: ngrep.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/ngrep-1.47+ds1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: ngrep
Source-Version: 1.47+ds1-7
Done: Peter Wienemann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ngrep, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Wienemann <[email protected]> (supplier of updated ngrep 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 [email protected])


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

Format: 1.8
Date: Sun, 07 Sep 2025 11:53:50 +0200
Source: ngrep
Architecture: source
Version: 1.47+ds1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Peter Wienemann <[email protected]>
Closes: 1097464
Changes:
 ngrep (1.47+ds1-7) unstable; urgency=medium
 .
   * Team upload.
   * Add upstream patch to fix build failure with gcc15 (Closes: #1097464)
Checksums-Sha1:
 6217ab32ed74d56015b4c95da6c62a09db32701e 2144 ngrep_1.47+ds1-7.dsc
 f5c59559990c6ae3ed1eef4b79c41aee775faba4 11672 ngrep_1.47+ds1-7.debian.tar.xz
 ce814b248a5b356a3b6fd994dd17b82d853a4f98 763560 ngrep_1.47+ds1-7.git.tar.xz
 f224df387bade4cfe16bee1e3a8a1486836f9018 18058 
ngrep_1.47+ds1-7_source.buildinfo
Checksums-Sha256:
 ad8ee62ffa689966bb6a726c71c03fdfe754fbabe72cc0d21397f3e2ea03f3be 2144 
ngrep_1.47+ds1-7.dsc
 0031a042a1fbd00753b9825dace8cecf360b935c2b37b621f7c0ddba13ff895d 11672 
ngrep_1.47+ds1-7.debian.tar.xz
 33cb40f82eb9b4ec16158fac0982acea659eff86d6944f328c55cbe2a8d42a11 763560 
ngrep_1.47+ds1-7.git.tar.xz
 cddf1f876568fbdcac46a59cf18474be0ccf1cc74da449ad7c6e771e1d7ba70c 18058 
ngrep_1.47+ds1-7_source.buildinfo
Files:
 417452676a942b93dbfb8e73f9a78607 2144 net optional ngrep_1.47+ds1-7.dsc
 45809e431c3feefa3c1ec19ec0d71a4d 11672 net optional 
ngrep_1.47+ds1-7.debian.tar.xz
 3930522c6d6c2cd30c025a6b0008a982 763560 net optional 
ngrep_1.47+ds1-7.git.tar.xz
 21549a91d676395a21b88777f4469523 18058 net optional 
ngrep_1.47+ds1-7_source.buildinfo
Git-Tag-Info: tag=91a426aeb53c3c1147d477414e8869a2a6b8cef4 
fp=06b62cd3c0aa27a44711a8e502e5cee70c852c7b
Git-Tag-Tagger: Peter Wienemann <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmi9WswACgkQYG0ITkaD
wHk19hAApoFFsonldkgP0dZZae5HR1CoU7YSeXuXyEXEG8/CJIKYNyY+86gA3TJg
ZHxt8iATYUP2GiXBp/BNBdM0masB2M4teXobQOT5e4aJlGy98EFLcs6L1AIjLeW0
m5YoWrrMG4ARx9CkpT2ijK7kXrl+QnlftFVHzMsUzaAHw4mC5i8TPcXKB1+jRqkG
1+MnFVSlfL8gxtm6b9YBLY3cNilOENUUu1fYyd4ZBIeM7byQq84/D2t7d8mkL51R
V2kFMiNBayhtJ6ODAyIYh+g7SSWWodNvC6TMvTlBf77Vla0td5uxGpYxHrI0yit4
b8lBxt6lMIxZ5orhfaybUcNsxWeWlPnx4mM0qoyvWx8elX59LPAP+VYMAMPw+fOr
JgocvrzSfRDGL2pP+2oIGwEiIZA4bACNEP5Bc/9A1z07Gz9a1cH+FglmOw3TkrNB
zzGG1XvIeJ9HUX8+ALxVtrz6gvOpSXWUypWSKer6Vs7bWaaFKGhO7yUATZeoeskY
RoQuCCUBQj7iuPih8TETYwWZowedTYRzqZme7r+pZROTn+WIRYPHQ5cy+qCEwAWd
HDdPjYKOkpK/ekuFLXrmZa0KZ4zE0wPaPO9LGgJq1tkzXToCGQxlTgqgzdDXum7S
ugMW/UjblK+zGet3MjN4JW2w/egnLfTK3wBWffb5vZaiClj3xE4=
=iHJ3
-----END PGP SIGNATURE-----

Attachment: pgpLYNPJ4qqO9.pgp
Description: PGP signature


--- End Message ---

Reply via email to