Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469654 - dev-python/pypy-2.0_beta2 fails unconditionally with sqlite disabled
Summary: dev-python/pypy-2.0_beta2 fails unconditionally with sqlite disabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-13 06:46 UTC by René 'Necoro' Neumann
Modified: 2013-05-13 18:19 UTC (History)
1 user (show)

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 René 'Necoro' Neumann 2013-05-13 06:46:11 UTC
When compiled with USE=-sqlite, dev-python-2.0_beta2 fails unconditionally. This is due to the following line in src_install:

use sqlite && runpython -c "import _sqlite3" || die "Failed to import _sqlite3"

The line should read:

use sqlite && { runpython -c "import _sqlite3" || die "Failed to import _sqlite3"; }

To see that this line is indeed wrong,
necoro@Zakarumiy ~ % bash
necoro@Zakarumiy ~ $ false && true || echo "dying"
dying
necoro@Zakarumiy ~ $ false && { true || echo "dying"; }
necoro@Zakarumiy ~ $
Comment 1 Mike Gilbert gentoo-dev 2013-05-13 18:19:21 UTC
Thanks for the report.

+  13 May 2013; Mike Gilbert <floppym@gentoo.org> pypy-2.0_beta2.ebuild:
+  Fix build with sqlite disabled, bug 469654 by René 'Necoro' Neumann.