Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353362 (phonon-quicktime) - x11-libs/qt-webkit-4.7.2 requires media-sound/phonon[aqua=] but media-sound/phonon-4.4.4 has no aqua use flag.
Summary: x11-libs/qt-webkit-4.7.2 requires media-sound/phonon[aqua=] but media-sound/p...
Status: RESOLVED FIXED
Alias: phonon-quicktime
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal with 3 votes (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-47-stable-tracker
  Show dependency tree
 
Reported: 2011-02-01 05:37 UTC by Felix Tiede
Modified: 2011-04-27 20:17 UTC (History)
21 users (show)

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 Felix Tiede 2011-02-01 05:37:30 UTC
x11-libs/qt-webkit-4.7.1-r1 requires media-sound/phonon to be installed with use flag 'aqua' set as for qt-webkit itself. As of version 4.4.4 media-sound/phonon has no such use flag anymore essentially breaking emerge --depclean.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-sound/phonon-4.4.4
2. emerge =x11-libs/qt-webkit-4.7.1-r1
3. emerge --depclean

Actual Results:  
# emerge --depclean
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 * 
 *   media-sound/phonon[-aqua] pulled in by:
 *     x11-libs/qt-webkit-4.7.1-r1


Expected Results:  
Clean run of emerge --depclean

Changing x11-libs/qt-webkit-4.7.1-r1 DEPEND to the following solves the problem:

!kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug=]
        || ( <media-sound/phonon-4.4.4[aqua=] >=media-sound/phonon-4.4.4 ) ) )
kde? ( || ( || ( <media-sound/phonon-4.4.4[aqua=] >=media-sound/phonon-4.4.4 ) ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug] ) )
Comment 1 Marko Hänninen 2011-02-01 14:58:08 UTC
(In reply to comment #0)
> x11-libs/qt-webkit-4.7.1-r1 requires media-sound/phonon to be installed with
> use flag 'aqua' set as for qt-webkit itself. As of version 4.4.4
> media-sound/phonon has no such use flag anymore essentially breaking emerge
> --depclean.

x11-libs/qt-demo-4.7.1 has the same problem.
Comment 2 Kamen Dokov 2011-02-01 16:06:15 UTC
> Changing x11-libs/qt-webkit-4.7.1-r1 DEPEND to the following solves the
> problem:
> 
> !kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug=]
>         || ( <media-sound/phonon-4.4.4[aqua=] >=media-sound/phonon-4.4.4 ) ) )
> kde? ( || ( || ( <media-sound/phonon-4.4.4[aqua=] >=media-sound/phonon-4.4.4 )
> ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug] ) )
> 

That was perfect :)
Thank you!
Comment 3 chris salch 2011-02-03 05:39:32 UTC
Any idea when this will make it into the tree?
Comment 4 Felix Tiede 2011-02-05 04:53:27 UTC
Additionally this breaks emerge --resume for me.
Comment 5 Dale 2011-02-05 06:02:24 UTC
It did the same here.  I upgraded to portage 2.2 to fix this.  Also, it did the same on both x86 and amd64. 
Comment 6 Jonathan Callen (RETIRED) gentoo-dev 2011-02-05 19:01:20 UTC
I believe that fix is incorrect; the proper fix would be to add a phonon-qt7 to the tree, and make phonon[aqua] depend on phonon-qt7. As a temporary measure, I think we should at least add a IUSE=aqua to the phonon ebuilds.

@prefix:
It would be nice if someone on a Mac could create/test a phonon-qt7 ebuild :) .
Comment 7 Fabian Groffen gentoo-dev 2011-02-06 09:35:25 UTC
ok, but it'll have to wait until I get back from FOSDEM again, since I need to save power in order to survive the day here :)
Comment 8 Balazs Nemeth 2011-02-11 14:44:48 UTC
(In reply to comment #7)
> ok, but it'll have to wait until I get back from FOSDEM again, since I need to
> save power in order to survive the day here :)
> 

This can be solved by installing =sys-apps/portage-2.1.9.39
I haven't tried it with other versions but forums suggested to use portage-2.2.

I don't know whow did it solved but I was able to run --depclean without problems, so this is only FYI.
Comment 9 Fabian Groffen gentoo-dev 2011-02-13 10:16:58 UTC
what is phonon-qt?  the same as qt-phonon?
Comment 10 Erik 2011-02-19 12:08:37 UTC
(In reply to comment #8)
> This can be solved by installing =sys-apps/portage-2.1.9.39
> I haven't tried it with other versions but forums suggested to use portage-2.2.

Even version 2.1.9.35 is high enough to solve this problem.
Comment 11 Jonathan Callen (RETIRED) gentoo-dev 2011-02-19 18:08:33 UTC
phonon-qt7 (or whatever) would be the QuickTime backend for phonon, previously controlled by the aqua USE flag
Comment 12 Felix Tiede 2011-03-02 05:28:00 UTC
qt-webkit-4.7.2 still suffers from the same problem...
Comment 13 Benjamin Schindler 2011-04-15 07:36:13 UTC
I'm on portage version sys-apps/portage-2.1.9.46 and have the same problem, so the problem might have reappeared since 2.1.9.35 

!!! All ebuilds that could satisfy "media-sound/phonon[-aqua]" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-sound/phonon-9999 (masked by: missing keyword)

(dependency required by "x11-libs/qt-webkit-4.7.1-r1" [installed])
(dependency required by "x11-libs/qtscriptgenerator-0.1.0" [installed])
(dependency required by "media-sound/amarok-2.3.2-r1[player]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2011-04-24 18:51:26 UTC
I've added phonon-qt7, the QuickTime7 backend, without keywords (and testing obviously) to the main tree. 

@prefix mac guys, could you please test and keyword?
Comment 15 Fabian Groffen gentoo-dev 2011-04-25 14:09:23 UTC
[100%] Building CXX object qt7/CMakeFiles/phonon_qt7.dir/videowidget.mm.o
/Library/Gentoo/var/tmp/portage/media-libs/phonon-qt7-0_pre20110424/work/phonon-qt7/qt7/videowidget.mm: In member function ‘virtual bool Phonon::QT7::VideoRenderWidget::event(QEvent*)’:
/Library/Gentoo/var/tmp/portage/media-libs/phonon-qt7-0_pre20110424/work/phonon-qt7/qt7/videowidget.mm:581: error: invalid static_cast from type ‘Phonon::QT7::IVideoRenderDrawWidget*’ to type ‘QWidget*’
make[2]: *** [qt7/CMakeFiles/phonon_qt7.dir/videowidget.mm.o] Error 1
make[1]: *** [qt7/CMakeFiles/phonon_qt7.dir/all] Error 2
make: *** [all] Error 2


yay.  Investigations pending...
Comment 16 Fabian Groffen gentoo-dev 2011-04-25 14:31:43 UTC
https://projects.kde.org/projects/kdesupport/phonon/phonon-quicktime/repository/revisions/b22b86f6940d2605e78398eca4ae05c3ea44a92c

Interestingly, undoing this commit get's me through, and makes it finish the compile.
Comment 17 Fabian Groffen gentoo-dev 2011-04-25 17:24:39 UTC
I've committed a aqua USE-flag for phonon which maps to phonon-qt7.  I hope that resolves the dependency problems for people here.
Comment 18 Andreas K. Hüttel archtester gentoo-dev 2011-04-25 17:48:08 UTC
(In reply to comment #17)
> I've committed a aqua USE-flag for phonon which maps to phonon-qt7.  I hope
> that resolves the dependency problems for people here.

Great, thanks! Should be fine now, fixed in phonon-4.5.0.