[Debian-astro-maintainers] Bug#1096336: astroscrappy: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:04:00 GMT 2025


Package: src:astroscrappy
Version: 1.2.0-1
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/astroscrappy_1.2.0-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
copying astroscrappy/tests/test_gmos.py -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/tests
copying astroscrappy/tests/test_astroscrappy.py -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/tests
creating /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
copying astroscrappy/utils/setup_package.py -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
copying astroscrappy/utils/__init__.py -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
running egg_info
writing astroscrappy.egg-info/PKG-INFO
writing dependency_links to astroscrappy.egg-info/dependency_links.txt
writing requirements to astroscrappy.egg-info/requires.txt
writing top-level names to astroscrappy.egg-info/top_level.txt
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'astroscrappy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'LICENSE.rst'
warning: no files found matching 'astroscrappy/tests/coveragerc'
warning: no previously-included files matching 'astroscrappy.c' found under directory '.'
warning: no files found matching '*' under directory 'scripts'
no previously-included directories found matching 'build'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/api'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.o' found anywhere in distribution
adding license file 'licenses/LICENSE.rst'
writing manifest file 'astroscrappy.egg-info/SOURCES.txt'
copying astroscrappy/_compiler.c -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy
copying astroscrappy/astroscrappy.c -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy
copying astroscrappy/astroscrappy.pyx -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy
creating /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/tests/data
copying astroscrappy/tests/data/gmos.fits -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/tests/data
copying astroscrappy/utils/image_utils.pyx -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
copying astroscrappy/utils/imutils.c -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
copying astroscrappy/utils/imutils.h -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
copying astroscrappy/utils/median_utils.pxd -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
copying astroscrappy/utils/median_utils.pyx -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
copying astroscrappy/utils/medutils.c -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
copying astroscrappy/utils/medutils.h -> /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/utils
running build_ext
building 'astroscrappy.astroscrappy' extension
creating build/temp.linux-x86_64-cpython-313/astroscrappy
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/astroscrappy-1.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -I/usr/include/python3.13 -c astroscrappy/astroscrappy.c -o build/temp.linux-x86_64-cpython-313/astroscrappy/astroscrappy.o
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/astroscrappy-1.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-313/astroscrappy/astroscrappy.o -L/usr/lib/x86_64-linux-gnu -o /build/reproducible-path/astroscrappy-1.2.0/.pybuild/cpython3_3.13_astroscrappy/build/astroscrappy/astroscrappy.cpython-313-x86_64-linux-gnu.so
building 'astroscrappy.utils.median_utils' extension
creating build/temp.linux-x86_64-cpython-313/astroscrappy/utils
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/astroscrappy-1.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -Iastroscrappy/utils -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -I/usr/include/python3.13 -c astroscrappy/utils/median_utils.c -o build/temp.linux-x86_64-cpython-313/astroscrappy/utils/median_utils.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/astroscrappy-1.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fopenmp -fopenmp
In file included from astroscrappy/utils/median_utils.c:1279:
astroscrappy/utils/medutils.h:19:17: error: two or more data types in declaration specifiers
   19 | typedef uint8_t bool;
      |                 ^~~~
astroscrappy/utils/medutils.h:19:1: warning: useless type name in empty declaration
   19 | typedef uint8_t bool;
      | ^~~~~~~
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.12 3.13" returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list