Your message dated Wed, 10 Sep 2025 09:26:44 +0000
with message-id <[email protected]>
and subject line Bug#1097887: fixed in sipgrep 2.2.0-3
has caused the Debian Bug report #1097887,
regarding sipgrep: 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.)


-- 
1097887: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:sipgrep
Version: 2.2.0-2
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/sipgrep_2.2.0-2_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

[...]
sipgrep.c:192:50: error: initialization of ‘void (*)(void)’ from incompatible 
pointer type ‘void (*)(struct pcap_pkthdr *)’ [-Wincompatible-pointer-types]
  192 | void (*print_time) () = NULL, (*dump_delay) () = dump_delay_proc_init;
      |                                                  ^~~~~~~~~~~~~~~~~~~~
include/sipgrep.h:121:6: note: ‘dump_delay_proc_init’ declared here
  121 | void dump_delay_proc_init(struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~~~~~~
sipgrep.c: In function ‘main’:
sipgrep.c:240:14: error: assignment to ‘void (*)(void)’ from incompatible 
pointer type ‘void (*)(struct pcap_pkthdr *)’ [-Wincompatible-pointer-types]
  240 |   print_time = &print_time_absolute;
      |              ^
include/sipgrep.h:128:6: note: ‘print_time_absolute’ declared here
  128 | void print_time_absolute(struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~~~~~
sipgrep.c:352:18: error: assignment to ‘void (*)(void)’ from incompatible 
pointer type ‘void (*)(struct pcap_pkthdr *)’ [-Wincompatible-pointer-types]
  352 |       print_time = &print_time_diff;
      |                  ^
include/sipgrep.h:129:6: note: ‘print_time_diff’ declared here
  129 | void print_time_diff    (struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~
sipgrep.c:448:5: warning: ‘pcap_lookupdev’ is deprecated: use 
'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  448 |     char *dev = usedev ? usedev : pcap_lookupdev (pc_err);
      |     ^~~~
In file included from /usr/include/pcap.h:43,
                 from sipgrep.c:87:
/usr/include/pcap/pcap.h:444:18: note: declared here
  444 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
sipgrep.c:585:16: error: assignment to ‘int8_t (*)(void)’ {aka ‘signed char 
(*)(void)’} from incompatible pointer type ‘int8_t (*)(unsigned char *, 
uint32_t)’ {aka ‘signed char (*)(unsigned char *, unsigned int)’} 
[-Wincompatible-pointer-types]
  585 |     match_func = &re_match_func;
      |                ^
include/sipgrep.h:124:8: note: ‘re_match_func’ declared here
  124 | int8_t re_match_func   (unsigned char *, uint32_t);
      |        ^~~~~~~~~~~~~
sipgrep.c:595:11: warning: passing argument 1 of ‘free’ discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
  595 |     free (match_data);
      |           ^~~~~~~~~~
In file included from sipgrep.c:80:
/usr/include/stdlib.h:687:25: note: expected ‘void *’ but argument is of type 
‘PCRE2_SPTR8’ {aka ‘const unsigned char *’}
  687 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
sipgrep.c: In function ‘dump_packet’:
sipgrep.c:1459:31: error: too many arguments to function ‘match_func’; expected 
0, have 2
 1459 |                 local_match = match_func (d, len);
      |                               ^~~~~~~~~~  ~
sipgrep.c:1592:39: error: too many arguments to function ‘dump_delay’; expected 
0, have 1
 1592 |         if (!live_read && want_delay) dump_delay (h);
      |                                       ^~~~~~~~~~  ~
sipgrep.c:1624:31: error: too many arguments to function ‘print_time’; expected 
0, have 1
 1624 |               if (print_time) print_time (h);
      |                               ^~~~~~~~~~  ~
sipgrep.c: In function ‘dump_delay_proc_init’:
sipgrep.c:1980:14: error: assignment to ‘void (*)(void)’ from incompatible 
pointer type ‘void (*)(struct pcap_pkthdr *)’ [-Wincompatible-pointer-types]
 1980 |   dump_delay = &dump_delay_proc;
      |              ^
include/sipgrep.h:122:6: note: ‘dump_delay_proc’ declared here
  122 | void dump_delay_proc     (struct pcap_pkthdr *);
      |      ^~~~~~~~~~~~~~~
sipgrep.c:1985:3: error: too many arguments to function ‘dump_delay’; expected 
0, have 1
 1985 |   dump_delay (h);
      |   ^~~~~~~~~~  ~
make[3]: *** [Makefile:459: sipgrep.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/sipgrep-2.2.0/src'
make[2]: *** [Makefile:337: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/sipgrep-2.2.0/src'
make[1]: *** [Makefile:410: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/sipgrep-2.2.0'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: sipgrep
Source-Version: 2.2.0-3
Done: Victor Seva <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sipgrep, 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.
Victor Seva <[email protected]> (supplier of updated sipgrep 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: Wed, 10 Sep 2025 10:33:49 +0200
Source: sipgrep
Architecture: source
Version: 2.2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian VoIP Team <[email protected]>
Changed-By: Victor Seva <[email protected]>
Closes: 1097887
Changes:
 sipgrep (2.2.0-3) unstable; urgency=medium
 .
   * gcc-15 fixes (Closes: #1097887)
   * debian/watch: update to version 4
Checksums-Sha1:
 9deb3622cb91bf1ab07a7b741bda14f6f7b25cbc 1382 sipgrep_2.2.0-3.dsc
 039858ac0922a5719b51a559aacb72270e5a2447 3204 sipgrep_2.2.0-3.debian.tar.xz
 4aafd8b4d83cd77ef67211bb85a907fc8ccb56bf 5931 sipgrep_2.2.0-3_amd64.buildinfo
Checksums-Sha256:
 76d3c600b08c67e465314b3aeff628003267a2c4a050f379c79ae7e899b0721f 1382 
sipgrep_2.2.0-3.dsc
 1320600be4f6e8a9017bf08e16e60b8b5a5329144b2209ec1ec1c09de3042c67 3204 
sipgrep_2.2.0-3.debian.tar.xz
 7e8ccb4d760c12ef2c340c020a52b69fe2af1f4e6ecc19beef1e38e86916c8f2 5931 
sipgrep_2.2.0-3_amd64.buildinfo
Files:
 83df532f7b29d6a86544d55e4532f9fc 1382 net optional sipgrep_2.2.0-3.dsc
 dd2b4e58eb5b9e5c2faaabdf51544584 3204 net optional 
sipgrep_2.2.0-3.debian.tar.xz
 8d8d22eb3f8846d582b65b7604b54fe3 5931 net optional 
sipgrep_2.2.0-3_amd64.buildinfo

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

iIcEARYKAC8WIQQq6AO8RS0zF4SC1vh9e2XEKg7IsgUCaME4WBEcdnNldmFAZGVi
aWFuLm9yZwAKCRB9e2XEKg7IskNRAQDYMiCzno/ZJHYLUZsNGRCLKUeNosm/LlZs
+0c5oaIcuAD+J1VZMMubJZ8JS2+RqLCnJ67xWAwo3PzLo67xi9L1lAM=
=pUxT
-----END PGP SIGNATURE-----

Attachment: pgpsvTtXN7D1I.pgp
Description: PGP signature


--- End Message ---

Reply via email to