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.
Created attachment 375042 [details, diff] Patch fixing the problem.
*** This bug has been marked as a duplicate of bug 509308 ***
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!