File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py", line 298, in _parse cc = CCompiler(compiler_name=self._compiler) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/gobject-introspection/giscanner/ccompiler.py", line 175, in __init__ compiler_name = distutils.ccompiler.get_default_compiler() ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'distutils' has no attribute 'ccompiler'. Did you mean: 'compilers'? ninja: build stopped: subcommand failed. * ERROR: dev-libs/libjcat-0.2.2::gentoo failed (compile phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_systemd-20250306-135502 UNMASKED: [ffmpeg] Requested by sam =media-video/ffmpeg-7* The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang version 20.1.0 llvm-config: 20.1.0 Python 3.12.9 go version go1.24.0 linux/amd64 Available Ruby profiles: [1] ruby32 (with Rubygems) * Available Rust versions: [1] rust-bin-1.85.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm HEAD of ::gentoo commit d01e7a5ec1e20450c62b2b1f6801485bf26543a7 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Mar 9 03:48:28 2025 +0000 2025-03-09 03:48:27 UTC emerge -qpvO =dev-libs/libjcat-0.2.2 [ebuild N ] dev-libs/libjcat-0.2.2 USE="ed25519 gpg introspection man pkcs7 -gtk-doc -test -vala"
Created attachment 920405 [details] emerge-info.txt
Created attachment 920406 [details] dev-libs:libjcat-0.2.2:20250309-042932.log
Created attachment 920407 [details] emerge-history.txt
Created attachment 920408 [details] environment
Created attachment 920409 [details] etc.clang.tar.xz
Created attachment 920410 [details] etc.portage.tar.xz
Created attachment 920411 [details] logs.tar.xz
Created attachment 920412 [details] qlist-info.txt.xz
Created attachment 920413 [details] temp.tar.xz
Not the same issue but it has background information on this area of distutils getting changed in setuptools-75.9.0. https://github.com/pypa/setuptools/issues/4866 https://github.com/pypa/distutils/pull/295
As a heads-up this same issue seems to affect dev-libs/gobject-introspection-1.82.0-r2 as well as dev-libs/json-glib-1.10.6 which in turn makes me suspect it will shop up in other places using g-ir-scanner, too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07bd8814d5e62dd3958aab1be6cd9f013a5ffbad commit 07bd8814d5e62dd3958aab1be6cd9f013a5ffbad Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-09 17:07:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-09 17:08:51 +0000 profiles: mask new setuptools Breaks distutils.ccompiler with a lot of fallout. bug #950978 and many others. Included preemptive 76.0.0 mask as it doesn't seem to fix any of this. Closes: https://bugs.gentoo.org/950978 Closes: https://bugs.gentoo.org/950981 Closes: https://bugs.gentoo.org/950982 Closes: https://bugs.gentoo.org/950983 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 10 ++++++++++ 1 file changed, 10 insertions(+)
*** Bug 951055 has been marked as a duplicate of this bug. ***