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

Bug 287164

Summary: app-office/gnucash-2.3.6 with USE="sqlite" depends on libdbi-drivers with USE="sqlite" forcing sqlite-2
Product: Gentoo Linux Reporter: Sönke N. Greimann <spamdummy>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sönke N. Greimann 2009-09-30 21:19:40 UTC
When trying to update app-office/gnucash with USE="sqlite", it depends on dev-db/libdbi-drivers also having USE="sqlite", forcing install of dev-db/sqlite-2.x.x in a new SLOT, even though I already have dev-db/sqlite-3.x.x installed already and dev-db/libdbi-drivers has USE="sqlite3" set.

Reproducible: Always

Steps to Reproduce:
1. set USE="sqlite" for app-office/gnucash
2. set USE="-sqlite sqlite3" for dev-db/libdbi-drivers
3. emerge -uDNpv gnucash

Actual Results:  
emerge: there are no ebuilds built with USE flags to satisfy "dev-db/libdbi-drivers[sqlite]".
!!! One of the following packages is required to complete your request:
- dev-db/libdbi-drivers-0.8.3 (Change USE: +sqlite)
(dependency required by "app-office/gnucash-2.3.6" [ebuild])
(dependency required by "@world" [argument])


Expected Results:  
[ebuild     U ] app-office/gnucash-2.3.6 [2.3.5] USE="doc hbci ofx quotes sqlite* -chipcard -debug -mysql -postgres -webkit" 8,431 kB
[ebuild  N    ]  dev-db/libdbi-drivers-0.8.3  USE="-sqlite sqlite3 -bindist -doc -firebird -mysql -oci8 -postgres" 1,499 kB
[ebuild  N    ]   dev-db/libdbi-0.8.3  USE="-doc" 1,036 kB


app-office/gnucash-2.3.6 with USE="sqlite" should depend on dev-db/libdbi-drivers with either USE="sqlite" or USE="sqlite3" to allow for alternatives.

Alternatively, dev-db/libdbi-drivers with USE="sqlite" could use newest available version of sqlite as a standard, with optional support for older slotted versions through USE="sqlite2" for the 2.x.x version, etc.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2009-09-30 21:32:41 UTC
Fixed half an hour ago.

I changed dev-db/libdbi-drivers[sqlite] to dev-db/libdbi-drivers[sqlite3].

Thanks

*** This bug has been marked as a duplicate of bug 287146 ***
Comment 2 Sönke N. Greimann 2009-09-30 21:39:09 UTC
(In reply to comment #1)
> Fixed half an hour ago.
> 
> I changed dev-db/libdbi-drivers[sqlite] to dev-db/libdbi-drivers[sqlite3].
> 
> Thanks
> 
> *** This bug has been marked as a duplicate of bug 287146 ***

Wow, that was fast. I searched, but didn't see 287146. Ironically, this bug (287164) is a twistaround number... *chuckle*

Thank you for your quick reaction. I'll resync and see what happens.