Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475370 - sys-libs/tdb: Fails to build with USE="-python" and empty PYTHON_TARGETS
Summary: sys-libs/tdb: Fails to build with USE="-python" and empty PYTHON_TARGETS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 00:50 UTC by Jonathan Callen (RETIRED)
Modified: 2021-07-21 01:27 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tdb-1.2.12-r1.ebuild.patch (file_475370.txt,579 bytes, patch)
2013-07-01 00:50 UTC, Jonathan Callen (RETIRED)
Details | Diff
tdb-1.3.0-r1.ebuild.patch (tdb-1.3.0-r1.ebuild.patch,858 bytes, patch)
2014-11-11 21:42 UTC, Nikoli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.