Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912437 - dev-libs/glib-2.76.4 - ../.../meson.build: ERROR: <PythonExternalProgram python3 -> [/var/tmp/portage/dev-libs/glib-2.76.4/temp/py
Summary: dev-libs/glib-2.76.4 - ../.../meson.build: ERROR: <PythonExternalProgram pyth...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 07:12 UTC by Toralf Förster
Modified: 2023-10-03 16:14 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.86 KB, text/plain)
2023-08-18 07:12 UTC, Toralf Förster
Details
dev-libs:glib-2.76.4:20230818-020105.log (dev-libs:glib-2.76.4:20230818-020105.log,18.56 KB, text/plain)
2023-08-18 07:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,20.16 KB, text/plain)
2023-08-18 07:12 UTC, Toralf Förster
Details
environment (environment,158.44 KB, text/plain)
2023-08-18 07:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-08-18 07:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,10.17 KB, application/x-xz)
2023-08-18 07:12 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,20.01 KB, application/x-xz)
2023-08-18 07:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,37.20 KB, application/x-xz)
2023-08-18 07:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-18 07:12:46 UTC
Checking for function "getxattr" : YES 
Has header "sys/xattr.h" : YES 
Checking if "XATTR_NOFOLLOW" compiles: NO 
Checking for function "strlcpy" : NO 
Checking if "/proc/self/cmdline" runs: YES

../glib-2.76.4/meson.build:2276:26: ERROR: <PythonExternalProgram 'python3' -> ['/var/tmp/portage/dev-libs/glib-2.76.4/temp/python3.12/bin/python3']> is not a valid python or it is missing distutils

A full log can be found at /var/tmp/portage/dev-libs/glib-2.76.4/work/glib-2.76.4-abi_x86_64.amd64/meson-logs/meson-log.txt

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20230817-093246

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
 [2] x86_64-pc-linux-gnu-13
clang/llvm (if any):
clang version 16.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.5+libcxx
Python 3.11.4
php cli (if any):

  HEAD of ::gentoo
commit 9b3a7f33e4fa39a5f3c7355066ff8aaa2b4377d4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 17 09:31:36 2023 +0000

    2023-08-17 09:31:35 UTC

emerge -qpvO dev-libs/glib
[ebuild  N    ] dev-libs/glib-2.76.4  USE="elf mime xattr -dbus -debug -gtk-doc (-selinux) -static-libs -sysprof -systemtap -test -utils" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-08-18 07:12:47 UTC
Created attachment 868128 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-18 07:12:48 UTC
Created attachment 868129 [details]
dev-libs:glib-2.76.4:20230818-020105.log
Comment 3 Toralf Förster gentoo-dev 2023-08-18 07:12:49 UTC
Created attachment 868130 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-08-18 07:12:50 UTC
Created attachment 868131 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-08-18 07:12:51 UTC
Created attachment 868132 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-18 07:12:52 UTC
Created attachment 868133 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-18 07:12:52 UTC
Created attachment 868134 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-08-18 07:12:53 UTC
Created attachment 868135 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2023-08-18 10:52:07 UTC
The bug has been referenced in the following commit(s):

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

commit 8dfad705738e62c917c2fb29fbc08d364d0d1d52
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-18 10:50:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-18 10:50:55 +0000

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

 dev-libs/glib/glib-2.76.3.ebuild | 2 +-
 dev-libs/glib/glib-2.76.4.ebuild | 2 +-
 dev-libs/glib/glib-2.77.1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2023-10-03 16:14:09 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(+)