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

Bug 279179

Summary: dev-libs/redland-1.0.8 fails tests with berkdb disabled
Product: Gentoo Linux Reporter: David Leverton <levertond>
Component: [OLD] LibraryAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: redland-1.0.8.ebuild.patch

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