Debian Bug report logs - #1097447
netdiscover: ftbfs with GCC-15

version graph

Package: src:netdiscover; Maintainer for src:netdiscover is Joao Eriberto Mota Filho <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:42:29 UTC

Severity: important

Tags: forky, sid

Found in version netdiscover/0.10-3

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Joao Eriberto Mota Filho <[email protected]>:
Bug#1097447; Package src:netdiscover. (Mon, 17 Feb 2025 17:42:30 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Joao Eriberto Mota Filho <[email protected]>. (Mon, 17 Feb 2025 17:42:30 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: netdiscover: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:39:23 +0000
Package: src:netdiscover
Version: 0.10-3
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/netdiscover_0.10-3_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

[...]
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for pcap.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Run ./update-oui-database.sh if you want a updated MAC vendors database.

   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/netdiscover-0.10'
make  all-recursive
make[2]: Entering directory '/build/reproducible-path/netdiscover-0.10'
Making all in src
make[3]: Entering directory '/build/reproducible-path/netdiscover-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fcommon -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/netdiscover-0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o netdiscover-main.o `test -f 'main.c' || echo './'`main.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fcommon -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/netdiscover-0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o netdiscover-ifaces.o `test -f 'ifaces.c' || echo './'`ifaces.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fcommon -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/netdiscover-0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o netdiscover-screen.o `test -f 'screen.c' || echo './'`screen.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fcommon -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/netdiscover-0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o netdiscover-fhandle.o `test -f 'fhandle.c' || echo './'`fhandle.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fcommon -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/netdiscover-0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o netdiscover-misc.o `test -f 'misc.c' || echo './'`misc.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fcommon -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/netdiscover-0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o netdiscover-data_reply.o `test -f 'data_reply.c' || echo './'`data_reply.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fcommon -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/netdiscover-0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o netdiscover-data_request.o `test -f 'data_request.c' || echo './'`data_request.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -fcommon -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/netdiscover-0.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o netdiscover-data_unique.o `test -f 'data_unique.c' || echo './'`data_unique.c
main.c: In function ‘main’:
main.c:219:13: error: too many arguments to function ‘usage’; expected 0, have 1
  219 |             usage(argv[0]);
      |             ^~~~~ ~~~~~~~
main.c:56:6: note: declared here
   56 | void usage();
      |      ^~~~~
main.c:227:7: error: too many arguments to function ‘usage’; expected 0, have 1
  227 |       usage(argv[0]);
      |       ^~~~~ ~~~~~~~
main.c:56:6: note: declared here
   56 | void usage();
      |      ^~~~~
main.c: At top level:
main.c:547:6: error: conflicting types for ‘usage’; have ‘void(char *)’
  547 | void usage(char *comando)
      |      ^~~~~
main.c:56:6: note: previous declaration of ‘usage’ with type ‘void(void)’
   56 | void usage();
      |      ^~~~~
make[3]: *** [Makefile:413: netdiscover-main.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/netdiscover-0.10/src'
make[2]: *** [Makefile:475: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/netdiscover-0.10'
make[1]: *** [Makefile:352: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/netdiscover-0.10'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:15:58 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.