Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924390 - Regression in dev-util/trace-cmd-3.2-r2: _python_export called without a python implementation and EPYTHON is unset
Summary: Regression in dev-util/trace-cmd-3.2-r2: _python_export called without a pyth...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-12 22:38 UTC by Daniel M. Weeks
Modified: 2024-02-26 15:58 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2024-02-12 22:38:02 UTC
It looks like this change is missing a condition for calling python_install.

When USE=-python (and PYTHON_SINGLE_TARGET="python3_11"):

 * ERROR: dev-util/trace-cmd-3.2-r2::gentoo failed (install phase):
 *   _python_export called without a python implementation and EPYTHON is unset
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 3108:  Called python_install
 *   environment, line 2910:  Called python_get_sitedir
 *   environment, line 2886:  Called _python_export 'PYTHON_SITEDIR'
 *   environment, line  675:  Called die
 * The specific snippet of code:
 *                   die "_python_export called without a python implementation and EPYTHON is unset";
 *
 * If you need support, post the output of `emerge --info '=dev-util/trace-cmd-3.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/trace-cmd-3.2-r2::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-util/trace-cmd-3.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-util/trace-cmd-3.2-r2/temp/environment'.
 * Working directory: '/tmp/portage/dev-util/trace-cmd-3.2-r2/work/trace-cmd-v3.2'
 * S: '/tmp/portage/dev-util/trace-cmd-3.2-r2/work/trace-cmd-v3.2'

Reproducible: Always
Comment 1 Daniel M. Weeks 2024-02-26 15:57:15 UTC
Looks like this may have been fixed in https://github.com/gentoo/gentoo/commit/16fae37dc8d5ec25fb8e95e1d2541755687ae0bd