[Debian-med-packaging] Bug#1075638: wise: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:48:03 BST 2024
Package: src:wise
Version: 2.4.1-24
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[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-14/g++-14, but succeeds to build with gcc-13/g++-13. 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/2024/07/01/wise_2.4.1-24_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html
[...]
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
| |
| Wise2_HSPDatabaseSegment *
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../base/ proteinindexcons.c
hsplookupthreaded.dy: In function ‘Wise2_one_off_ordered_HSPscan_scan_query_direct’:
hsplookupthreaded.dy:263:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
263 | fprintf(stderr,"retrieved array with %d elements\n",current_oph);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
| |
| long int
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../base/ dnaindexcons.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../base/ staticseq.c
ar ru libdyna_glib.a subseqhash.o intallocator.o proteinstreamedindex.o shadowseq.o shadowseqindex.o hsphandler.o hspscaninterface.o hsp2hitscan.o hsplookupscan.o hsplookupthreaded.o hspthreadeddb.o hspscanruntime.o hsptwohitscan.o proteinindexcons.o dnaindexcons.o staticseq.o
ar: `u' modifier ignored since `D' is the default (see `U')
ar: creating libdyna_glib.a
if test -x /bin/ranlib; then /bin/ranlib libdyna_glib.a; else exit 0; fi
if test -x /usr/bin/ranlib; then /usr/bin/ranlib libdyna_glib.a; else exit 0; fi
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/dynlibsrc'
(cd external ; make CC="cc" CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c `pkg-config --cflags glib-2.0`" all )
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/external'
(cd mott; make CC="cc" CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread " all)
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/external/mott'
make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mott_api.o mott_api.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gaplib.o gaplib.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../../dynlibsrc -I../../base wise2_mott_bridge.c
ar ru libmott.a mott_api.o gaplib.o wise2_mott_bridge.o
ar: `u' modifier ignored since `D' is the default (see `U')
ar: creating libmott.a
if test -x /bin/ranlib; then /bin/ranlib libmott.a; else exit 0; fi
if test -x /usr/bin/ranlib; then /usr/bin/ranlib libmott.a; else exit 0; fi
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/external/mott'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/external'
(cd socket ; make CC="cc" CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c `pkg-config --cflags glib-2.0`" libwisesocket.a )
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/socket'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../base/ functionserver.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../base/ functionclient.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../base/ anonobj.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../base/ transferinterface.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../base/ directsocketwrite.c
functionclient.dy: In function ‘Wise2_new_FunctionProxyCoordinator’:
functionclient.dy:193:24: error: passing argument 2 of ‘connect’ from incompatible pointer type [-Wincompatible-pointer-types]
193 | connect(out->socket, &server, sizeof(server));
| ^~~~~~~
| |
| struct sockaddr_in *
In file included from functionclient.c:7:
/usr/include/x86_64-linux-gnu/sys/socket.h:126:52: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’
126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
| ^
make[3]: *** [makefile:41: functionclient.o] Error 1
make[3]: *** Waiting for unfinished jobs....
functionserver.dy: In function ‘Wise2_main_loop_forking_FunctionServer’:
functionserver.dy:129:11: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
129 | write(new_socket,buf,9);
| ^~~~~~~~~~~~~~~~~~~~~~~
functionserver.dy:141:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
141 | write(new_socket,buf,6);
| ^~~~~~~~~~~~~~~~~~~~~~~
functionserver.dy:183:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
183 | write(new_socket,buf,5);
| ^~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/socket'
make[2]: *** [makefile:93: realall] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
dh_auto_build: error: cd src && make -j8 "INSTALL=install --strip-program=true" all returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list