Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182070 - media-sound/amarok-1.4.6_pre20070608-r1 depends on sqlite badly.
Summary: media-sound/amarok-1.4.6_pre20070608-r1 depends on sqlite badly.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-14 23:39 UTC by David Carlos Manuelda
Modified: 2007-06-15 06:41 UTC (History)
0 users

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 David Carlos Manuelda 2007-06-14 23:39:16 UTC
media-sound/amarok-1.4.6_pre20070608-r1 has the possibility to has a collection of music and several data related stored. You can choose between MySQL **OR** SQLite in order to save and manage that collection's data.

The matter is that there is a 'mysql' IUSE in this ebuild wich compile MySQL dependencies to manage collection, and thus, make SQLite not needed, but this ebuild try to install SQLite anyway, without looking at mysql IUSE.

I think this must be revised because of the *OR* I mentioned before.

Thanks

Reproducible: Always

Steps to Reproduce:
1.USE="... mysql" emerge media-sound/amarok-1.4.6_pre20070608-r1
2.
3.

Actual Results:  
Calculating world dependencies... done!
(...)
[ebuild  N    ] dev-db/sqlite-3.3.17  USE="-debug -doc -nothreadsafe -soundex -tcl" 2,062 kB
[ebuild     U ] media-sound/amarok-1.4.6_pre20070608-r1 [1.4.6_pre20070608] USE="aac kde musicbrainz mysql opengl python -arts -daap -debug -ifp -ipod -mtp -njb -noamazon -postgres (-real) -visualization -xinerama" LINGUAS="es -af -ar -az -be -bg -bn -br -ca -cs -cy -da -de -el -en_GB -eo -et -eu -fa -fi -fr -ga -gl -he -hi -hu -id -is -it -ja -km -ko -ku -lo -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr@Latn -ss -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW" 0 kB

Expected Results:  
Calculating world dependencies... done!
(...)
[ebuild     U ] media-sound/amarok-1.4.6_pre20070608-r1 [1.4.6_pre20070608] USE="aac kde musicbrainz mysql opengl python -arts -daap -debug -ifp -ipod -mtp -njb -noamazon -postgres (-real) -visualization -xinerama" LINGUAS="es -af -ar -az -be -bg -bn -br -ca -cs -cy -da -de -el -en_GB -eo -et -eu -fa -fi -fr -ga -gl -he -hi -hu -id -is -it -ja -km -ko -ku -lo -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr@Latn -ss -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW" 0 kB
Comment 1 David Carlos Manuelda 2007-06-14 23:42:45 UTC
I don't know how to make ebuilds, but the possible (conceptual) workarround would be: (In amarok ebuild):

RDEPEND="kde? ( || ( kde-base/konqueror kde-base/kdebase ) )
        >=media-libs/xine-lib-1.1.2_pre20060328-r8
        >=media-libs/taglib-1.4
        mysql? ( >=virtual/mysql-4.0 ) **ELSE** >=dev-db/sqlite-${SQLITEVER}"

        (....)

Note that that **ELSE** is conceptual, I don't know if in ebuild's language is a else, or a || or whatever :)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-15 06:41:00 UTC
You can use either bundled sqlite, or shared sqlite using --without-bundled-sqlite configure option. Bundled stuff sucks for more than one reason (such as security), so it's been switched to shared. Interesting that you didn't complain before despite the fact that amarok installed its own sqlite. 

Anyway, nothing to be done here, sqlite DB backend is not optional, otherwise amarok won't be compiled - so what you are suggesting is not possible.