Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 446612

Summary: sys-libs/libieee1284-0.2.11-r2 should DEPEND on dev-lang/python-2*
Product: Gentoo Linux Reporter: Elfenbein, Karsten <karsten.elfenbein>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Elfenbein, Karsten 2012-12-09 16:21:54 UTC
To build the package it needs to have dev-lang/python-2* installed before setting that version to active.


 * Package:    sys-libs/libieee1284-0.2.11-r2
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        amd64 consolekit elibc_glibc kernel_linux multilib policykit userland_GNU
 * FEATURES:   sandbox
 * ERROR: sys-libs/libieee1284-0.2.11-r2 failed (setup phase):
 *   python_set_active_version(): '=dev-lang/python-2*' is not installed
 * 
 * Call stack:
 *                      ebuild.sh, line  93:  Called pkg_setup
 *   libieee1284-0.2.11-r2.ebuild, line  29:  Called python_set_active_version '2'
 *                  python.eclass, line 1746:  Called die
 * The specific snippet of code:
 *                              die "${FUNCNAME}(): '=dev-lang/python-2*' is not installed"
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/libieee1284-0.2.11-r2'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/libieee1284-0.2.11-r2'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/libieee1284-0.2.11-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libieee1284-0.2.11-r2/temp/die.env'.
 * Working directory: '/var/tmp/portage/sys-libs/libieee1284-0.2.11-r2'
 * S: '/var/tmp/portage/sys-libs/libieee1284-0.2.11-r2/work/libieee1284-0.2.11'
Comment 1 Mark Huijgen 2012-12-20 10:59:34 UTC
Actually it compiles fine without python2 here, it just should not call 'python_set_active_version 2' in pkg_setup if useflag python is off.

I tested this by removing python_set_active_version from the ebuild and compiling it. (I dont have python2 installed on my system, only python 3.2).

So it should NOT depend on python-2 imo.
Comment 2 SpanKY gentoo-dev 2012-12-21 03:46:07 UTC
should be all set now in the tree; thanks for the report!

Commit message: Only setup python when USE=python
http://sources.gentoo.org/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild?r1=1.6&r2=1.7