Bug#1074886: coda: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:24:25 BST 2024
Package: src:coda
Version: 2.25.2-1.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/coda_2.25.2-1.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
[...]
../../java/coda_jni.c:730:20: warning: ‘SWIG_JavaArrayOutFloat’ defined but not used [-Wunused-function]
730 | static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:684:19: warning: ‘SWIG_JavaArrayOutLonglong’ defined but not used [-Wunused-function]
684 | static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, long long *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:638:19: warning: ‘SWIG_JavaArrayOutUlong’ defined but not used [-Wunused-function]
638 | static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:630:13: warning: ‘SWIG_JavaArrayArgoutUlong’ defined but not used [-Wunused-function]
630 | static void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:609:12: warning: ‘SWIG_JavaArrayInUlong’ defined but not used [-Wunused-function]
609 | static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input) {
| ^~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:592:18: warning: ‘SWIG_JavaArrayOutLong’ defined but not used [-Wunused-function]
592 | static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:546:19: warning: ‘SWIG_JavaArrayOutUint’ defined but not used [-Wunused-function]
546 | static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:538:13: warning: ‘SWIG_JavaArrayArgoutUint’ defined but not used [-Wunused-function]
538 | static void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:517:12: warning: ‘SWIG_JavaArrayInUint’ defined but not used [-Wunused-function]
517 | static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input) {
| ^~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:500:18: warning: ‘SWIG_JavaArrayOutInt’ defined but not used [-Wunused-function]
500 | static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:454:18: warning: ‘SWIG_JavaArrayOutUshort’ defined but not used [-Wunused-function]
454 | static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:446:13: warning: ‘SWIG_JavaArrayArgoutUshort’ defined but not used [-Wunused-function]
446 | static void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:425:12: warning: ‘SWIG_JavaArrayInUshort’ defined but not used [-Wunused-function]
425 | static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input) {
| ^~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:408:20: warning: ‘SWIG_JavaArrayOutShort’ defined but not used [-Wunused-function]
408 | static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:362:20: warning: ‘SWIG_JavaArrayOutUchar’ defined but not used [-Wunused-function]
362 | static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:354:13: warning: ‘SWIG_JavaArrayArgoutUchar’ defined but not used [-Wunused-function]
354 | static void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:333:12: warning: ‘SWIG_JavaArrayInUchar’ defined but not used [-Wunused-function]
333 | static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input) {
| ^~~~~~~~~~~~~~~~~~~~~
../../java/coda_jni.c:316:19: warning: ‘SWIG_JavaArrayOutSchar’ defined but not used [-Wunused-function]
316 | static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz) {
| ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:2145: java/libcoda_jni_la-coda_jni.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: gcc -shared -fPIC -DPIC libcoda/.libs/la-coda-ascbin-cursor.o libcoda/.libs/la-coda-ascii-cursor.o libcoda/.libs/la-coda-ascii.o libcoda/.libs/la-coda-bin-cursor.o libcoda/.libs/la-coda-bin.o libcoda/.libs/la-coda-cdf-cursor.o libcoda/.libs/la-coda-cdf-type.o libcoda/.libs/la-coda-cdf.o libcoda/.libs/la-coda-check.o libcoda/.libs/la-coda-cursor-read.o libcoda/.libs/la-coda-cursor.o libcoda/.libs/la-coda-definition-parse.o libcoda/.libs/la-coda-definition.o libcoda/.libs/la-coda-detection.o libcoda/.libs/la-coda-errno.o libcoda/.libs/la-coda-expr-parser.o libcoda/.libs/la-coda-expr-tokenizer.o libcoda/.libs/la-coda-expr.o libcoda/.libs/la-coda-filefilter.o libcoda/.libs/la-coda-grib-cursor.o libcoda/.libs/la-coda-grib-type.o libcoda/.libs/la-coda-grib.o libcoda/.libs/la-coda-mem-cursor.o libcoda/.libs/la-coda-mem-type.o libcoda/.libs/la-coda-mem.o libcoda/.libs/la-coda-netcdf-cursor.o libcoda/.libs/la-coda-netcdf-type.o libcoda/.libs/la-coda-netcdf.o libcoda/.libs/la-coda-product.o libcoda/.libs/la-coda-rinex.o libcoda/.libs/la-coda-sp3.o libcoda/.libs/la-coda-time.o libcoda/.libs/la-coda-tree.o libcoda/.libs/la-coda-type.o libcoda/.libs/la-coda-utils.o libcoda/.libs/la-coda-xml-parser.o libcoda/.libs/la-coda-xml.o libcoda/.libs/la-coda.o libcoda/.libs/la-hashtable.o libcoda/.libs/la-ziparchive.o libcoda/.libs/la-coda-hdf4-cursor.o libcoda/.libs/la-coda-hdf4-type.o libcoda/.libs/la-coda-hdf4.o libcoda/.libs/la-coda-hdf5-cursor.o libcoda/.libs/la-coda-hdf5-type.o libcoda/.libs/la-coda-hdf5.o -L/usr/lib/x86_64-linux-gnu/hdf5/serial/lib -L/usr/lib -lexpat -lpcre2-8 /usr/lib/x86_64-linux-gnu/libmfhdfalt.so /usr/lib/x86_64-linux-gnu/libdfalt.so -ljpeg -lhdf5 -lz -lsz -lm -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-soname -Wl,libcoda.so.16 -o .libs/libcoda.so.16.0.8
libtool: link: (cd ".libs" && rm -f "libcoda.so.16" && ln -s "libcoda.so.16.0.8" "libcoda.so.16")
libtool: link: (cd ".libs" && rm -f "libcoda.so" && ln -s "libcoda.so.16.0.8" "libcoda.so")
libtool: link: ar cr .libs/libcoda.a libcoda/la-coda-ascbin-cursor.o libcoda/la-coda-ascii-cursor.o libcoda/la-coda-ascii.o libcoda/la-coda-bin-cursor.o libcoda/la-coda-bin.o libcoda/la-coda-cdf-cursor.o libcoda/la-coda-cdf-type.o libcoda/la-coda-cdf.o libcoda/la-coda-check.o libcoda/la-coda-cursor-read.o libcoda/la-coda-cursor.o libcoda/la-coda-definition-parse.o libcoda/la-coda-definition.o libcoda/la-coda-detection.o libcoda/la-coda-errno.o libcoda/la-coda-expr-parser.o libcoda/la-coda-expr-tokenizer.o libcoda/la-coda-expr.o libcoda/la-coda-filefilter.o libcoda/la-coda-grib-cursor.o libcoda/la-coda-grib-type.o libcoda/la-coda-grib.o libcoda/la-coda-mem-cursor.o libcoda/la-coda-mem-type.o libcoda/la-coda-mem.o libcoda/la-coda-netcdf-cursor.o libcoda/la-coda-netcdf-type.o libcoda/la-coda-netcdf.o libcoda/la-coda-product.o libcoda/la-coda-rinex.o libcoda/la-coda-sp3.o libcoda/la-coda-time.o libcoda/la-coda-tree.o libcoda/la-coda-type.o libcoda/la-coda-utils.o libcoda/la-coda-xml-parser.o libcoda/la-coda-xml.o libcoda/la-coda.o libcoda/la-hashtable.o libcoda/la-ziparchive.o libcoda/la-coda-hdf4-cursor.o libcoda/la-coda-hdf4-type.o libcoda/la-coda-hdf4.o libcoda/la-coda-hdf5-cursor.o libcoda/la-coda-hdf5-type.o libcoda/la-coda-hdf5.o
libtool: link: ranlib .libs/libcoda.a
libtool: link: ( cd ".libs" && rm -f "libcoda.la" && ln -s "../libcoda.la" "libcoda.la" )
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [Makefile:1095: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
dh_auto_build: error: cd debian/build && make -j8 returned exit code 2
make[1]: *** [debian/rules:51: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list