[Debian-on-mobile-maintainers] Bug#1146589: s2geometry: FTBFS against python 3.14 and 3.15rc1
Maximiliano Curia
maxy at debian.org
Thu Sep 3 16:15:36 BST 2026
Package: src:s2geometry
Version: 0.10.0-6
User: debian-python at lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: serious
Hi!
While rebuilding the python related packages against the Python 3.15rc1
version we found that s2geometry fails to build from source [1]. And it
also fails on Debian buildds, as it fails for 3.14 as well [2].
One of the many errors:
/build/reproducible-path/s2geometry-0.10.0/.pybuild/cpython3_3.14/build/python/CMakeFiles/_pywraps2.dir/s2PYTHON_wrap.cxx:18298:9:
error: ‘SWIG_Python_TypeError’ was not declared in this scope; did you
mean ‘SWIG_Python_TypeQuery’?
As upstream points out in its fix SWIG_Python_TypeError was removed in
SWIG 4.4, so the .i file needs to be updated.
I applied the upstream fix [4] in the sandbox [3] to be able to build the packages
that depend on s2geometry, please consider applying the patch to support
the upcoming 3.15 version.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4243268/
[2]: https://buildd.debian.org/status/fetch.php?pkg=s2geometry&arch=amd64&ver=0.10.0-6.1%2Bb2&stamp=1711976885&raw=0
[3]: https://debusine.debian.net/debian/r-python-python3.15/
[4]: https://github.com/google/s2geometry/issues/487
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-SWIG-Ensure-SWIG-4.4-compatibility.patch
Type: text/x-diff
Size: 2186 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20260903/ce461db5/attachment.patch>
More information about the Debian-on-mobile-maintainers
mailing list