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

Bug 475370

Summary: sys-libs/tdb: Fails to build with USE="-python" and empty PYTHON_TARGETS
Product: Gentoo Linux Reporter: Jonathan Callen (RETIRED) <jcallen>
Component: [OLD] UnspecifiedAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: ahipp0, carlphilippreh, nikoli, samba
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=480418
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: tdb-1.2.12-r1.ebuild.patch
tdb-1.3.0-r1.ebuild.patch

Description Jonathan Callen (RETIRED) gentoo-dev 2013-07-01 00:50:45 UTC
Created attachment 352358 [details, diff]
tdb-1.2.12-r1.ebuild.patch

When building sys-libs/tdb[-python,-python_targets_*], the build fails in pkg_setup telling me I have to enable at least one value in PYTHON_TARGETS, even though I explicitly disabled python support.

To fix this issue, the attached patch may be used.
Comment 1 Nikoli 2014-11-11 21:42:50 UTC
Created attachment 389134 [details, diff]
tdb-1.3.0-r1.ebuild.patch
Comment 2 Nikoli 2014-11-11 21:46:40 UTC
Disabling python-single-r1_pkg_setup is bad idea when upstream is using python based build system. In case of tdb build system is not working with python3.3 at all. Attached patch works fine for me.
Comment 3 Mike Gilbert gentoo-dev 2014-11-11 22:28:59 UTC
+  11 Nov 2014; Mike Gilbert <floppym@gentoo.org> tdb-1.3.0-r1.ebuild,
+  tdb-1.3.1.ebuild:
+  Depend on python unconditionally at build time, bug 475370. Patch by Nikoli.