--- Begin Message ---
Package: src:astropy-healpix
Version: 1.0.0-2
Severity: important
Tags: sid trixie
User: debian-...@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/astropy-healpix_1.0.0-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
[...]
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml
does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py",
line 36, in read_pyproject
section = defn.get("tool", {})[tool_name]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
running build
running build_py
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/healpy.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/_astropy_init.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/conftest.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/utils.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/setup_package.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/bench.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/version.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/core.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/high_level.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
copying astropy_healpix/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_utils.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_high_level.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_healpy.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_core.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_bench.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astropy-healpix/build/astropy_healpix/tests
running build_ext
building 'astropy_healpix._core' extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/astropy_healpix
creating build/temp.linux-x86_64-cpython-312/cextern
creating build/temp.linux-x86_64-cpython-312/cextern/astrometry.net
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 -DPy_LIMITED_API=50921472
-DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION
-I/usr/lib/python3/dist-packages/numpy/core/include -Icextern/astrometry.net
-Iastropy_healpix -Icextern/numpy -I/usr/include/python3.12 -c
astropy_healpix/_core.c -o
build/temp.linux-x86_64-cpython-312/astropy_healpix/_core.o -O2
astropy_healpix/_core.c:368:47: error: initialization of ‘void (*)(char **,
const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long
int *, const long int *, void *)’} from incompatible pointer type ‘void
(*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int
*, long int *, void *)’} [-Wincompatible-pointer-types]
368 | healpix_to_lonlat_loops [] = {healpix_to_lonlat_loop},
| ^~~~~~~~~~~~~~~~~~~~~~
astropy_healpix/_core.c:368:47: note: (near initialization for
‘healpix_to_lonlat_loops[0]’)
astropy_healpix/_core.c:369:47: error: initialization of ‘void (*)(char **,
const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long
int *, const long int *, void *)’} from incompatible pointer type ‘void
(*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int
*, long int *, void *)’} [-Wincompatible-pointer-types]
369 | lonlat_to_healpix_loops [] = {lonlat_to_healpix_loop},
| ^~~~~~~~~~~~~~~~~~~~~~
astropy_healpix/_core.c:369:47: note: (near initialization for
‘lonlat_to_healpix_loops[0]’)
astropy_healpix/_core.c:370:47: error: initialization of ‘void (*)(char **,
const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long
int *, const long int *, void *)’} from incompatible pointer type ‘void
(*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int
*, long int *, void *)’} [-Wincompatible-pointer-types]
370 | healpix_to_xyz_loops [] = {healpix_to_xyz_loop},
| ^~~~~~~~~~~~~~~~~~~
astropy_healpix/_core.c:370:47: note: (near initialization for
‘healpix_to_xyz_loops[0]’)
astropy_healpix/_core.c:371:47: error: initialization of ‘void (*)(char **,
const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long
int *, const long int *, void *)’} from incompatible pointer type ‘void
(*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int
*, long int *, void *)’} [-Wincompatible-pointer-types]
371 | xyz_to_healpix_loops [] = {xyz_to_healpix_loop},
| ^~~~~~~~~~~~~~~~~~~
astropy_healpix/_core.c:371:47: note: (near initialization for
‘xyz_to_healpix_loops[0]’)
astropy_healpix/_core.c:372:47: error: initialization of ‘void (*)(char **,
const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long
int *, const long int *, void *)’} from incompatible pointer type ‘void
(*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int
*, long int *, void *)’} [-Wincompatible-pointer-types]
372 | nested_to_ring_loops [] = {nested_to_ring_loop},
| ^~~~~~~~~~~~~~~~~~~
astropy_healpix/_core.c:372:47: note: (near initialization for
‘nested_to_ring_loops[0]’)
astropy_healpix/_core.c:373:47: error: initialization of ‘void (*)(char **,
const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long
int *, const long int *, void *)’} from incompatible pointer type ‘void
(*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int
*, long int *, void *)’} [-Wincompatible-pointer-types]
373 | ring_to_nested_loops [] = {ring_to_nested_loop},
| ^~~~~~~~~~~~~~~~~~~
astropy_healpix/_core.c:373:47: note: (near initialization for
‘ring_to_nested_loops[0]’)
astropy_healpix/_core.c:374:47: error: initialization of ‘void (*)(char **,
const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long
int *, const long int *, void *)’} from incompatible pointer type ‘void
(*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int
*, long int *, void *)’} [-Wincompatible-pointer-types]
374 | bilinear_interpolation_weights_loops[] =
{bilinear_interpolation_weights_loop},
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
astropy_healpix/_core.c:374:47: note: (near initialization for
‘bilinear_interpolation_weights_loops[0]’)
astropy_healpix/_core.c:375:47: error: initialization of ‘void (*)(char **,
const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long
int *, const long int *, void *)’} from incompatible pointer type ‘void
(*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int
*, long int *, void *)’} [-Wincompatible-pointer-types]
375 | neighbours_loops [] = {neighbours_loop};
| ^~~~~~~~~~~~~~~
astropy_healpix/_core.c:375:47: note: (near initialization for
‘neighbours_loops[0]’)
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: *** [debian/rules:18: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---