From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3144D158128 for ; Mon, 16 Jun 2025 07:11:22 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 25BF3342844 for ; Mon, 16 Jun 2025 07:11:22 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7DDF211051A; Mon, 16 Jun 2025 07:10:20 +0000 (UTC) Received: from mailo.com (msg-3.mailo.com [213.182.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2F7A71104D9 for ; Mon, 16 Jun 2025 07:10:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=netc.eu; s=mailo; t=1750057815; bh=oQXW9a5Jkm/q2K3enD4tmDfhckFnn9wSmWTXysmJN5A=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:In-Reply-To:References: X-Mailer:MIME-Version:Content-Type:Content-Transfer-Encoding; b=T6Vlkyz0xuNfHsRSUZAtt1mpI6FpO6FTayQA9KWGrQqGbB0ueP9QEjnMJ7Yq4C9eg 3zrsjAun12kl+f/33caaGJhaNsdj/i45ofUiQyj6ajtwB4vbiWWTUkDhL2Vo0HOOGV NGbCraOGeeSNPNE5G6AwgMqMEkzQmFnKsxnvS0Yo= Received: by b221-6.in.mailobj.net [192.168.90.26] with ESMTP via ip-20.mailobj.net [213.182.54.20] Mon, 16 Jun 2025 09:10:14 +0200 (CEST) X-EA-Auth: Yz2CXA2qFW0jhYOlfm1h3wfKMAFyNW5/4Aq+9Jh50YFGcB5mabX2JZ94Jh4DauKsjvyuSVhMaRdyh3fAUAlV/ur73QEFOiXI Date: Mon, 16 Jun 2025 09:10:12 +0200 From: netfab To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gtk+ upgrade fails Message-ID: <20250616091012.5d7a02bc@coreI5.home> In-Reply-To: References: X-Mailer: Claws Mail 4.3.0 (GTK 3.24.48; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 73a8458a-df43-4e7e-a276-08fe6fdf02c0 X-Archives-Hash: cde955789723873b13f0f0c63d26f2bb Hi, Le 16/06/25 =C3=A0 08:38, Philip Webb a tapot=C3=A9 : > can anyone offer advice ? >=20 The error which causes the build failure : > Traceback (most recent call last): > File "/usr/bin/g-ir-scanner", line 99, in > from giscanner.utils import dll_dirs > File "/usr/lib64/gobject-introspection/giscanner/utils.py", line 385, > in 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.