Package: src:fiona Version: 1.9.6-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/fiona_1.9.6-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 [...] INFO:root:copying fiona/fio/env.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/filter.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/helpers.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/bounds.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/load.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/rm.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/dump.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/insp.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/ls.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/options.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/distrib.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/cat.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/__init__.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/info.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:copying fiona/fio/calc.py -> build/lib.linux-x86_64-cpython-312/fiona/fio INFO:root:creating build/lib.linux-x86_64-cpython-312/fiona/_vendor INFO:root:creating build/lib.linux-x86_64-cpython-312/fiona/_vendor/munch INFO:root:copying fiona/_vendor/munch/python3_compat.py -> build/lib.linux-x86_64-cpython-312/fiona/_vendor/munch INFO:root:copying fiona/_vendor/munch/__init__.py -> build/lib.linux-x86_64-cpython-312/fiona/_vendor/munch INFO:root:copying fiona/gdal.pxi -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/_geometry.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/_env.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/ogrext3.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/_csl.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/ogrext1.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/_cpl.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/ogrext2.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/_err.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:copying fiona/crs.pxd -> build/lib.linux-x86_64-cpython-312/fiona INFO:root:running build_ext INFO:root:building 'fiona._geometry' extension INFO:root:creating build/temp.linux-x86_64-cpython-312 INFO:root:creating build/temp.linux-x86_64-cpython-312/fiona INFO:root: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/include/gdal -I/usr/include/python3.12 -c fiona/_geometry.c -o build/temp.linux-x86_64-cpython-312/fiona/_geometry.o INFO:root:x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -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 build/temp.linux-x86_64-cpython-312/fiona/_geometry.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lgdal -o build/lib.linux-x86_64-cpython-312/fiona/_geometry.cpython-312-x86_64-linux-gnu.so INFO:root:building 'fiona.schema' extension INFO:root: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/include/gdal -I/usr/include/python3.12 -c fiona/schema.c -o build/temp.linux-x86_64-cpython-312/fiona/schema.o INFO:root:x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -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 build/temp.linux-x86_64-cpython-312/fiona/schema.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lgdal -o build/lib.linux-x86_64-cpython-312/fiona/schema.cpython-312-x86_64-linux-gnu.so INFO:root:building 'fiona._transform' extension INFO:root: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/include/gdal -I/usr/include/python3.12 -c fiona/_transform.cpp -o build/temp.linux-x86_64-cpython-312/fiona/_transform.o -std=c++11 cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ INFO:root:x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -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 build/temp.linux-x86_64-cpython-312/fiona/_transform.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lgdal -o build/lib.linux-x86_64-cpython-312/fiona/_transform.cpython-312-x86_64-linux-gnu.so INFO:root:building 'fiona.crs' extension INFO:root: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/include/gdal -I/usr/include/python3.12 -c fiona/crs.c -o build/temp.linux-x86_64-cpython-312/fiona/crs.o fiona/crs.c:16104:18: warning: ‘__pyx_pw_5fiona_3crs_3CRS_35__hash__’ defined but not used [-Wunused-function] 16104 | static Py_hash_t __pyx_pw_5fiona_3crs_3CRS_35__hash__(PyObject *__pyx_v_self) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO:root:x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -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 build/temp.linux-x86_64-cpython-312/fiona/crs.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lgdal -o build/lib.linux-x86_64-cpython-312/fiona/crs.cpython-312-x86_64-linux-gnu.so INFO:root:building 'fiona._env' extension INFO:root: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/include/gdal -I/usr/include/python3.12 -c fiona/_env.c -o build/temp.linux-x86_64-cpython-312/fiona/_env.o fiona/_env.c: In function ‘__pyx_f_5fiona_4_env_set_proj_search_path’: fiona/_env.c:4255:32: error: passing argument 1 of ‘CSLAddString’ from incompatible pointer type [-Wincompatible-pointer-types] 4255 | __pyx_v_paths = CSLAddString(__pyx_v_paths, __pyx_v_path_c); | ^~~~~~~~~~~~~ | | | const char ** In file included from fiona/_env.c:1260: /usr/include/gdal/cpl_string.h:65:36: note: expected ‘char **’ but argument is of type ‘const char **’ 65 | char CPL_DLL **CSLAddString(char **papszStrList, | ~~~~~~~^~~~~~~~~~~~ fiona/_env.c:4255:17: error: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 4255 | __pyx_v_paths = CSLAddString(__pyx_v_paths, __pyx_v_path_c); | ^ 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_fiona dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" returned exit code 13 make: *** [debian/rules:44: 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
