Bug#1098067: virtuoso-opensource: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:59:23 GMT 2025
Package: src:virtuoso-opensource
Version: 7.2.12+dfsg-1
Severity: important
Tags: sid forky
User: debian-gcc at 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/virtuoso-opensource_7.2.12+dfsg-1_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../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c fnqual.c -fPIC -DPIC -o .libs/libutil_la-fnqual.o
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c -o libutil_la-fnsearch.lo `test -f 'fnsearch.c' || echo './'`fnsearch.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c fnmatch.c -o libutil_la-fnmatch.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c -o libutil_la-fntodos.lo `test -f 'fntodos.c' || echo './'`fntodos.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c fnsearch.c -fPIC -DPIC -o .libs/libutil_la-fnsearch.o
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c -o libutil_la-fnundos.lo `test -f 'fnundos.c' || echo './'`fnundos.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c dyntab.c -o libutil_la-dyntab.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c fntodos.c -fPIC -DPIC -o .libs/libutil_la-fntodos.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c expandav.c -o libutil_la-expandav.o >/dev/null 2>&1
fnqual.c:37:14: error: conflicting types for 'getcwd'; have 'char *(void)'
37 | extern char *getcwd ();
| ^~~~~~
In file included from /usr/include/features.h:510,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from ../../libsrc/Dk/Dksystem.h:44,
from ../../libsrc/Dk.h:44,
from ../../libsrc/libutil.h:30,
from fnqual.c:29:
/usr/include/x86_64-linux-gnu/bits/unistd.h:111:1: note: previous definition of 'getcwd' with type 'char *(char *, size_t)' {aka 'char *(char *, long unsigned int)'}
111 | __NTH (getcwd (__fortify_clang_overload_arg (char *, , __buf), size_t __size))
| ^~~~~
fnqual.c: In function 'fnqualify':
fnqual.c:62:11: error: too many arguments to function 'getcwd'; expected 0, have 2
62 | if (getcwd (currentDir, sizeof (currentDir)) == NULL)
| ^~~~~~ ~~~~~~~~~~
fnqual.c:37:14: note: declared here
37 | extern char *getcwd ();
| ^~~~~~
fnqual.c:66:11: error: too many arguments to function 'getcwd'; expected 0, have 2
66 | if (getcwd (pathBuffer, sizeof (pathBuffer)) == NULL)
| ^~~~~~ ~~~~~~~~~~
fnqual.c:37:14: note: declared here
37 | extern char *getcwd ();
| ^~~~~~
fnqual.c:82:11: error: too many arguments to function 'getcwd'; expected 0, have 2
82 | if (getcwd (currentDir, sizeof (currentDir)) == NULL)
| ^~~~~~ ~~~~~~~~~~
fnqual.c:37:14: note: declared here
37 | extern char *getcwd ();
| ^~~~~~
fnqual.c:88:7: error: too many arguments to function 'getcwd'; expected 0, have 2
88 | if (getcwd (pathBuffer, sizeof (pathBuffer)) == NULL)
| ^~~~~~ ~~~~~~~~~~
fnqual.c:37:14: note: declared here
37 | extern char *getcwd ();
| ^~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c fnundos.c -fPIC -DPIC -o .libs/libutil_la-fnundos.o
fnqual.c:68:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
68 | chdir (currentDir);
| ^~~~~~~~~~~~~~~~~~
fnqual.c:91:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
91 | chdir (currentDir);
| ^~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:844: libutil_la-fnqual.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c dbgmal.c -o libutil_la-dbgmal.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c fnundos.c -o libutil_la-fnundos.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c fnsearch.c -o libutil_la-fnsearch.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -DSUPPORT_UTF8 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=implicit-int -D_GNU_SOURCE -c fntodos.c -o libutil_la-fntodos.o >/dev/null 2>&1
make[4]: Leaving directory '/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/util'
make[3]: *** [Makefile:631: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc/util'
make[2]: *** [Makefile:502: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg/libsrc'
make[1]: *** [Makefile:699: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/virtuoso-opensource-7.2.12+dfsg'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list