Package: src:python-hdf4 Version: 0.11.4-2 Severity: important Tags: sid trixie User: [email protected] 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/python-hdf4_0.11.4-2_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 [...] creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/pyhdf x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/hdf/ -I/usr/include/python3.12 -c pyhdf/hdfext_wrap.c -o build/temp.linux-x86_64-cpython-312/pyhdf/hdfext_wrap.o -DNOSZIP pyhdf/hdfext_wrap.c: In function ‘_SDgetcompress’: pyhdf/hdfext_wrap.c:4119:36: error: passing argument 2 of ‘SDgetcompress’ from incompatible pointer type [-Wincompatible-pointer-types] 4119 | status = SDgetcompress(sds_id, comp_type, &c_info); | ^~~~~~~~~ | | | int32 * {aka int *} In file included from pyhdf/hdfext_wrap.c:3678: /usr/include/hdf/mfhdf.h:143:54: note: expected ‘comp_coder_t *’ but argument is of type ‘int32 *’ {aka ‘int *’} 143 | HDFLIBAPI intn SDgetcompress(int32 id, comp_coder_t *type, comp_info *c_info); | ~~~~~~~~~~~~~~^~~~ pyhdf/hdfext_wrap.c: In function ‘_wrap_SDcreate’: pyhdf/hdfext_wrap.c:6049:62: warning: passing argument 5 of ‘SDcreate’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6049 | result = (int32)SDcreate(arg1,(char const *)arg2,arg3,arg4,(int const *)arg5); | ^~~~~~~~~~~~~~~~~ /usr/include/hdf/mfhdf.h:90:84: note: expected ‘int32 *’ {aka ‘int *’} but argument is of type ‘const int *’ 90 | HDFLIBAPI int32 SDcreate(int32 fid, const char *name, int32 nt, int32 rank, int32 *dimsizes); | ~~~~~~~^~~~~~~~ pyhdf/hdfext_wrap.c: In function ‘_wrap_SDsetdimscale’: pyhdf/hdfext_wrap.c:6591:48: warning: passing argument 4 of ‘SDsetdimscale’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6591 | result = (int32)SDsetdimscale(arg1,arg2,arg3,(void const *)arg4); | ^~~~~~~~~~~~~~~~~~ /usr/include/hdf/mfhdf.h:124:69: note: expected ‘void *’ but argument is of type ‘const void *’ 124 | HDFLIBAPI intn SDsetdimscale(int32 id, int32 count, int32 nt, void *data); | ~~~~~~^~~~ pyhdf/hdfext_wrap.c: In function ‘_wrap_SDsetfillvalue’: pyhdf/hdfext_wrap.c:7241:39: warning: passing argument 2 of ‘SDsetfillvalue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 7241 | result = (int32)SDsetfillvalue(arg1,(void const *)arg2); | ^~~~~~~~~~~~~~~~~~ /usr/include/hdf/mfhdf.h:112:50: note: expected ‘void *’ but argument is of type ‘const void *’ 112 | HDFLIBAPI intn SDsetfillvalue(int32 sdsid, void *val); | ~~~~~~^~~ pyhdf/hdfext_wrap.c: In function ‘_wrap_SDsetrange’: pyhdf/hdfext_wrap.c:7275:35: warning: passing argument 2 of ‘SDsetrange’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 7275 | result = (int32)SDsetrange(arg1,(void const *)arg2,(void const *)arg3); | ^~~~~~~~~~~~~~~~~~ /usr/include/hdf/mfhdf.h:98:46: note: expected ‘void *’ but argument is of type ‘const void *’ 98 | HDFLIBAPI intn SDsetrange(int32 sdsid, void *pmax, void *pmin); | ~~~~~~^~~~ pyhdf/hdfext_wrap.c:7275:54: warning: passing argument 3 of ‘SDsetrange’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 7275 | result = (int32)SDsetrange(arg1,(void const *)arg2,(void const *)arg3); | ^~~~~~~~~~~~~~~~~~ /usr/include/hdf/mfhdf.h:98:58: note: expected ‘void *’ but argument is of type ‘const void *’ 98 | HDFLIBAPI intn SDsetrange(int32 sdsid, void *pmax, void *pmin); | ~~~~~~^~~~ pyhdf/hdfext_wrap.c: In function ‘_wrap_VSsizeof’: pyhdf/hdfext_wrap.c:8160:32: warning: passing argument 2 of ‘VSsizeof’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 8160 | result = (intn)VSsizeof(arg1,(char const *)arg2); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/hdf/hdf.h:186, from pyhdf/hdfext_wrap.c:3677: /usr/include/hdf/hproto.h:1300:44: note: expected ‘char *’ but argument is of type ‘const char *’ 1300 | HDFLIBAPI int32 VSsizeof(int32 vkey, char *fields); | ~~~~~~^~~~~~ pyhdf/hdfext_wrap.c: In function ‘_wrap_VSfexist’: pyhdf/hdfext_wrap.c:8604:32: warning: passing argument 2 of ‘VSfexist’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 8604 | result = (intn)VSfexist(arg1,(char const *)arg2); | ^~~~~~~~~~~~~~~~~~ /usr/include/hdf/hproto.h:1298:43: note: expected ‘char *’ but argument is of type ‘const char *’ 1298 | HDFLIBAPI intn VSfexist(int32 vkey, char *fields); | ~~~~~~^~~~~~ error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 ERROR Backend subprocess exited when trying to invoke build_wheel E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyhdf dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" returned exit code 13 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 _______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
