Summary: | x11-libs/qt-webkit-4.7.2 requires media-sound/phonon[aqua=] but media-sound/phonon-4.4.4 has no aqua use flag. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix Tiede <info> |
Component: | New packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ainsaar, alex, chalucha, emeraldd.chris, esigra, evan.teran, gentoo, gokdenizk, handgranaten-herbert, jaak, jobbara.artalmatlan, justin.t.riley, kelzhadant, M4rkusXXL, nicholas.schwindt, paolo.pedroni, paulocic, polidevk.polidevk, prefix, rdalek1967, shane |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 363315 |
Description
Felix Tiede
2011-02-01 05:37:30 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. > 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!
Any idea when this will make it into the tree? Additionally this breaks emerge --resume for me. It did the same here. I upgraded to portage 2.2 to fix this. Also, it did the same on both x86 and amd64. 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 :) . 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 :) (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. what is phonon-qt? the same as qt-phonon? (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. phonon-qt7 (or whatever) would be the QuickTime backend for phonon, previously controlled by the aqua USE flag qt-webkit-4.7.2 still suffers from the same problem... 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. 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? [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... 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. I've committed a aqua USE-flag for phonon which maps to phonon-qt7. I hope that resolves the dependency problems for people here. (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. |