Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931772 - dev-lang/python-3.13.0_beta1_p1[jit] invalid get_target value: 'x86_64-pc-linux-musl'
Summary: dev-lang/python-3.13.0_beta1_p1[jit] invalid get_target value: 'x86_64-pc-lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-05-11 19:18 UTC by ktoupt
Modified: 2024-05-31 00:38 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,88.87 KB, text/x-log)
2024-05-11 19:18 UTC, ktoupt
Details
emerge --info (info.txt,7.26 KB, text/plain)
2024-05-11 19:18 UTC, ktoupt
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)