Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653886 - x11-drivers/xf86-video-qxl-0.1.5 ebuild does not demand Python, but compilation fails when PYTHON_TARGETS is null
Summary: x11-drivers/xf86-video-qxl-0.1.5 ebuild does not demand Python, but compilati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-23 13:03 UTC by Michał Dec
Modified: 2018-11-01 19:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dec 2018-04-23 13:03:27 UTC
Simply try to do the following:

PYTHON_TARGETS="" emerge -1v =x11-drivers/xf86-video-qxl-0.1.5

Portage will not stop immediately and demand the user to add a missing USE flag like it normally does. Instead it will continue to run the ebuild, but fail at a certains step.

>>> Failed to emerge x11-drivers/xf86-video-qxl-0.1.5, Log file:

>>>  '/var/tmp/portage/x11-drivers/xf86-video-qxl-0.1.5/temp/build.log'

 * Messages for package x11-drivers/xf86-video-qxl-0.1.5:

 * No Python implementation selected for the build. Please set
 * the PYTHON_TARGETS variable in your make.conf to include one
 * of the following values:
 * 
 * python2_7
 * ERROR: x11-drivers/xf86-video-qxl-0.1.5::gentoo failed (setup phase):
 *   No supported Python implementation in PYTHON_SINGLE_TARGET/PYTHON_TARGETS.
 * 
 * Call stack:
 *                 ebuild.sh, line 124:  Called pkg_setup
 *                 ebuild.sh, line 357:  Called python-single-r1_pkg_setup
 *   python-single-r1.eclass, line 562:  Called python_setup
 *   python-single-r1.eclass, line 552:  Called die
 * The specific snippet of code:
 *   		die "No supported Python implementation in PYTHON_SINGLE_TARGET/PYTHON_TARGETS."
Comment 1 Larry the Git Cow gentoo-dev 2018-11-01 19:10:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b727f30e2545cd8747732f139eca26efbbb2282

commit 6b727f30e2545cd8747732f139eca26efbbb2282
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-11-01 19:09:39 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-11-01 19:10:21 +0000

    x11-drivers/xf86-video-qxl: Unconditionally set REQUIRED_USE
    
    Closes: https://bugs.gentoo.org/653886
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)