• Bug#1067335: gnucap-python: FTBFS: _gnucap_swig.cxx:4535:10: fatal erro

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 20 22:20:04 2024
    Source: gnucap-python
    Version: 0.0.2-1.2
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240319 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../gnucap -I.. -I../../include -I/usr/include/python3.12 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -I/usr/include/gnucap -I/usr/lib/python3/dist-packages -DPYTHON_SO=\"/usr/
    lib/x86_64-linux-gnu/\" -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o _md.lo _md.cxx
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../gnucap -I.. -I../../include -I/usr/include/python3.11 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -I/usr/include/gnucap -I/usr/lib/python3/dist-packages -DPYTHON_SO=\"/usr/lib/x86_64-linux-gnu/\" -Wdate-
    time -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c _component.cxx -fPIC -DPIC -o .libs/_component.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../gnucap -I.. -I../../include -I/usr/include/python3.11 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -I/usr/include/gnucap -I/usr/lib/python3/dist-packages -DPYTHON_SO=\"/usr/lib/x86_64-linux-gnu/\" -Wdate-
    time -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c _gnucap_swig.cxx -fPIC -DPIC -o .libs/_gnucap_swig.o
    libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o .libs/garbage.o -L/usr/lib/x86_64-linux-gnu -ldl -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/
    usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-
    linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libgnucap-python.so.0 -o .libs/libgnucap-python.so.0.0.0
    _gnucap_swig.cxx:4535:10: fatal error: numpy/arrayobject.h: No such file or directory
    4535 | #include <numpy/arrayobject.h>
    | ^~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[6]: *** [Makefile:785: _gnucap_swig.lo] Error 1


    The full build log is available from: http://qa-logs.debian.net/2024/03/19/gnucap-python_0.0.2-1.2_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)