Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931772

Summary: dev-lang/python-3.13.0_beta1_p1[jit] invalid get_target value: 'x86_64-pc-linux-musl'
Product: Gentoo Linux Reporter: ktoupt
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: ktoupt, mzh.amr.3
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36685
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ktoupt 2024-05-11 19:18:04 UTC
Created attachment 892745 [details]
build.log

[ebuild  NS   ] dev-lang/python-3.13.0_beta1_p1 [3.11.9, 3.12.3] USE="ensurepip gdbm jit%* ncurses pgo readline sqlite ssl verify-sig -bluetooth -build -debug -examples -libedit -test -tk -valgrind" LLVM_SLOT="18%*"
Comment 1 ktoupt 2024-05-11 19:18:41 UTC
Created attachment 892746 [details]
emerge --info
Comment 2 Marwan 2024-05-27 05:38:42 UTC
I have the same problem on musl/llvm.
Pay attention to these lines in the `build.log` attachment:

> checking for PEP 11 support tier... configure: WARNING: x86_64-pc-linux-musl/gcc is not supported

> Platform "x86_64-pc-linux-musl" with compiler "gcc" is not supported by the
> CPython core team, see https://peps.python.org/pep-0011/ for more information.
Comment 3 Larry the Git Cow gentoo-dev 2024-05-31 00:38:29 UTC
The bug has been closed via the following commit(s):

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

commit 47556239474aa4a7acf0328a95c6c7de571b9f8b
Author:     Violet Purcell <vimproved@inventati.org>
AuthorDate: 2024-05-15 14:39:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-31 00:37:19 +0000

    profiles: mask dev-lang/python[jit] on musl
    
    As of now, Python does not support the new JIT on musl, see
    https://peps.python.org/pep-0744/#support. While it may still
    theoretically work, musl triples cause the hardcoded target triple
    check to fail.
    
    Closes: https://bugs.gentoo.org/931772
    Signed-off-by: Violet Purcell <vimproved@inventati.org>
    Closes: https://github.com/gentoo/gentoo/pull/36685
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)