[Debian-astro-maintainers] Bug#1075414: python-drizzle: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:41:06 BST 2024
Package: src:python-drizzle
Version: 1.15.2-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/python-drizzle_1.15.2-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
[...]
I: pybuild base:311: /usr/bin/python3.11 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle
copying drizzle/doblot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle
copying drizzle/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle
copying drizzle/dodrizzle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle
copying drizzle/drizzle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle
copying drizzle/calc_pixmap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle
copying drizzle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle/tests
copying drizzle/tests/test_file_io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle/tests
copying drizzle/tests/test_drizzle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle/tests
copying drizzle/tests/test_pixmap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle/tests
copying drizzle/tests/test_overlap_calc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle/tests
copying drizzle/tests/test_cdrizzle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle/tests
copying drizzle/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drizzle/build/drizzle/tests
running build_ext
building 'drizzle.cdrizzle' extension
creating build
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/build
creating build/temp.linux-x86_64-cpython-311/<<BUILDDIR>>
creating build/temp.linux-x86_64-cpython-311/<<PKGBUILDDIR>>
creating build/temp.linux-x86_64-cpython-311/<<PKGBUILDDIR>>/src
creating build/temp.linux-x86_64-cpython-311/<<PKGBUILDDIR>>/src/tests
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/<<PKGBUILDDIR>>/src -I/usr/include/python3.11 -c /<<PKGBUILDDIR>>/src/cdrizzleapi.c -o build/temp.linux-x86_64-cpython-311/<<PKGBUILDDIR>>/src/cdrizzleapi.o
/<<PKGBUILDDIR>>/src/cdrizzleapi.c: In function ‘PyInit_cdrizzle’:
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:627:12: error: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyObject **’ {aka ‘struct _object **’} [-Wincompatible-pointer-types]
627 | return m;
| ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3.11 setup.py build
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle
copying drizzle/doblot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle
copying drizzle/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle
copying drizzle/dodrizzle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle
copying drizzle/drizzle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle
copying drizzle/calc_pixmap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle
copying drizzle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle/tests
copying drizzle/tests/test_file_io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle/tests
copying drizzle/tests/test_drizzle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle/tests
copying drizzle/tests/test_pixmap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle/tests
copying drizzle/tests/test_overlap_calc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle/tests
copying drizzle/tests/test_cdrizzle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle/tests
copying drizzle/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drizzle/build/drizzle/tests
running build_ext
building 'drizzle.cdrizzle' extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/build
creating build/temp.linux-x86_64-cpython-312/<<BUILDDIR>>
creating build/temp.linux-x86_64-cpython-312/<<PKGBUILDDIR>>
creating build/temp.linux-x86_64-cpython-312/<<PKGBUILDDIR>>/src
creating build/temp.linux-x86_64-cpython-312/<<PKGBUILDDIR>>/src/tests
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/<<PKGBUILDDIR>>/src -I/usr/include/python3.12 -c /<<PKGBUILDDIR>>/src/cdrizzleapi.c -o build/temp.linux-x86_64-cpython-312/<<PKGBUILDDIR>>/src/cdrizzleapi.o
/<<PKGBUILDDIR>>/src/cdrizzleapi.c: In function ‘PyInit_cdrizzle’:
/<<PKGBUILDDIR>>/src/cdrizzleapi.c:627:12: error: returning ‘PyObject *’ {aka ‘struct _object *’} from a function with incompatible return type ‘PyObject **’ {aka ‘struct _object **’} [-Wincompatible-pointer-types]
627 | return m;
| ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" returned exit code 13
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-astro-maintainers
mailing list