#1067335 gnucap-python: FTBFS: _gnucap_swig.cxx:4535:10: fatal error: numpy/arrayobject.h: No such file or directory #1067335
- Package:
- src:gnucap-python
- Source:
- src:gnucap-python
- Submitter:
- Lucas Nussbaum
- Date:
- 2026-10-05 15:25:02 UTC
- Severity:
- normal
- Tags:
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): 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.
user debian-python@lists.debian.org usertags 1067335 python3.15 tags 1067335 patch thanks Hi! While rebuilding the python related packages against the Python 3.15rc2 version I ran into this FTBFS [1]. To get the package back to building, I had to apply a number of changes: - Add setuptools build-dependency - Migrate to use autoconf-archive - Add upstream patch cd5df1dd: ask python where numpy is [2] - Add upstream patch b03e4d12: ignore python minor version in test result comparison [3] - Add upstream patch 237d7001: update for swig 4.3 [4] - Add upstream patch 75e419d6: bump test results [5] - Dropped obsolete build-deps: g++8 and python I've applied these fixes in the sandbox [6] to verify that it builds successfully, these should be applied in Debian to get the package back to a healthy state. Also, I noticed that there's a 0.0.6 release from 2020 and that the work has continued in Git "develop" branch without releases after that. I'm not sure how useful this package is, given how outdated it is right now, it might be worth updating to the latest git version. Happy hacking, [1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4587723/ [2]: https:// codeberg .org/gnucap/gnucap-python/commit/cd5df1dd6f8cd18faf9b994d4e4655015149be48 [3]: https:// codeberg .org/gnucap/gnucap-python/commit/b03e4d12d7e9387910abad6f27daaa68fcdf4287 [4]: https:// codeberg .org/gnucap/gnucap-python/commit/237d700162d70cea931fa2758c6157cd1431438f [5]: https:// codeberg .org/gnucap/gnucap-python/commit/75e419d68c6c9531ed64f02c29ee44b236ff3a7f [6]: https://debusine.debian.net/debian/r-python-python3.15/
Thanks for raising this. Indeed the package has been neglected. The latest work is in the develop branch and from 20250731. Nearly all commits there relate to synchronisation with the main package [1]. To get this back to working in Debian: the last Gnucap release (snapshot) was on 20260729 [2]. It should be dealt with first. I did not manage to get the necessary permissions to upload anything (some time ago). There are rearrangements in Gnucap that will have to be addressed in a future package. To move on with gnucap-python .. we have funding (NLnet), but no developper. Best wishes felix [1] https://codeberg.org/gnucap/gnucap-python [2] https://codeberg.org/gnucap/gnucap/releases
We believe that the bug you reported is fixed in the latest version of
gnucap-python, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1067335@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Maximiliano Curia <maxy@debian.org> (supplier of updated gnucap-python package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 05 Oct 2026 17:03:15 +0200
Source: gnucap-python
Architecture: source
Version: 0.0.2-1.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Closes: 1067335 1148907
Changes:
gnucap-python (0.0.2-1.3) unstable; urgency=medium
.
* Non-maintainer upload.
* Use autoconf-archive instead of a deprecated ac_python_devel.m4
* Add backport of upstream patch cd5df1d to support numpy 2
(Closes: #1148907)
* Add backport of upstream changes to support swig 4.3
(Closes: #1067335)
* Add backport of upstream changes fc21b40 and 3806fca, to
fix SONAME detection in configure and ax_soname.m4
Checksums-Sha1:
8df11fde883a27f6e3640fa0b9239c544acd3399 2250 gnucap-python_0.0.2-1.3.dsc
42735635d3401e775f6d8b300a3d57fd2b6b2a00 11260 gnucap-python_0.0.2-1.3.debian.tar.xz
94a72a6e9c599ade7236499388bda58080345e63 8130 gnucap-python_0.0.2-1.3_source.buildinfo
Checksums-Sha256:
56e9ef98eecf8bd5110bafc21559a0c70a23794f5ad9007246498f2c319b1956 2250 gnucap-python_0.0.2-1.3.dsc
526de72f27f65d92c22f3b3b9dcede7feae0637b7948f61bdc3cc10c71ddce01 11260 gnucap-python_0.0.2-1.3.debian.tar.xz
4f7a2eebdc028e2403db06de7f81c50d9fd48e6ee7be1d7d1f3ff0af79bb4586 8130 gnucap-python_0.0.2-1.3_source.buildinfo
Files:
53faae3d882890cf3ee75728be2ab091 2250 electronics optional gnucap-python_0.0.2-1.3.dsc
928aeaf099847d70f1ad4e638b1ffe72 11260 electronics optional gnucap-python_0.0.2-1.3.debian.tar.xz
c2b2bbf207c15d210f47462ed4dc2b0f 8130 electronics optional gnucap-python_0.0.2-1.3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrDvNcACgkQxxl2mbKb
Iyr1JA/+JqVBuJXClYnju+v6WCBSRUGq5hGMSkIFhq1JLIyI+kEboPfKX2mEZUGz
Dwb6JcIPHnZIDXScWTW2HFja0ir39+kdLfvAi1AgzvUf/2DOF5cg+5YkW68QOMcv
JJEe/wbK+SPv++PT08i6pLO9YvXQA+Tuz+UzKERYea/wyHBIlUzJRAkU23TA1Y+U
gX7Ksy5gjIhiLa+ZMPihDTK4ytSa6gisi8ywMWkRlgHEOZrOCyV0iZlWzKOy96XJ
GycV7Q+47Wa1aKq2H1ql/7eFQdryeLSbtAhdUNSej3dZCrQpY7eqjYKNqYY7t3CI
tcjsB18e5o6wj9j6aeBHeypsQmOo+ZzVCOoaFgaqLUTq1VVMWnJWRSYs3GajzSYL
RHNcmpJQ/9nQBuCzhnj6oANqgw8yhM74d8Opx+EsTfqciUwv++NFcM99M2AwZhoq
Ij+HoWFUntvqOW4ldBKdlXol3T5aIGZmjZeQgrcfMuaAoHzNbrhL3b5GNkGj/GTd
ozEe/zZHLG3YZgbIkK2h+NRXxHSaLin7m6rsj2g5/wiux9vo9o+0/wknlHSJx4fR
S5Z2QSsZ5hDvaayhSIeM0LqeB/IDSDKNOnsL+bR/W63IRPWdcJGXLhpbFPyaVGsN
lTLh9pftNYdz6atjSXxVvFLKRRNSG5jjlytPh2QfD9SmZnNrhuw=
=R0nX
-----END PGP SIGNATURE-----