Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279179 - dev-libs/redland-1.0.8 fails tests with berkdb disabled
Summary: dev-libs/redland-1.0.8 fails tests with berkdb disabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-26 14:51 UTC by David Leverton
Modified: 2009-07-27 17:55 UTC (History)
0 users

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


Attachments
redland-1.0.8.ebuild.patch (redland-1.0.8.ebuild.patch,614 bytes, patch)
2009-07-26 14:52 UTC, David Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Leverton 2009-07-26 14:51:41 UTC
The test suite by default tries to test berkdb functionality, which obviously doesn't work if it's disabled:

lt-rdf_model_test: Testing model cloning
lt-rdf_model_test: Creating new hashes storage
lt-rdf_model_test: Failed to create new hashes storage name test with options hash-type='bdb',dir='.',write='yes',new='yes',contexts='yes'
FAIL: rdf_model_test

This probably also applies to 1.0.9, but I can't test due to bug 279178.
Comment 1 David Leverton 2009-07-26 14:52:11 UTC
Created attachment 199222 [details, diff]
redland-1.0.8.ebuild.patch

Avoid trying to test berkdb if it's disabled.
Comment 2 Wormo (RETIRED) gentoo-dev 2009-07-27 00:20:36 UTC
Thanks for submitting your patch, which sounds like a good approach. Assigning to maintainers.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-07-27 08:01:08 UTC
Does this mean you don't have sys-libs/db installed at all?

Because I can't reproduce this with USE=-berkdb FEATURES=test when it is.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-27 17:55:36 UTC
applied to both .8 and .9