Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378853 - media-libs/herqq should depend on x11-libs/qt-gui
Summary: media-libs/herqq should depend on x11-libs/qt-gui
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Junghans (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-08-12 02:09 UTC by David Carlos Manuelda
Modified: 2011-08-15 17:03 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 David Carlos Manuelda 2011-08-12 02:09:50 UTC
I found a problem in this package.
Explanation:
I installed a clean stage3, and copyed /var/lib/portage/world to this new system (which is in a chroot for the moment).
After that, I ran en emerge -e system world (to force installation of all packages I want instead of providing them by hand (because of that I copyed world file to this new system)).

The result, is media-libs/herqq being build *BEFORE* qt does, so it fails because not finding qt .h files:

Compile snippet:
x86_64-pc-linux-gnu-g++ -c -pipe -O2 -pipe -msse -msse2 -msse3 -mssse3 -msse4.1 -march=core2 -ggdb -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtTest -I/usr/include/qt4 -I../../hupnp/include -Iobj -I. -o obj/controlpoint_window.o controlpoint_window.cpp
In file included from mainwindow.cpp:23:0:
mainwindow.h:26:29: fatal error: QtGui/QMainWindow: No such file or directory
compilation terminated.
make[1]: *** [obj/mainwindow.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from main.cpp:23:0:
mainwindow.h:26:29: fatal error: QtGui/QMainWindow: No such file or directory
compilation terminated.
make[1]: *** [obj/main.o] Error 1
In file included from controlpoint_window.cpp:23:0:
controlpoint_window.h:29:29: fatal error: QtGui/QMainWindow: No such file or directory
compilation terminated.
make[1]: *** [obj/controlpoint_window.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/herqq-1.0.0-r1/work/herqq-1.0.0/apps/simple_test-app'
make: *** [sub-apps-simple_test-app-make_default-ordered] Error 2
 * ERROR: media-libs/herqq-1.0.0-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =media-libs/herqq-1.0.0-r1',
 * the complete build log and the output of 'emerge -pqv =media-libs/herqq-1.0.0-r1'.
 * The complete build log is located at '/var/log/portage/media-libs:herqq-1.0.0-r1:20110812-020409.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/herqq-1.0.0-r1/temp/environment'.
 * S: '/var/tmp/portage/media-libs/herqq-1.0.0-r1/work/herqq-1.0.0'

It should depend explicitelly on qt-gui due to this error, in order to let portage build this package *AFTER* qt does

Reproducible: Always

Steps to Reproduce:
1.Unpack stage3
2.Copy world file from a working system (don't know if this is actually needed)
3.emerge herqq

Actual Results:  
See how qt is not required in this build (or it is being compiled after this one)

Expected Results:  
Compile (at least) qt-gui before this one does
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2011-08-15 17:03:43 UTC
+  15 Aug 2011; Christoph Junghans <ottxor@gentoo.org> herqq-1.0.0-r1.ebuild:
+  fixed deps (bug #378853)
+