Created attachment 290441 [details] Build log Package x11-libs/qt-qt3support-4.7.4 cannot be compiled without media-libs/gst-plugins-base. The error is: x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/freetype2 -o gstreamer.o gstreamer.cpp gstreamer.cpp:42:21: fatal error: gst/gst.h: No such file or directory compilation terminated. gmake: *** [gstreamer.o] Error 1 GStreamer disabled. Gstreamer support cannot be enabled due to functionality tests! Steps to reproduce: 1. emerge -C media-libs/gst-plugins-base 2. emerge -1 qt-qt3support Please add media-libs/gst-plugins-base as a buildtime dependency of x11-libs/qt-qt3support-4.7.4
mmm...why does qt-qt3support specifically want phonon and gstreamer enabled when calling ./configure?
Turns out qt3support code does not depend on gstreamer, it doesn't depend on phonon at all! Thus I've completely removed the 'phonon' USE flag and relative deps from 4.8.0-r1.
(In reply to comment #1) > mmm...why does qt-qt3support specifically want phonon and gstreamer enabled > when calling ./configure? From what I remember, this was necessary to have a functional Phonon tab in qtconfig. Please make sure phonon can still be configured with your latest changes, or revert them.
I cannot configure phonon using qtconfig even before my changes...
which phonon backend do you have installed? Are you using phonon-gstreamer? Could you try that and use the ebuild without your changes? I believe the code was there for a reason. It's been there since forever. Too bad we did not write a comment explaining the situation at that time. I am reopening this bug, as it seems we need to do some more testing on that and write some comments in the ebuild if needed.
As Ben pointed out, the phonon useflag has this description in qt-qt3support metadata.xml: <flag name='phonon'>: Enable phonon configuration dialog in qtconfig
I indeed am of the opinion that it is still necessary to keep the phonon useflag here. But if upstream's code has changed in the meantime, some testing should convince everybody. That said, I think the original bug report is invalid, because the chain of dependencies is correct: qt-qt3support[phonon] depends on qt-phonon or media-libs/phonon[gstreamer] which in turn depend on media-plugins/gst-plugins-meta which depends on media-libs/gst-plugins-base If you start to unmerge individual packages from the dependency chain without proper precautions, then you get problems like the issue as reported by bay here. But I would advise not to close this bug until the issue of the phonon useflag is settled.
Actually, this issue was already being discussed in bug #357531 so I am closing this one as a duplicate. *** This bug has been marked as a duplicate of bug 357531 ***