Package: src:python-shapely Version: 2.0.4-1 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-shapely_2.0.4-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 [...] 400 | GEOSGeometry *geom = NULL; | ^~~~ src/ufuncs.c: In function ‘Y_i_func’: src/ufuncs.c:1192:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1192 | int errcode = (int)((int**)data)[1]; | ^ src/ufuncs.c:1193:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1193 | int none_value = (int)((int**)data)[2]; | ^ src/ufuncs.c: In function ‘polygonize_func’: src/ufuncs.c:2205:51: error: passing argument 2 of ‘GEOSPolygonize_r’ from incompatible pointer type [-Wincompatible-pointer-types] 2205 | GEOSGeometry* ret_ptr = GEOSPolygonize_r(ctx, geoms, n_geoms); | ^~~~~ | | | GEOSGeometry ** {aka struct GEOSGeom_t **} In file included from src/geos.h:15, from src/ufuncs.c:16: /usr/include/geos_c.h:979:31: note: expected ‘const GEOSGeometry * const*’ {aka ‘const struct GEOSGeom_t * const*’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} 979 | const GEOSGeometry *const geoms[], | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from src/ufuncs.c:15: src/ufuncs.c: In function ‘linestrings_func’: src/fast_loop_macros.h:83:21: warning: unused variable ‘i_c2’ [-Wunused-variable] 83 | npy_intp i, i_c1, i_c2; \ | ^~~~ src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2533 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/fast_loop_macros.h:83:15: warning: unused variable ‘i_c1’ [-Wunused-variable] 83 | npy_intp i, i_c1, i_c2; \ | ^~~~ src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2533 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/fast_loop_macros.h:80:47: warning: unused variable ‘cp2’ [-Wunused-variable] 80 | char *ip1 = args[0], *op1 = args[1], *cp1, *cp2; \ | ^~~ src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2533 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/fast_loop_macros.h:80:41: warning: unused variable ‘cp1’ [-Wunused-variable] 80 | char *ip1 = args[0], *op1 = args[1], *cp1, *cp2; \ | ^~~ src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2533 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/ufuncs.c: In function ‘linearrings_func’: src/fast_loop_macros.h:83:15: warning: unused variable ‘i_c1’ [-Wunused-variable] 83 | npy_intp i, i_c1, i_c2; \ | ^~~~ src/ufuncs.c:2588:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2588 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/ufuncs.c: In function ‘bounds_func’: src/ufuncs.c:2874:7: warning: unused variable ‘size’ [-Wunused-variable] 2874 | int size; | ^~~~ src/ufuncs.c:2873:28: warning: unused variable ‘coord_seq’ [-Wunused-variable] 2873 | const GEOSCoordSequence* coord_seq; | ^~~~~~~~~ src/ufuncs.c:2872:23: warning: unused variable ‘ring’ [-Wunused-variable] 2872 | const GEOSGeometry* ring; | ^~~~ 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_shapely dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" returned exit code 13 make: *** [debian/rules:20: 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
