Source: libsis-jhdf5-java Version: 19.04.1+dfsg-5 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240727 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > cc -Wdate-time -D_FORTIFY_SOURCE=2 > -I/usr/lib/jvm/java-17-openjdk-amd64/include > -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -Ijni -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -shared > -fPIC -Wl,--exclude-libs,ALL \ > -I/usr/lib/jvm/default-java/include/ -I/usr/include/hdf5/serial \ > *.c jni/*.c -o libsis-jhdf5.so -lz -lhdf5_serial > In file included from h5lHelperImp.c:19: > h5lHelperImp.c: In function > ‘Java_ch_systemsx_cisd_hdf5_hdf5lib_HDFHelper__1H5Lget_1link_1info’: > jni/h5jni.h:125:20: warning: assignment discards ‘const’ qualifier from > pointer target type [-Wdiscarded-qualifiers] > 125 | (localstr) = ENVPTR->GetStringUTFChars(ENVPAR (javastr), > &isCopy); \ > | ^ > h5lHelperImp.c:124:5: note: in expansion of macro ‘PIN_JAVA_STRING’ > 124 | PIN_JAVA_STRING(object_name, oName); > | ^~~~~~~~~~~~~~~ > h5lHelperImp.c: In function > ‘Java_ch_systemsx_cisd_hdf5_hdf5lib_HDFHelper__1H5Lget_1link_1names_1all’: > jni/h5jni.h:125:20: warning: assignment discards ‘const’ qualifier from > pointer target type [-Wdiscarded-qualifiers] > 125 | (localstr) = ENVPTR->GetStringUTFChars(ENVPAR (javastr), > &isCopy); \ > | ^ > h5lHelperImp.c:245:5: note: in expansion of macro ‘PIN_JAVA_STRING’ > 245 | PIN_JAVA_STRING(group_name, gName); > | ^~~~~~~~~~~~~~~ > h5lHelperImp.c: In function ‘link_info_all’: > h5lHelperImp.c:325:55: warning: assignment discards ‘const’ qualifier from > pointer target type [-Wdiscarded-qualifiers] > 325 | *(info->linkname+info->count) = obj_path; > | ^ > h5lHelperImp.c:326:56: warning: assignment discards ‘const’ qualifier from > pointer target type [-Wdiscarded-qualifiers] > 326 | *(info->linkfname+info->count) = filename; > | ^ > h5lHelperImp.c: In function > ‘Java_ch_systemsx_cisd_hdf5_hdf5lib_HDFHelper__1H5Lget_1link_1info_1all’: > jni/h5jni.h:125:20: warning: assignment discards ‘const’ qualifier from > pointer target type [-Wdiscarded-qualifiers] > 125 | (localstr) = ENVPTR->GetStringUTFChars(ENVPAR (javastr), > &isCopy); \ > | ^ > h5lHelperImp.c:377:5: note: in expansion of macro ‘PIN_JAVA_STRING’ > 377 | PIN_JAVA_STRING(group_name, gName); > | ^~~~~~~~~~~~~~~ > h5lHelperImp.c:457:30: error: passing argument 1 of ‘h5str_array_free’ from > incompatible pointer type [-Wincompatible-pointer-types] > 457 | h5str_array_free(buf, n); > | ^~~ > | | > | void ** > In file included from h5lHelperImp.c:20: > jni/h5util.h:47:40: note: expected ‘char **’ but argument is of type ‘void **’ > 47 | extern void h5str_array_free(char **strs, size_t len); > | ~~~~~~~^~~~ > h5lHelperImp.c:486:30: error: passing argument 1 of ‘h5str_array_free’ from > incompatible pointer type [-Wincompatible-pointer-types] > 486 | h5str_array_free(buf, n); > | ^~~ > | | > | void ** > jni/h5util.h:47:40: note: expected ‘char **’ but argument is of type ‘void **’ > 47 | extern void h5str_array_free(char **strs, size_t len); > | ~~~~~~~^~~~ > jni/h5aImp.c: In function ‘H5AwriteVL_asstr’: > jni/h5aImp.c:306:10: error: assignment to ‘char **’ from incompatible pointer > type ‘hvl_t *’ [-Wincompatible-pointer-types] > 306 | strs =(hvl_t*)HDcalloc((size_t)n, sizeof(hvl_t)); > | ^ > In file included from jni/h5util.h:23, > from jni/h5dImp.c:29: > jni/h5dImp.c: In function ‘H5DwriteVL_asstr’: > jni/h5jni.h:88:18: warning: initialization discards ‘const’ qualifier from > pointer target type [-Wdiscarded-qualifiers] > 88 | #define ENVPTR (*env) > | ^ > jni/h5dImp.c:1375:30: note: in expansion of macro ‘ENVPTR’ > 1375 | char *utf8 = ENVPTR->GetStringUTFChars(ENVPAR obj, 0); > | ^~~~~~ > jni/h5util.c: In function ‘h5str_convert’: > jni/h5util.c:336:27: warning: too many arguments for format > [-Wformat-extra-args] > 336 | sscanf(token, "%%lf", &tmp_double); > | ^~~~~~ > jni/h5util.c:364:34: warning: format ‘%hu’ expects argument of type ‘short > unsigned int *’, but argument 3 has type ‘unsigned char *’ [-Wformat=] > 364 | sscanf(token, "%hu", &tmp_uchar); > | ~~^ ~~~~~~~~~~ > | | | > | | unsigned char * > | short unsigned int * > | %hhu > jni/h5util.c:370:34: warning: format ‘%hd’ expects argument of type ‘short > int *’, but argument 3 has type ‘char *’ [-Wformat=] > 370 | sscanf(token, "%hd", &tmp_char); > | ~~^ ~~~~~~~~~ > | | | > | | char * > | short int * > | %hhd > jni/h5util.c:392:33: warning: format ‘%u’ expects argument of type ‘unsigned > int *’, but argument 3 has type ‘short unsigned int *’ [-Wformat=] > 392 | sscanf(token, "%u", &tmp_ushort); > | ~^ ~~~~~~~~~~~ > | | | > | | short unsigned int * > | unsigned int * > | %hu > jni/h5util.c:398:33: warning: format ‘%d’ expects argument of type ‘int *’, > but argument 3 has type ‘short int *’ [-Wformat=] > 398 | sscanf(token, "%d", &tmp_short); > | ~^ ~~~~~~~~~~ > | | | > | | short int * > | int * > | %hd > make[1]: *** [debian/rules:33: override_dh_auto_build] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/07/27/libsis-jhdf5-java_19.04.1+dfsg-5_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240727;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240727&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.