Package: src:ipsvd
Version: 1.0.0-11
Severity: important
Tags: sid forky
User: debian-...@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/ipsvd_1.0.0-11_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

[...]
./choose cl trysgact hassgact.h1 hassgact.h2 >hassgact.h
./choose cl trysgprm hassgprm.h1 hassgprm.h2 >hassgprm.h
./compile chkshsgr.c
+ exec gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ipsvd-1.0.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -c chkshsgr.c
./load chkshsgr
+ exec gcc -Wl,-z,relro -o chkshsgr chkshsgr.o
./chkshsgr || (cat warn-shsgr; exit 1)
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 >hasshsgr.h
./choose cl trywaitp haswaitp.h1 haswaitp.h2 >haswaitp.h
./choose clr trypoll iopause.h1 iopause.h2 >iopause.h
./choose c trysysel select.h1 select.h2 >select.h
./choose clr tryulong64 uint64.h1 uint64.h2 >uint64.h
( (./compile tryulong32.c && ./load tryulong32 && \
./tryulong32) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1) >uint32.h
rm -f tryulong32.o tryulong32
./compile trysocketlib.c
+ exec gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ipsvd-1.0.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -c trysocketlib.c
(./load trysocketlib >/dev/null 2>&1 || \
  (./load trysocketlib -lxnet >/dev/null 2>&1 && echo '-lxnet') || \
  (./load trysocketlib -lsocket -lnsl >/dev/null 2>&1 && \
    echo '-lsocket -lnsl') ) >socket.lib
rm -f trysocketlib.o trysocketlib
rm -f sysdeps
cat systype compile load socket.lib >>sysdeps
grep sysdep direntry.h >>sysdeps
grep sysdep haswaitp.h >>sysdeps
grep sysdep hassgact.h >>sysdeps
grep sysdep hassgprm.h >>sysdeps
grep sysdep select.h >>sysdeps
grep sysdep uint64.h >>sysdeps
grep sysdep iopause.h >>sysdeps
grep sysdep hasmkffo.h >>sysdeps
grep sysdep hasflock.h >>sysdeps
grep sysdep hasshsgr.h >>sysdeps
cat sysdeps
linux-6.1.0-28-cloud-amd64-:-:-:x86_64-:-
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
set -x
exec gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ipsvd-1.0.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -c ${1+"$@"}
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
main="$1"; shift
set -x
exec gcc -Wl,-z,relro -o "$main" "$main".o ${1+"$@"}
/* sysdep: +dirent */
/* sysdep: +waitpid */
/* sysdep: +sigaction */
/* sysdep: +sigprocmask */
/* sysdep: +sysselect */
/* sysdep: -ulong64 */
/* sysdep: -poll */
/* sysdep: +mkfifo */
/* sysdep: +flock */
/* sysdep: -shortsetgroups */
./compile tcpsvd.c
+ exec gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ipsvd-1.0.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -c tcpsvd.c
tcpsvd.c: In function ‘sig_child_handler’:
tcpsvd.c:140:14: error: too many arguments to function ‘wait_nohang’; expected 
0, have 1
  140 |   while ((i =wait_nohang(&wstat)) > 0) {
      |              ^~~~~~~~~~~ ~~~~~~
In file included from tcpsvd.c:25:
wait.h:7:12: note: declared here
    7 | extern int wait_nohang();
      |            ^~~~~~~~~~~
make[1]: *** [Makefile:65: tcpsvd.o] Error 1
make[1]: Leaving directory 
'/build/reproducible-path/ipsvd-1.0.0/ipsvd-1.0.0/compile'
make: *** [debian/rules:28: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to