Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530116 - dev-qt/qtsql-4.8.6 depends on virtual/mysql-5.6 while dev-qt/qtsql-5.3.2 depends on virtual/mysql:0/0 which is virtual/mysql-5.5
Summary: dev-qt/qtsql-4.8.6 depends on virtual/mysql-5.6 while dev-qt/qtsql-5.3.2 depe...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-22 13:20 UTC by farmboy0
Modified: 2014-11-22 19:45 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 farmboy0 2014-11-22 13:20:31 UTC
Qt5 needs dev-qt/qtchooser which depends on Qt 4.8.6.
dev-qt/qtsql-4.8.6 depends on virtual/mysql-5.6 while dev-qt/qtsql-5.3.2 depends on virtual/mysql:0/0 which is virtual/mysql-5.5.

Reproducible: Always
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2014-11-22 13:48:57 UTC
$ grep virtual/mysql *.ebuild
qtsql-4.8.5.ebuild:	mysql? ( virtual/mysql )
qtsql-4.8.6-r1.ebuild:	mysql? ( >=virtual/mysql-5.6-r2:=[${MULTILIB_USEDEP}] )
qtsql-5.3.2.ebuild:	mysql? ( virtual/mysql:= )

That is intended and not a bug.

You just have to rebuild qtsql:5 against a version of virtual/mysql that satisfies the dep in qtsql:4. Portage should offer to do that automatically if you try to upgrade virtual/mysql.
Comment 2 farmboy0 2014-11-22 15:14:39 UTC
Output from emerge:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

virtual/mysql:0

  (virtual/mysql-5.6-r2::gentoo, ebuild scheduled for merge) pulled in by
    =virtual/mysql-5.6-r2 required by (dev-qt/qtsql-4.8.5::gentoo, installed)
    (and 6 more with the same problem)

  (virtual/mysql-5.5::gentoo, installed) pulled in by
    virtual/mysql:0/0= required by (dev-qt/qtsql-5.3.2::gentoo, installed)
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2014-11-22 15:17:51 UTC
What was the emerge command that led to that output?
Comment 4 farmboy0 2014-11-22 15:32:06 UTC
Take your pick:
emerge -uDN world
emerge --oneshot virtual/mysql
emerge --oneshot virtual/mysql:0
emerge --oneshot virtual/mysql-5.6-r2
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2014-11-22 15:43:47 UTC
Try emerge --oneshot virtual/mysql qtsql:5
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2014-11-22 19:45:41 UTC
In any case, the dependencies are correct.