Summary: | media-sound/amarok-2.4.0 should depend on virtual/mysql instead of dev-db/mysql | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cyril42e <cyril42e> |
Component: | Current packages | Assignee: | Jorge Manuel B. S. Vicetto <jmbsvicetto> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | kde |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Cyril42e
2011-03-12 12:07:28 UTC
The problem is, that your USE-Flags don't match: Look out you have set the same USE-Flags in virtual/mysql and dev-db/mariadb (especially the embedded-Flag). I am running amarok with mariadb without any problem. Ok you have a good point. Actually the only USE flag I have set is "dev-db/mysql embedded", probably because I was asked to do so by portage at one time. Then they added virtual/mysql, and dev-db/mysql USE flags didn't match anymore with virtual/mysql, so dev-db/mariadb was installed instead. But everything should work as well with dev-db/mysql if I set the rights USE flags. So I've set the embedded USE flags for virtual/mysql, dev-db/mysql and dev-db/mariadb, unmerged virtual/mysql and dev-db/mariadb, and now updating amarok just smoothly installs virtual/mysql and dev-db/mysql. Thanks for your help krassboter! Still, amarok ebuild explicitly wants one of dev-db/mysql and dev-db/mariadb to be installed, and that's exactly what virtual/mysql is doing, so maybe it should anyway depend on virtual/sql instead of (dev-db/mysql || dev-db/mariadb). But I'm not an expert :-) Yes, we should probably move to a virtual/mysql depend. I'll have to think about it because virtual/mysql-5.2 exists only for mariadb and virtual/mysql-5.5 exists (will work soon I hope) only for mysql. It seems I got confused with this bug report as we've moved to the virtual/mysql dep some time ago: grep /mysql $(portageq portdir)/media-sound/amarok/amarok-2.* /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.3.2-r1.ebuild: >=virtual/mysql-5.1 /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.3.2-r1.ebuild: >=dev-db/mysql-5.1.50-r3[embedded] /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.3.2-r1.ebuild: if has_version "dev-db/mysql[minimal]"; then /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.4.0.90.ebuild: >=virtual/mysql-5.1 /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.4.0.90.ebuild: >=dev-db/mysql-5.1.50-r3[embedded] /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.4.0.90.ebuild: if has_version "dev-db/mysql[minimal]"; then /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.4.0.ebuild: >=virtual/mysql-5.1 /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.4.0.ebuild: >=dev-db/mysql-5.1.50-r3[embedded] /home/gentoo-scm/gentoo-x86/media-sound/amarok/amarok-2.4.0.ebuild: if has_version "dev-db/mysql[minimal]"; then The only reference to dev-db/mysql is done at pkg_postinst to present a warning to users. I'll see if we add a minimal use flag to the virtual/mysql package so we can fix that reference. |