public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: netfab <netbox253@netc.eu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gtk+ upgrade fails
Date: Mon, 16 Jun 2025 09:10:12 +0200	[thread overview]
Message-ID: <20250616091012.5d7a02bc@coreI5.home> (raw)
In-Reply-To: <aE-75tigcIWsmd_C@ca.inter.net>

Hi,

Le 16/06/25 à 08:38, Philip Webb a tapoté :
> can anyone offer advice ?
> 

The error which causes the build failure :
> Traceback (most recent call last):
>  File "/usr/bin/g-ir-scanner", line 99, in <module>
>    from giscanner.utils import dll_dirs
>  File "/usr/lib64/gobject-introspection/giscanner/utils.py", line 385,
> in <module> import distutils.cygwinccompiler
> ModuleNotFoundError: No module named 'distutils'

As you can see, that's a python problem.

The build log also indicates that is uses python3.12 in several places :
> /usr/bin/python3.12

Your emerge --info :

> dev-lang/python:    3.12.7_p1::gentoo, 3.13.3_p2::gentoo

Why do you have two versions of python ?
Have you finished the python 3.13 migration ?
Why does it use by default python 3.12 instead of 3.13 ?

I suspect that if you set python 3.13 as the default python
interpreter on your system, the gtk build system will find the
'distutils' module, and the build will succeeds.

You should check that your system is up-to-date and you should fully
upgrade to python 3.13.




  reply	other threads:[~2025-06-16  7:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-16  6:38 [gentoo-user] gtk+ upgrade fails Philip Webb
2025-06-16  7:10 ` netfab [this message]
2025-06-16  7:49   ` Philip Webb
2025-06-16  9:17     ` netfab
2025-06-16 16:14       ` [gentoo-user] gtk+ upgrade fails : solved Philip Webb
2025-06-16 19:07         ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250616091012.5d7a02bc@coreI5.home \
    --to=netbox253@netc.eu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox