Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388059 - media-sound/amarok-2.4.3 embedded USE flag mysql mariadb block
Summary: media-sound/amarok-2.4.3 embedded USE flag mysql mariadb block
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 23:43 UTC by Marcus Becker
Modified: 2011-10-24 14:56 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge_info.txt,5.54 KB, text/plain)
2011-10-21 23:44 UTC, Marcus Becker
Details
emerge amarok with and without embedded on (emerge_amarok.txt,6.72 KB, text/plain)
2011-10-23 09:24 UTC, Marcus Becker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Becker 2011-10-21 23:43:50 UTC
With the embedded USE flag enabled, amarok tries to install mysql and mariadb in den COMMONDEPEND:
embedded? (
           || (
               >=dev-db/mysql-5.1.50-r3[embedded]
               >=dev-db/mariadb-5.1.50[embedded]
              )
          )


Reproducible: Always

Steps to Reproduce:
1. emerge amarok with USE="embedded"

Actual Results:  
[blocks B      ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mariadb-5.1.50)
[blocks B      ] dev-db/mariadb ("dev-db/mariadb" is blocking dev-db/mysql-5.1.59)
Comment 1 Marcus Becker 2011-10-21 23:44:32 UTC
Created attachment 290495 [details]
emerge --info
Comment 2 Mike Gilbert gentoo-dev 2011-10-23 04:59:01 UTC
That's an "or-dep": it only requires that one of the two dependency atoms be satisfied.

The full emerge output would be helpful. If I had to guess, you probably just need to enable the embedded use flag on mysql or mariadb.
Comment 3 Marcus Becker 2011-10-23 09:24:27 UTC
Created attachment 290611 [details]
emerge amarok with and without embedded on

=dev-db/mysql-5.1.59 embedded
and tested
dev-db/mysql embedded
in /etc/portage/package.use
Comment 4 Marcus Becker 2011-10-23 09:34:00 UTC
Maybe, you could add the following to the ebuild?
http://forums.gentoo.org/viewtopic-t-860005-highlight-amarok+mysql.html
It states, that you need dev-db/mysql and virtual/mysql with embedded (or mariadb if you prefer)
Comment 5 Mike Gilbert gentoo-dev 2011-10-23 15:03:02 UTC
I'm not sure that would improve anything, but I'll let the maintainer decide.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-10-24 13:59:18 UTC
(In reply to comment #4)
> Maybe, you could add the following to the ebuild?
> http://forums.gentoo.org/viewtopic-t-860005-highlight-amarok+mysql.html
> It states, that you need dev-db/mysql and virtual/mysql with embedded (or
> mariadb if you prefer)

I thought I had replaced this dep for virtual/mysql[embedded] some time ago.
I'll take care of it today.
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-10-24 14:56:38 UTC
Theo,

looking at amarok-2.4.1 it seems you changed the dep when you committed amarok-2.4.3. I see you also dropped the upnp / playdar support.
I've updated the mysql dependency now to depend on virtual/mysql.