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

Bug 640530

Summary: =dev-libs/libbytesize-1.2 fails with unset PYTHON_SINGLE_TARGET
Product: Gentoo Linux Reporter: Kilian <roehner>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kilian 2017-12-10 15:40:33 UTC
The following should be checked beforehand by REQUIRED_USE or something alike, I guess... (packages like sys-libs/libblockdev do it correctly):

>>> Starting pkg_setup
 * 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 python3_5 python3_6


!!! ERROR in dev-libs/libbytesize-1.2::gentoo:
!!! In python_setup at line 3608
!!! No supported Python implementation in PYTHON_SINGLE_TARGET/PYTHON_TARGETS.

!!! Call stack:
!!!    * python_setup (/var/tmp/paludis/dev-libs-libbytesize-1.2/temp/loadsaveenv:3608)
!!!    * python-single-r1_pkg_setup (/var/tmp/paludis/dev-libs-libbytesize-1.2/temp/loadsaveenv:2857)
!!!    * pkg_setup (/var/tmp/paludis/dev-libs-libbytesize-1.2/temp/loadsaveenv:2807)
!!!    * ebuild_f_setup (/usr/libexec/paludis/0/pkg_setup.bash:43)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:675)
!!!    * main (/usr/libexec/paludis/ebuild.bash:698)

diefunc: making ebuild PID 32152 exit with error
die trap: exiting with error.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-02-16 13:19:08 UTC
We no longer use python-single-r1 eclass in =dev-libs/libbytesize-1.2-r1