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

Bug 490778

Summary: sys-apps/util-linux-2.24: Fails to build with USE=-python and empty PYTHON_SINGLE_TARGET
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
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 Jonathan Callen (RETIRED) gentoo-dev 2013-11-08 20:46:58 UTC
Because the util-linux ebuild unconditionally calls python-single-r1_pkg_setup, it fails to build when PYTHON_SINGLE_TARGET is empty, even when USE=-python.

To fix this, add the following pkg_setup() function:

pkg_setup() {
    use python && python-single-r1_pkg_setup
}
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-09 09:11:08 UTC
+  09 Nov 2013; Lars Wendler <polynomial-c@gentoo.org> util-linux-2.24.ebuild:
+  Fixed unconditional call of python-single-r1_pkg_setup (bug #490778).
+