Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912397 - gui-libs/vte-common-0.72.2 fails to compile (GLIBC-2.38-SYSTEM): meson.build:170:12: ERROR: <PythonExternalProgram python3 -> python3]> is not a valid python or it is missing distutils
Summary: gui-libs/vte-common-0.72.2 fails to compile (GLIBC-2.38-SYSTEM): meson.build:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-17 09:35 UTC by Agostino Sarubbo
Modified: 2023-10-03 16:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,60.48 KB, text/plain)
2023-08-17 09:35 UTC, Agostino Sarubbo
Details
1-meson-log.txt (1-meson-log.txt,14.71 KB, text/plain)
2023-08-17 09:35 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-08-17 09:35:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gui-libs/vte-common-0.72.2 fails to compile (GLIBC-2.38-SYSTEM).
Discovered on: amd64 (internal ref: glibc2.38_tinderbox)

NOTE:
(GLIBC-2.38-SYSTEM) in the summary means that the bug was found on a machine that runs glibc-2.38 but this bug MAY or MAY NOT BE related to the new libc version
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-17 09:35:31 UTC
Created attachment 868076 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-17 09:35:32 UTC
Created attachment 868077 [details]
1-meson-log.txt

1-meson-log.txt
Comment 3 Jart 2023-08-18 10:41:10 UTC
Changing 

PYTHON_COMPAT=( python3_{10..12} ) to

PYTHON_COMPAT=( python3_{10..11} ) on the ebuild

vte-common builds correctly
Comment 4 Jart 2023-08-18 10:46:18 UTC
Same problem on x11-libs/vte 

Same fix:

Changing 

PYTHON_COMPAT=( python3_{10..12} ) to

PYTHON_COMPAT=( python3_{10..11} ) on the ebuild

vte builds correctly
Comment 5 Larry the Git Cow gentoo-dev 2023-08-18 10:52:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02345e335d511c93f991e50a7dfa3e6521cd8f64

commit 02345e335d511c93f991e50a7dfa3e6521cd8f64
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-18 10:51:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-18 10:51:41 +0000

    gui-libs/vte-common: disable py3.12
    
    See the discussion in bug #911418.
    
    Bug: https://bugs.gentoo.org/911418
    Bug: https://bugs.gentoo.org/912397
    Signed-off-by: Sam James <sam@gentoo.org>

 gui-libs/vte-common/vte-common-0.72.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 Larry the Git Cow gentoo-dev 2023-10-03 16:14:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ad7b00c772c71a74ec42be0bf594ee9198b71c

commit c0ad7b00c772c71a74ec42be0bf594ee9198b71c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-03 16:13:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-03 16:13:51 +0000

    dev-util/meson: backport PEP632 py3.12 fixes, revert bindgen breakage
    
    * Backport PEP632 fixes for Python 3.12
    * Revert bindgen patch on 1.2.x branch which broke Mesa
    
    Closes: https://bugs.gentoo.org/914989
    Closes: https://bugs.gentoo.org/915014
    Closes: https://bugs.gentoo.org/911418
    Closes: https://bugs.gentoo.org/911990
    Closes: https://bugs.gentoo.org/912397
    Closes: https://bugs.gentoo.org/912437
    Closes: https://bugs.gentoo.org/912452
    Closes: https://bugs.gentoo.org/912282
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ndency-ensure-that-setuptools-doesn-t-inj.patch |  39 ++++++
 ...le-stop-using-distutils-schemes-on-suffic.patch |  72 +++++++++++
 ...le-refactor-pypy-detection-into-a-consist.patch |  36 ++++++
 ...le-stop-using-distutils-link-to-libpython.patch |  72 +++++++++++
 ...est-case-to-not-import-distutils-on-pytho.patch |  31 +++++
 ...e-PyPI-metadata-as-supporting-python-3.12.patch |  25 ++++
 ...-apply-global-project-and-environment-C-a.patch | 141 +++++++++++++++++++++
 dev-util/meson/meson-1.2.2-r1.ebuild               | 122 ++++++++++++++++++
 8 files changed, 538 insertions(+)