While trying to emerge kde 4.1.2, dev-libs/soprano-2.1 won't resolve unless qt-core is built with -debug, unless both dev-libs/soprano-2.1 and qt-core are built with +debug Reproducible: Always Steps to Reproduce: 1. emerge qt-core with +debug 2. try and emerge soprano with -debug 3. Actual Results: Unable to emerge Expected Results: Successful emerge
You have to compile soprano with debug flag use flag if you have qt with debug use flag.
You do, or you can recomile qt with -debug. However, the error message makes it sound like the only way to resolve the the issue is to compile qt with -debug, as oppose to setting the soprano +debug use flag. Also, is it not possible at all to compile soprano with -debug when qt has +debug?
(In reply to comment #2) > You do, or you can recomile qt with -debug. However, the error message makes it > sound like the only way to resolve the the issue is to compile qt with -debug, > as oppose to setting the soprano +debug use flag. > > Also, is it not possible at all to compile soprano with -debug when qt has > +debug? > I agree with it. According this message I recompiled - the qt-core with the -debug use flag. But I forget about the debug flag set for the qt-giu and the rebuild failed with the error: compiling widgets/qprintpreviewwidget.cpp compiling dialogs/qprintdialog_unix.cpp compiling dialogs/qcolordialog.cpp compiling dialogs/qfontdialog.cpp compiling dialogs/qprintpreviewdialog.cpp compiling itemviews/qtableview.cpp compiling itemviews/qlistwidget.cpp rm -f libQtGui.so.4.4.2 libQtGui.so libQtGui.so.4 libQtGui.so.4.4 linking ../../lib/libQtGui.so.4.4.2 .obj/debug-shared/qapplication.o: In function `QApplication::notify(QObject*, QEvent*)': /var/tmp/portage/x11-libs/qt-gui-4.4.2/work/qt-x11-opensource-src-4.4.2/src/gui/kernel/qapplication.cpp:3355: undefined reference to `QCoreApplicationPrivate::checkReceiverThread(QObject*)' collect2: ld returned 1 exit status make: *** [../../lib/libQtGui.so.4.4.2] Error 1 * * ERROR: x11-libs/qt-gui-4.4.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2758: Called qt4-build_src_compile * environment, line 2524: Called build_target_directories * environment, line 365: Called build_directories ' * src/gui * tools/designer * tools/linguist * src/plugins/imageformats/gif * src/plugins/imageformats/ico * src/plugins/imageformats/jpeg tools/qdbus/qdbusviewer src/plugins/imageformats/mng src/plugins/imageformats/tiff' * environment, line 360: Called die * The specific snippet of code: * emake || die "emake failed"; * The die message: * emake failed * Rebuild with -debug was successful. The ebuilds should check the consistency across packages.
Note: check also this thread http://forums.gentoo.org/viewtopic-t-711151-highlight-qcoreapplicationprivate+checkreceiverthread.html
(In reply to comment #3) > (In reply to comment #2) > > You do, or you can recomile qt with -debug. However, the error message makes it > > sound like the only way to resolve the the issue is to compile qt with -debug, > > as oppose to setting the soprano +debug use flag. > > > > Also, is it not possible at all to compile soprano with -debug when qt has > > +debug? > > No, it isn't because it doesn't make any sense. This is expressed in the ebuild through USE deps: COMMON_DEPEND=" ... x11-libs/qt-core:4[debug=] x11-libs/qt-dbus:4[debug=] ... " > I agree with it. According this message I recompiled - the qt-core with the > -debug use flag. But I forget about the debug flag set for the qt-giu and the > rebuild failed with the error: > ... > Rebuild with -debug was successful. The ebuilds should check the consistency > across packages. > This is another issue. The qt-gui package doesn't have USE deps. We should probably add them, but that means using EAPI-2.
This bug is fixed in later versions.