Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506540 - dev-util/systemtap-2.4-r1 should set REQUIRED_USE for PYTHON_SINGLE_TARGET
Summary: dev-util/systemtap-2.4-r1 should set REQUIRED_USE for PYTHON_SINGLE_TARGET
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
: 509310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-02 11:35 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2014-10-23 11:24 UTC (History)
2 users (show)

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


Attachments
emerge --info (einfo,5.21 KB, text/plain)
2014-04-02 11:35 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-04-02 11:35:32 UTC
Created attachment 374082 [details]
emerge --info

Similar to the other PYTHON + REQUIRED_USE bugs I've filed in the past ( bug #490572 for instance )

TL;DR -> PYTHON_SINGLE_TARGET should be pkg_pretend checked, not fail in pkg_setup

Which probably means PYTHON_REQUIRED_USE needs to be declared.


>>> Emerging (4 of 133) dev-util/systemtap-2.4-r1::gentoo
 * systemtap-2.4.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                     [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /usr/src/linux-build
 * Found sources for kernel version:
 *     3.14.0-gentoo
 * Checking for suitable kernel configuration options...                                                         [ ok ]
 * No Python implementation selected for the build. Please set
 * the PYTHON_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 * 
 * python2_7

 * ERROR: dev-util/systemtap-2.4-r1::gentoo failed (setup phase):
 *   No supported Python implementation in PYTHON_SINGLE_TARGET.
 * 
 * Call stack:
 *                 ebuild.sh, line  93:  Called pkg_setup
 *   systemtap-2.4-r1.ebuild, line  35:  Called python-single-r1_pkg_setup
 *   python-single-r1.eclass, line 261:  Called python_setup
 *   python-single-r1.eclass, line 251:  Called die
 * The specific snippet of code:
 *   		die "No supported Python implementation in PYTHON_SINGLE_TARGET."
 *
Comment 1 Mike Gilbert gentoo-dev 2014-04-02 21:05:46 UTC
(In reply to Kent Fredric from comment #0)
> TL;DR -> PYTHON_SINGLE_TARGET should be pkg_pretend checked, not fail in
> pkg_setup

Please do not confuse pkg_pretend with REQUIRED_USE. They are not related.
Comment 2 Sven Wegener gentoo-dev 2014-05-09 19:13:08 UTC
Thanks, commited.
Comment 3 Sven Wegener gentoo-dev 2014-10-23 11:24:25 UTC
*** Bug 509310 has been marked as a duplicate of this bug. ***