[Debian-astro-maintainers] Bug#1075410: pyregion: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:40:58 BST 2024
Package: src:pyregion
Version: 2.2.0-3
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/pyregion_2.2.0-3_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
[...]
writing requirements to pyregion.egg-info/requires.txt
writing top-level names to pyregion.egg-info/top_level.txt
dependency /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'pyregion.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'build'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/api'
adding license file 'LICENSE'
writing manifest file 'pyregion.egg-info/SOURCES.txt'
copying pyregion/_region_filter.c -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion
copying pyregion/_region_filter.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion
copying pyregion/c_numpy.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion
copying pyregion/c_python.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/sample_fits01.header -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/sample_fits02.header -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/sample_fits03.header -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/sample_fits04.header -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test.header -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_ciao.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_ciao_physical.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_ds9_physical.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_fk4.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_fk5.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_fk5_degree.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_fk5_sexagecimal.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_gal.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_icrs.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_img.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_mixed.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test01_print.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test02.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test02_1_fk5.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test02_1_img.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test03_ciao_physical.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test03_fk5.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test03_gal.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test03_icrs.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test03_img.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test04_img.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test_annuli.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test_annuli_ciao.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test_annuli_wcs.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test_context.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
copying pyregion/tests/data/test_text.reg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyregion/build/pyregion/tests/data
running build_ext
building 'pyregion._region_filter' extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/pyregion
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/python3.12 -c pyregion/_region_filter.c -o build/temp.linux-x86_64-cpython-312/pyregion/_region_filter.o
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:5,
from pyregion/_region_filter.c:752:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
pyregion/_region_filter.c: In function ‘__pyx_pymod_exec__region_filter’:
pyregion/_region_filter.c:13000:3: error: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Wint-conversion]
13000 | import_array();
| ^~~~~~~~~~~~
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:44: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-astro-maintainers
mailing list