Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292337 - x11-libs/qt-webkit-4.5.3 requires dbus or not?
Summary: x11-libs/qt-webkit-4.5.3 requires dbus or not?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 01:35 UTC by tot-to
Modified: 2010-04-09 22:35 UTC (History)
0 users

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


Attachments
My ebuild without hard-dep of dbus (qt-webkit-4.5.3-r1.ebuild,1.13 KB, text/plain)
2009-11-21 17:32 UTC, tot-to
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tot-to 2009-11-08 01:35:19 UTC
after emerge --sync, I run emerge -uvDN world and get this error:

emerge: there are no ebuilds built with USE flags to satisfy "~x11-libs/qt-gui-4.5.3[dbus,-debug]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-gui-4.5.3-r2 (Change USE: +dbus)
(dependency required by "x11-libs/qt-webkit-4.5.3" [installed])
(dependency required by "x11-libs/qt-assistant-4.5.3" [installed])
(dependency required by "x11-libs/qt-4.5.3" [installed])
(dependency required by "world" [argument])

All components of x11-libs/qt-4.5.3 installed later and do not requires upgrading.
Please, add dbus use-flag to qt-webkit or change the dependence.

Reproducible: Always

Steps to Reproduce:
1. echo 'USE="$USE -dbus"' >> /etc/make.conf
2. emerge =x11-libs/qt-4.5.3
3. emerge --sync
4. emerge -uvDN world
Comment 1 Rafał Mużyło 2009-11-08 02:47:52 UTC
I'm not completely sure, but probably INVALID
- qt-dbus is a hard dep of media-sound/phonon.
Comment 2 tot-to 2009-11-08 07:12:17 UTC
I havn't media-sound/phonon installed, only x11-libs/qt-phonon, that has dbus use flag.
Comment 3 tot-to 2009-11-08 07:20:27 UTC
> All components of x11-libs/qt-4.5.3 installed later and do not requires
> upgrading.
I mean "previously" instead of "later". Sorry, I am not native English speaker.
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2009-11-08 16:56:18 UTC
I've added dbus (use) dependencies as applicable.
Comment 5 David Madsen 2009-11-09 01:03:21 UTC
I believe the problem here is that the inclusion of dbus support in qt-webkit is not dependent on the dbus USE flag being set.  I had a similar issue after attempting to upgrade today when having USE="-dbus" set.

The inclusion of the dependency of qt-dbus support in the ebuild is not dependent on the dbus USE flag being set.  If this is the intention, then great.  I'm not sure why it would be though since i'm able to compile qt-webkit fine without including dbus support.  Forcing inclusion of dbus support shouldn't be required unless it's necessary.

Comment 6 Ben de Groot (RETIRED) gentoo-dev 2009-11-09 01:12:45 UTC
Okay, can somebody test and confirm that?
Comment 7 tot-to 2009-11-09 10:31:09 UTC
After the last sync, qt-webkit-4.5.3-r1 appears, but without dbus flag.
I have open ebuild in text editor and this 2 lines
~x11-libs/qt-dbus-${PV}[debug=]
~x11-libs/qt-gui-${PV}[dbus,debug=]
change to this one:
~x11-libs/qt-gui-${PV}[debug=]
then I run:
ebuild /usr/portage/x11-libs/qt-webkit/qt-webkit-4.5.3-r1.ebuild manifest
emerge -uvDN world
Compilation was success, and all qt-applications works fine for me.
Comment 8 tot-to 2009-11-09 10:37:01 UTC
Sorry, of course in the next line
!kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[dbus,debug=]
I also deleted "dbus":
!kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[debug=]
Comment 9 tot-to 2009-11-21 17:32:54 UTC
Created attachment 210804 [details]
My ebuild without hard-dep of dbus
Comment 10 tot-to 2009-11-27 20:33:23 UTC
How about a fixing this bug? :)
Please, just remove dbus dependence in main tree as I explained.
Comment 11 Ben de Groot (RETIRED) gentoo-dev 2009-11-27 23:54:29 UTC
(In reply to comment #10)
> How about a fixing this bug? :)

I'm still waiting for someone from our Qt team to test this and work out the (optional) dependencies.
Comment 12 Markos Chandras (RETIRED) gentoo-dev 2009-11-28 17:11:22 UTC
Seems ok to me
Comment 13 tot-to 2009-12-27 23:05:23 UTC
I have been tested the similar changes in ebuild for qt-webkit-4.6.0 on x86 and amd64
Comment 14 Rafał Mużyło 2009-12-31 13:46:40 UTC
Chances are that if you drop that dep,
not only qt splits will need to be adjusted,
but some KDE packages will need an explicit qt-dbus dep.

Frankly, I've seen an ongoing discussion on gtk lists
about adding a dbus wrapper lib in glib, so I doubt
the need for this change (yes, not quite on-topic,
but the real problem here are unobvious qt-dbus deps
- there may be more of them than it seems).
Comment 15 Ben de Groot (RETIRED) gentoo-dev 2009-12-31 16:48:40 UTC
(In reply to comment #14)
> Chances are that if you drop that dep,
> not only qt splits will need to be adjusted,
> but some KDE packages will need an explicit qt-dbus dep.

I would think most KDE users already have the dbus useflag enabled globally, so that should not cause an issue for those users.

I am all for accurate deps. If qt-webkit builds and functions correctly without the dbus dependency, then the ebuild should reflect this.

Comment 16 tot-to 2010-01-13 23:25:33 UTC
Let's see this:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-webkit/qt-webkit-4.5.3.ebuild?hideattic=0&r1=1.3&r2=1.4
http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-webkit/qt-webkit-4.6.0_beta1.ebuild?hideattic=0&r1=1.2&r2=1.3
Before this revisions, all versions of qt can be installed without dbus. This changes are not related with hard-coding dbus in upstream.
I am asking only for status quo returning.

2 Rafał Mużyło:
>but some KDE packages will need an explicit qt-dbus dep.
Therefore, their ebuilds must reflects this. There are a lot of software, which require qt, but not require dbus.
Comment 17 Ben de Groot (RETIRED) gentoo-dev 2010-04-09 22:35:49 UTC
Fixed now in qt-webkit-4.6.2-r1 and qt-webkit-4.5.3-r3