Bug#1075090: inventor: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:30:51 BST 2024
Package: src:inventor
Version: 2.1.5-10+dfsg-2.1
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/inventor_2.1.5-10+dfsg-2.1_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
[...]
rm -rf
rm -rf Makedepend
make[3]: Entering directory '/<<PKGBUILDDIR>>/tools/ppp'
rm -rf *.[oue] a.out core lex.yy.[co] y.tab.[cho] _force ar.tmp.*
rm -rf ppp
rm -rf Makedepend
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tools/ppp'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tools'
make[2]: Entering directory '/<<PKGBUILDDIR>>/libFL'
rm -rf *.[oue] a.out core lex.yy.[co] y.tab.[cho] xxx_force ar.tmp.*
rm -rf
rm -rf Makedepend
make[3]: Entering directory '/<<PKGBUILDDIR>>/libFL'
make[3]: *** freetype: No such file or directory. Stop.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libFL'
make[2]: *** [GNUmakefile:17: clobber] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libFL'
make[1]: *** [GNUmakefile:12: clobber] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: [debian/rules:77: clean] Error 2 (ignored)
# Clear out symlinks created during build.
rm -f libFL/ang/flclient.h libFL/freetype lib/libInventor.so.1 libSoXt/libInventorXt.so.1
dh_clean
debian/rules binary
dh_testdir
# libFL binary archive changed name in CVS version
rm -f libFL/src/libFL*.a
install -d /<<PKGBUILDDIR>>/debian/tmp
LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib dh_auto_build -- install
make -j8 "INSTALL=install --strip-program=true" install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
/usr/bin/gcc -g -D_REENTRANT -O3 -I/usr/X11R6/include -I. -I../lib/database/include -I../lib/interaction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -O -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -c -o close.o close.c
close.c: In function ‘iclose’:
close.c:15:5: error: implicit declaration of function ‘iflush’; did you mean ‘fflush’? [-Wimplicit-function-declaration]
15 | iflush(image);
| ^~~~~~
| fflush
close.c:16:5: error: implicit declaration of function ‘img_optseek’ [-Wimplicit-function-declaration]
16 | img_optseek(image, 0);
| ^~~~~~~~~~~
close.c:19:13: error: implicit declaration of function ‘cvtimage’ [-Wimplicit-function-declaration]
19 | cvtimage(image);
| ^~~~~~~~
close.c:20:13: error: implicit declaration of function ‘img_write’ [-Wimplicit-function-declaration]
20 | if (img_write(image,(char *)image,sizeof(IMAGE)) != sizeof(IMAGE)) {
| ^~~~~~~~~
close.c:21:13: error: implicit declaration of function ‘i_errhdlr’ [-Wimplicit-function-declaration]
21 | i_errhdlr("iclose: error on write of image header\n");
| ^~~~~~~~~
close.c:30:17: error: implicit declaration of function ‘cvtlongs’ [-Wimplicit-function-declaration]
30 | cvtlongs(image->rowstart,tablesize);
| ^~~~~~~~
close.c:57:11: error: implicit declaration of function ‘close’; did you mean ‘iclose’? [-Wimplicit-function-declaration]
57 | ret = close(image->file);
| ^~~~~
| iclose
close.c: In function ‘iflush’:
close.c:70:17: error: implicit declaration of function ‘putrow’; did you mean ‘putw’? [-Wimplicit-function-declaration]
70 | if (putrow(image, base, image->y,image->z)!=image->xsize) {
| ^~~~~~
| putw
make[2]: *** [<builtin>: close.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libimage'
make[1]: *** [GNUmakefile:12: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" install returned exit code 2
make: *** [debian/rules:65: build-stamp] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list