Bug#1145402: Patch on Salsa
Rafael Laboissière
rafael at debian.org
Wed Aug 26 07:42:30 BST 2026
Control: tags -1 + patch
Hi,
The compilation problem is due to the removal of the Python 2 compatibility macros in version 4.5.0. According to the SWIG authors, these macros were retained in the generated code (pyhead.swg) solely for user typemaps. Any typemap using these macros must be updated to call the Python 3 C API directly.
I have proposed a patch via a merge request on Salsa:
https://salsa.debian.org/science-team/ifcopenshell/-/merge_requests/1
Unfortunately, the package still FTBFS on my unstable system, for reasons unrelated to SWIG. At least, the SWIG bindings should build fine with the patch.
Upstream has already released version 0.8.5. I checked their Git repository [1] and it seems that the fix for SWIG 4.5.0 is not yet there.
Best,
Rafael Laboissière
[1] https://github.com/ifcopenshell/ifcopenshell
More information about the debian-science-maintainers
mailing list