[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/netperf_2.7.0+git20210121.3bc455b+ds-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
[...]
| ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
netlib.h:679:26: note: declared here
679 | extern struct ring_elt *allocate_buffer_ring();
| ^~~~~~~~~~~~~~~~~~~~
nettest_omni.c:5049:5: error: too many arguments to function ‘HIST_get_stats’; expected 0, have 5
5049 | HIST_get_stats(time_hist,
| ^~~~~~~~~~~~~~ ~~~~~~~~~
netlib.h:650:17: note: declared here
650 | extern void HIST_get_stats();
| ^~~~~~~~~~~~~~
nettest_omni.c:5054:19: error: too many arguments to function ‘HIST_get_percentile’; expected 0, have 2
5054 | p50_latency = HIST_get_percentile(time_hist, 0.50);
| ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
netlib.h:649:17: note: declared here
649 | extern int HIST_get_percentile();
| ^~~~~~~~~~~~~~~~~~~
nettest_omni.c:5055:19: error: too many arguments to function ‘HIST_get_percentile’; expected 0, have 2
5055 | p90_latency = HIST_get_percentile(time_hist, 0.90);
| ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
netlib.h:649:17: note: declared here
649 | extern int HIST_get_percentile();
| ^~~~~~~~~~~~~~~~~~~
nettest_omni.c:5056:19: error: too many arguments to function ‘HIST_get_percentile’; expected 0, have 2
5056 | p99_latency = HIST_get_percentile(time_hist, 0.99);
| ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
netlib.h:649:17: note: declared here
649 | extern int HIST_get_percentile();
| ^~~~~~~~~~~~~~~~~~~
nettest_omni.c: In function ‘recv_omni’:
nettest_omni.c:5353:17: error: too many arguments to function ‘allocate_buffer_ring’; expected 0, have 4
5353 | send_ring = allocate_buffer_ring(send_width,
| ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
netlib.h:679:26: note: declared here
679 | extern struct ring_elt *allocate_buffer_ring();
| ^~~~~~~~~~~~~~~~~~~~
nettest_omni.c:5395:17: error: too many arguments to function ‘allocate_buffer_ring’; expected 0, have 4
5395 | recv_ring = allocate_buffer_ring(recv_width,
| ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
netlib.h:679:26: note: declared here
679 | extern struct ring_elt *allocate_buffer_ring();
| ^~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:462: nettest_omni.o] Error 1
netlib.c: In function ‘get_id’:
netlib.c:3497:17: warning: ‘%-15s’ directive output may be truncated writing between 15 and 64 bytes into a region of size between 16 and 65 [-Wformat-truncation=]
3497 | "%-15s%-15s%-15s%-15s%-15s",
| ^~~~~
3498 | system_name.sysname,
3499 | system_name.nodename,
| ~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from netlib.c:100:
In function ‘snprintf’,
inlined from ‘get_id’ at netlib.c:3487:2:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 76 and 321 bytes into a destination of size 80
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/build/reproducible-path/netperf-2.7.0+git20210121.3bc455b+ds/src'
make[3]: *** [Makefile:478: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/netperf-2.7.0+git20210121.3bc455b+ds/src'
make[2]: *** [Makefile:403: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/netperf-2.7.0+git20210121.3bc455b+ds'
make[1]: *** [Makefile:342: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/netperf-2.7.0+git20210121.3bc455b+ds'
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