Bug#1075174: libjogl2-java: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:33:25 BST 2024
Package: src:libjogl2-java
Version: 2.5.0+dfsg-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/libjogl2-java_2.5.0+dfsg-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
[...]
c.configure.linux.riscv64:
c.configure.linux.s390:
c.configure.linux.s390x:
c.configure.linux.sparc:
c.configure.linux.ia64:
c.configure.x11:
c.configure.linux:
c.configure.android:
c.configure.solaris32:
c.configure.solaris.sparcv9:
c.configure.solaris.amd64:
c.configure.macosx:
c.configure.ios.amd64:
c.configure.ios.arm64:
c.configure.freebsd.x86:
c.configure.freebsd.amd64:
c.configure.freebsd:
c.configure.hpux:
c.configure.2:
c.configure:
c.build.newt.windowlib.head:
[echo] Using compiler.cfg.id compiler.cfg.linux.amd64
[echo] Using linker.cfg.id.oswin linker.cfg.linux.amd64.newt.x11
[echo] Output lib name = newt_head
[echo] Compiling newt_head
[cc] 9 total files to be compiled.
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
[cc] /<<PKGBUILDDIR>>/src/newt/native/bcm_vc_iv.c: In function ‘Java_jogamp_newt_driver_bcm_vc_iv_WindowDriver_CreateWindow0’:
[cc] /<<PKGBUILDDIR>>/src/newt/native/bcm_vc_iv.c:356:15: error: returning ‘void *’ from a function with return type ‘jlong’ {aka ‘long int’} makes integer from pointer without a cast [-Wint-conversion]
[cc] 356 | return NULL;
[cc] | ^~~~
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
[cc] cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C
BUILD FAILED
/<<PKGBUILDDIR>>/make/build.xml:84: The following error occurred while executing this line:
/<<PKGBUILDDIR>>/make/build-newt.xml:1093: The following error occurred while executing this line:
/<<PKGBUILDDIR>>/make/build-newt.xml:1022: gcc failed with return code 1
Total time: 2 minutes 2 seconds
make[1]: *** [debian/rules:52: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:30: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-java-maintainers
mailing list