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

Bug 924390

Summary: Regression in dev-util/trace-cmd-3.2-r2: _python_export called without a python implementation and EPYTHON is unset
Product: Gentoo Linux Reporter: Daniel M. Weeks <dan>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: alex, dan, dlan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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