Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567082 - net-misc/spice-gtk-0.30-r1: PYTHON_REQUIRED_USE should not be dependant on USE=python
Summary: net-misc/spice-gtk-0.30-r1: PYTHON_REQUIRED_USE should not be dependant on US...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-29 07:21 UTC by Jonathan Callen (RETIRED)
Modified: 2016-05-01 20:11 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 Jonathan Callen (RETIRED) gentoo-dev 2015-11-29 07:21:38 UTC
Because the build process uses python internally, even with USE=-python, REQUIRED_USE should be set to "${PYTHON_REQUIRED_USE}", not "python? ( ${PYTHON_REQUIRED_USE} )".

Otherwise, as written, the ebuild will automatically fail at pkg_setup with an error:

 * 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 python3_4
 * ERROR: net-misc/spice-gtk-0.30-r1::gentoo failed (setup phase):
 *   No supported Python implementation in PYTHON_SINGLE_TARGET/PYTHON_TARGETS.
 
(If PYTHON_SINGLE_TARGET is not set to one of those values for this package).
Comment 1 Matthias Maier gentoo-dev 2016-05-01 20:11:07 UTC
commit ef1aeb3bc83bc827720faebb5be810dca60a29e3
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sun May 1 15:01:12 2016 -0500

    net-misc/spice-gtk: use PYTHON_REQUIRED_USE unconditionally, bug #567082
    
    Package-Manager: portage-2.2.26