Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317505 - Why should qt-phonon require +qt3support use flags
Summary: Why should qt-phonon require +qt3support use flags
Status: RESOLVED DUPLICATE of bug 234647
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 16:49 UTC by Alex Buell
Modified: 2010-05-01 16:28 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 Alex Buell 2010-04-27 16:49:00 UTC
I have -qt -qt3 -qt4 -qt3support -kde use flags enabled as I don't want to use KDE. Unfortunately googleearth needs some qt libraries. This was fine by me until googleearth 5.1.3533.1731 was released in portage yesterday. Turns out this packatge needs qt-phonon but qt-phonon needs +qt3support enabled. Why?

Reproducible: Always
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-05-01 10:09:11 UTC
I don't quite remember the history of this package.

Try the following

emerge --nodeps -1 qt-phonon and let me know if it works for you . This will ommit the unsatisfied dependencies ( such as x11-libs/qt-gui[qt3support] ) and will try to build the package
Comment 2 Alex Buell 2010-05-01 11:29:40 UTC
As I'd already removed the googleearth package, I'm trying a variation of this:

emerge --nodeps qt-phonon qt-webkit googlearth

I'll let you know how it gets on with that.
Comment 3 Alex Buell 2010-05-01 11:35:20 UTC
linking ../../lib/libphonon.so.4.3.1
.obj/release-shared/objectdescriptionmodel.o: In function `Phonon::ObjectDescriptionModelData::mimeData(Phonon::ObjectDescriptionType, QList<QModelIndex> const&) const':
/var/tmp/portage/x11-libs/qt-phonon-4.6.2/work/qt-everywhere-opensource-src-4.6.2/src/phonon/../3rdparty/phonon/phonon/objectdescriptionmodel.cpp:214: undefined reference to `QDataStream::QDataStream(QByteArray*, int)'
.obj/release-shared/objectdescriptionmodel.o: In function `Phonon::ObjectDescriptionModelData::dropMimeData(Phonon::ObjectDescriptionType, QMimeData const*, Qt::DropAction, int, int, QModelIndex const&)':
/var/tmp/portage/x11-libs/qt-phonon-4.6.2/work/qt-everywhere-opensource-src-4.6.2/src/phonon/../3rdparty/phonon/phonon/objectdescriptionmodel.cpp:310: undefined reference to `QDataStream::QDataStream(QByteArray*, int)'
collect2: ld returned 1 exit status
make: *** [../../lib/libphonon.so.4.3.1] Error 1

I guess it does need qt3support after all. Why not see if there's a newer version of qt-phonon that's been rewritten not to need qt3support libs?
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2010-05-01 16:28:57 UTC
This is the same issue as in bug #234647 where it was noted that qt3support is needed. It can be seen in http://doc.trolltech.com/4.6/qdatastream-qt3.html that QDataStream(QByteArray*, int) is part of Qt3Support. So it is up to upstream to "fix" this. But as Phonon originates from KDE, which heavily uses Qt3Support, I would not expect this dependency to be dropped anytime soon.

*** This bug has been marked as a duplicate of bug 234647 ***