python3-numpysane 0.41-4 FTBFS

Bug #2071467 reported by Pushkar Kulkarni
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-numpysane (Ubuntu)

Bug Description

This is due to a compilation failure of build-time tests [1]. This is also reported in reproducibility testing on Debian [2].


make test3
make[2]: Entering directory '/<<PKGBUILDDIR>>'
./test/ > test/testlib_pywrap_GENERATED.c
cc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/python-numpysane-0.41-4 -g -Wno-missing-field-initializers -fno-strict-overflow -Wsign-compare -DNDEBUG -g -Wall -fPIC -I/usr/include/python3.12 -Wno-cast-function-type -Wdate-time -D_FORTIFY_SOURCE=3 -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.


This bug was originally reported on Debian [3] and a fix was devised upstream [4]. This upstream fix relies on using `pkg-config` to derive the path of the numpy C headers. However, `pkg-config` is not listed as a builddep. And I don't find it installed in a clean oracular chroot. I wasn't able to reproduce this in a local debian/sid chroot.


Related branches

tags: added: update-excuse
Revision history for this message
dima kogan (dkogan-debian-org) wrote :

Fixed in Debian in the 0.41-5 upload

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.