Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507772 - media-libs/alsa-lib-1.0.27.2 should set REQUIRED_USE for python-single-r1.eclass
Summary: media-libs/alsa-lib-1.0.27.2 should set REQUIRED_USE for python-single-r1.eclass
Status: RESOLVED DUPLICATE of bug 509308
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-04-16 00:38 UTC by Alexander Sulfrian
Modified: 2014-06-23 22:25 UTC (History)
0 users

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


Attachments
Patch fixing the problem. (alsa-lib-1.0.27.2.patch,392 bytes, patch)
2014-04-16 00:40 UTC, Alexander Sulfrian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Sulfrian 2014-04-16 00:38:25 UTC
media-libs/alsa-lib-1.0.27.2 does not declare REQUIRED_USE for the python-single-r1 eclass. This leads to errors during emerge it no matching PYTHON_SINGLE_TARGET is defined. If REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" would be added, the error would be generated before during dependency calculation.

Reproducible: Always

Steps to Reproduce:
1. Set PYTHON_SINGLE_TARGET="python3_3" in make.conf.
2. emerge -av1 media-libs/alsa-lib
3. Obverse the error, after starting emerge.
Actual Results:  
 * 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: media-libs/alsa-lib-1.0.27.2::gentoo failed (setup phase):
 *   No supported Python implementation in PYTHON_SINGLE_TARGET.
 * 
 * Call stack:
 *                  ebuild.sh, line  93:  Called pkg_setup
 *   alsa-lib-1.0.27.2.ebuild, line  30:  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."

Expected Results:  
Emerge should emit a use flag error during dependency calculation.
Comment 1 Alexander Sulfrian 2014-04-16 00:40:52 UTC
Created attachment 375042 [details, diff]
Patch fixing the problem.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-06-23 22:24:15 UTC

*** This bug has been marked as a duplicate of bug 509308 ***
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-06-23 22:25:28 UTC
Sorry, I see you filed the first but, and I've mistakenly used 509308, since I didn't order the bug list by number. 

So... Thanks!