Package: src:dx Version: 1:4.4.4-18 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/dx_4.4.4-18_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 [...] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c productarray.c -fPIC -DPIC -o .libs/productarray.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c productarray.c -o productarray.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o mesharray.lo mesharray.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c mesharray.c -fPIC -DPIC -o .libs/mesharray.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c mesharray.c -o mesharray.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o xform.lo xform.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c xform.c -fPIC -DPIC -o .libs/xform.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c xform.c -o xform.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o lbscreen.lo lbscreen.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c lbscreen.c -fPIC -DPIC -o .libs/lbscreen.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c lbscreen.c -o lbscreen.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o lbprivate.lo lbprivate.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c lbprivate.c -fPIC -DPIC -o .libs/lbprivate.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c lbprivate.c -o lbprivate.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o lbmessage.lo lbmessage.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c lbmessage.c -fPIC -DPIC -o .libs/lbmessage.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c lbmessage.c -o lbmessage.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o timing.lo timing.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c timing.c -fPIC -DPIC -o .libs/timing.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c timing.c -o timing.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o lock.lo lock.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c lock.c -fPIC -DPIC -o .libs/lock.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c lock.c -o lock.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o plock.lo plock.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c plock.c -fPIC -DPIC -o .libs/plock.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c plock.c -o plock.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o stringtable.lo stringtable.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c stringtable.c -fPIC -DPIC -o .libs/stringtable.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c stringtable.c -o stringtable.o >/dev/null 2>&1 /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c -o client.lo client.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Dlinux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dx-4.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fsigned-char -fno-strict-aliasing -std=c++11 -D_GNU_SOURCE -c client.c -fPIC -DPIC -o .libs/client.o cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C client.c: In function 'DXConnectToServer': client.c:140:21: error: conflicting types for 'gethostbyname'; have 'struct hostent *(void)' 140 | struct hostent *gethostbyname(); | ^~~~~~~~~~~~~ In file included from client.c:37: /usr/include/netdb.h:142:24: note: previous declaration of 'gethostbyname' with type 'struct hostent *(const char *)' 142 | extern struct hostent *gethostbyname (const char *__name); | ^~~~~~~~~~~~~ client.c:174:14: error: too many arguments to function 'gethostbyname'; expected 0, have 1 174 | hp = gethostbyname(host); | ^~~~~~~~~~~~~ ~~~~ client.c:140:21: note: declared here 140 | struct hostent *gethostbyname(); | ^~~~~~~~~~~~~ make[6]: *** [Makefile:886: client.lo] Error 1 make[6]: Leaving directory '/build/reproducible-path/dx-4.4.4/src/exec/libdx' make[5]: *** [Makefile:627: all] Error 2 make[5]: Leaving directory '/build/reproducible-path/dx-4.4.4/src/exec/libdx' make[4]: *** [Makefile:585: all-recursive] Error 1 make[4]: Leaving directory '/build/reproducible-path/dx-4.4.4/src/exec' make[3]: *** [Makefile:408: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/dx-4.4.4/src' make[2]: *** [Makefile:442: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/dx-4.4.4' make[1]: *** [debian/rules:40: override_dh_auto_build] Error 2 make[1]: Leaving directory '/build/reproducible-path/dx-4.4.4' make: *** [debian/rules:18: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
