Bug#1148468: gobject-introspection: FTBFS against python 3.15rc2 as default

Maximiliano Curia maxy at debian.org
Sat Sep 19 21:22:13 BST 2026


Package: src:gobject-introspection
Version: 1.86.0-6
User: debian-python at lists.debian.org
Usertags: python3.15-default
Tags: patch, ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2
default version we found that gobject-introspection fails to build from
source [1].

It fails with this error in the test_ccompiler.py test:

Ex86_64-linux-gnu-gcc: fatal error: cannot execute 'cc1': posix_spawnp: No such file or directory

Apparently this is due to a deprecation in setuptools. I've solved it
with a patch that uses CCompiler.call instead of spawn.

I've applied this fix in the sandbox [2] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version.

Setting the severity to important for now. Once Python 3.15 becomes the
default version this bug will become release critical.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4716542/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

-- 
"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: tests-Mock-CCompiler.call-if-available.patch
Type: text/x-diff
Size: 1372 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20260919/89b03b87/attachment.patch>


More information about the pkg-gnome-maintainers mailing list