| Summary: | gnome-base/libglade should REQUIRED_USE for PYTHON_SINGLE_TARGET | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
| Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info =gnome-base/libglade-2.6.4-r1 | ||
+ 30 Apr 2014; Alexandre Rostovtsev <tetromino@gentoo.org> + libglade-2.6.4-r1.ebuild: + Add PYTHON_REQUIRED_USE to REQUIRED_USE, bug #509172, thanks to Kent Fredric. |
Created attachment 376072 [details] emerge --info =gnome-base/libglade-2.6.4-r1 The misconfiguration of portage useflags should trigger during dependency resolution, not during package setup. I believe using the eclass variable PYTHON_REQUIRED_USE is appropriate here. -- [ebuild U ] gnome-base/libglade-2.6.4-r1:2.0 [2.6.4:2.0] USE="-doc -static-libs {-test}" PYTHON_SINGLE_TARGET="-pypy% -python2_7%" PYTHON_TARGETS="python2_7%* -pypy%" 0 kB -- * Messages for package gnome-base/libglade-2.6.4-r1: * 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 pypy * ERROR: gnome-base/libglade-2.6.4-r1::gentoo failed (setup phase): * No supported Python implementation in PYTHON_SINGLE_TARGET. * * Call stack: * ebuild.sh, line 93: Called pkg_setup * libglade-2.6.4-r1.ebuild, line 37: 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." --