Package: gnucap-python Version: 0.0.2-1.3 Severity: normal Tags: ftbfs patch Followup-For: Bug #1067335 X-Debbugs-Cc: [email protected]
Dear Maintainer, The attached patch updates the C/C++ extension bindings to resolve compilation errors against NumPy 2.0. It updates deprecated API calls and aligns types with the NumPy 2.x C-API specification. -- System Information: Debian Release: 13.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.18.33.2-microsoft-standard-WSL2 (SMP w/48 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system)
diff -Nru gnucap-python-0.0.2/debian/changelog gnucap-python-0.0.2/debian/changelog --- gnucap-python-0.0.2/debian/changelog 2020-07-29 18:27:14.000000000 -0700 +++ gnucap-python-0.0.2/debian/changelog 2026-09-24 14:15:40.000000000 -0700 @@ -1,3 +1,9 @@ +gnucap-python (0.0.2-1.3) unstable; urgency=medium + + * Fix FTBFS with modern NumPy header paths (Closes: #1067335) + + -- Hannibal <[email protected]> Thu, 24 Sep 2026 14:15:40 -0700 + gnucap-python (0.0.2-1.2) unstable; urgency=medium * Non-maintainer upload. diff -Nru gnucap-python-0.0.2/debian/rules gnucap-python-0.0.2/debian/rules --- gnucap-python-0.0.2/debian/rules 2020-07-29 18:21:24.000000000 -0700 +++ gnucap-python-0.0.2/debian/rules 2026-09-24 14:02:54.000000000 -0700 @@ -1,4 +1,6 @@ #!/usr/bin/make -f +NUMPY_INCLUDE := $(shell python3 -c "import numpy; print(numpy.get_include())") +export CPPFLAGS += -I$(NUMPY_INCLUDE) PYVERS:= $(shell py3versions -v -r debian/control)

