Bug#1145848: Bug #1145858: Patch available at Salsa

Rafael Laboissière rafael at debian.org
Sun Aug 30 13:20:18 BST 2026


Control: tags -1 + patch upstream

Hi,

The current issue is due to the removal of the Python 2 compatibility macros in version 4.5.0 of SWIG. [1] According to the SWIG authors, these macros were retained in the generated code (pyhead.swg) solely for user typemaps. All typemap using these macros are updated to call the Python 3 C API directly. .

I have submitted a patch to fix the FTBFS issue as a merge request at Salsa. [2]

Note that there is currently a pull request in the upstream Git repository related to the current issue (PR #2391 [3]).

Best,

Rafael

[1] https://github.com/swig/swig/commit/79f7a2b7cb7ddc256eba09c8770133148025171d
[2] https://salsa.debian.org/debian/openscap/-/merge_requests/2
[3] https://github.com/OpenSCAP/openscap/pull/2391/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-with-swig-4.5.0.patch
Type: text/x-diff
Size: 2263 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260830/8a253604/attachment-0001.patch>


More information about the debian-science-maintainers mailing list