Public bug reported:

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/genpywrap.py > 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.

[1] 
https://launchpadlibrarian.net/737055431/buildlog_ubuntu-oracular-amd64.python-numpysane_0.41-4_BUILDING.txt.gz
[2] 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-numpysane.html
[3] https://bugs.debian.org/1071338
[4] 
https://github.com/dkogan/numpysane/commit/062fa5ae35b7fe6d00e719e6f90ca08aff6eb7d7

** Affects: python-numpysane (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2071467

Title:
  python3-numpysane 0.41-4 FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-numpysane/+bug/2071467/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to