Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490778 - sys-apps/util-linux-2.24: Fails to build with USE=-python and empty PYTHON_SINGLE_TARGET
Summary: sys-apps/util-linux-2.24: Fails to build with USE=-python and empty PYTHON_SI...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-08 20:46 UTC by Jonathan Callen (RETIRED)
Modified: 2013-11-09 09:11 UTC (History)
0 users

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 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).
+