Bug#1037619: dmucs: ftbfs with GCC-13
Package: src:dmucs
Version: 0.6.1-3
Severity: normal
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/dmucs_0.6.1-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-13/porting_to.html
[...]
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Svprintf.o Svprintf.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sprt.o sprt.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Smaskwait.o Smaskwait.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Sread.o Sread.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Swait.o Swait.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o srmtrblk.o srmtrblk.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Smkskt.o Smkskt.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Sreadbytes.o Sreadbytes.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Swrite.o Swrite.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stpblk.o stpblk.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Sopen.o Sopen.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Srmsrvr.o Srmsrvr.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o error.o error.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stpnxt.o stpnxt.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Sopenv.o Sopenv.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Sscanf.o Sscanf.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fopenv.o fopenv.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o strnxtfmt.o strnxtfmt.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Speek.o Speek.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cprt.o cprt.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Speername.o Speername.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Speeraddr.o Speeraddr.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O -I./HDR -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Sinit.o Sinit.c
ar r simpleskts.a Saccept.o Sprintf.o Stest.o outofmem.o Sclose.o Sprtskt.o Stimeoutwait.o rdcolor.o Sgets.o Sputs.o Svprintf.o sprt.o Smaskwait.o Sread.o Swait.o srmtrblk.o Smkskt.o Sreadbytes.o Swrite.o stpblk.o Sopen.o Srmsrvr.o error.o stpnxt.o Sopenv.o Sscanf.o fopenv.o strnxtfmt.o Speek.o cprt.o Speername.o Speeraddr.o Sinit.o
ar: creating simpleskts.a
finished updating simpleskts.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/COSMIC'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dmucs_resolve.o dmucs_resolve.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gethost.o gethost.cc
gethost.cc: In function ‘int main(int, char**)’:
gethost.cc:73:11: warning: ‘void (* sigset(int, __sighandler_t))(int)’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations]
73 | sigset(SIGCHLD, sigchld_handler);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/wait.h:36,
from gethost.cc:31:
/usr/include/signal.h:367:23: note: declared here
367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW
| ^~~~~~
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o gethost dmucs_resolve.o gethost.o COSMIC/simpleskts.a -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o loadavg.o loadavg.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o loadavg loadavg.o COSMIC/simpleskts.a -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o monitor.o monitor.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o monitor monitor.o COSMIC/simpleskts.a -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o remhost.o remhost.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o remhost remhost.o COSMIC/simpleskts.a -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dmucs_db.o dmucs_db.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dmucs_host.o dmucs_host.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dmucs_hosts_file.o dmucs_hosts_file.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dmucs_msg.o dmucs_msg.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dmucs_host_state.o dmucs_host_state.cc
In file included from dmucs_host_state.cc:22:
dmucs_db.h:106:28: error: ‘intptr_t’ has not been declared
106 | void releaseCpu(intptr_t sock);
| ^~~~~~~~
dmucs_db.h:200:28: error: ‘intptr_t’ has not been declared
200 | intptr_t sock);
| ^~~~~~~~
dmucs_db.h:264:21: error: ‘intptr_t’ has not been declared
264 | void releaseCpu(intptr_t sock);
| ^~~~~~~~
make[3]: *** [Makefile:361: dmucs_host_state.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:379: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:221: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:15: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Reply to: