Package: src:python-numpysane
Version: 0.40-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
WARNING: '.' not a valid package name; please use only .-separated package 
names in setup.py
running config
I: pybuild base:311: python3.11 setup.py config
WARNING: '.' not a valid package name; please use only .-separated package 
names in setup.py
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make README README-pywrap
make[2]: Entering directory '/<<PKGBUILDDIR>>'
python3 extract_README.py numpysane README.org README README.footer.org
python3 extract_README.py numpysane_pywrap README-pywrap.org README-pywrap 
README.footer.org
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:311: /usr/bin/python3.12 setup.py build
WARNING: '.' not a valid package name; please use only .-separated package 
names in setup.py
running build
running build_py
copying numpysane.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpysane/build
copying numpysane_pywrap.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpysane/build
copying extract_README.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpysane/build
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpysane/build/pywrap-templates
copying pywrap-templates/pywrap_module_footer_generic.c -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpysane/build/pywrap-templates
copying pywrap-templates/pywrap_function_generic.c -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpysane/build/pywrap-templates
copying pywrap-templates/pywrap_module_header.c -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_numpysane/build/pywrap-templates
I: pybuild base:311: /usr/bin/python3 setup.py build
WARNING: '.' not a valid package name; please use only .-separated package 
names in setup.py
running build
running build_py
copying numpysane.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpysane/build
copying numpysane_pywrap.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpysane/build
copying extract_README.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpysane/build
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpysane/build/pywrap-templates
copying pywrap-templates/pywrap_module_footer_generic.c -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpysane/build/pywrap-templates
copying pywrap-templates/pywrap_function_generic.c -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpysane/build/pywrap-templates
copying pywrap-templates/pywrap_module_header.c -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_numpysane/build/pywrap-templates
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make test3
make[2]: Entering directory '/<<PKGBUILDDIR>>'
./test/genpywrap.py > test/testlib_pywrap_GENERATED.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g 
-Wno-missing-field-initializers -Wsign-compare -DNDEBUG -g -fwrapv -Wall -g 
-Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -fPIC -I/usr/include/python3.11 
-Wno-cast-function-type -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
test/testlib_pywrap_GENERATED.o test/testlib_pywrap_GENERATED.c
test/testlib_pywrap_GENERATED.c:24:10: fatal error: numpy/arrayobject.h: No 
such file or directory
   24 | #include <numpy/arrayobject.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [<builtin>: test/testlib_pywrap_GENERATED.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to