When I try to upgrade gtk-engines-qt to the latest version (0.7_p20070327), I get the following error during the compile process: Linking CXX shared library libqtengine.so [ 57%] Built target qtengine make: *** [all] Erreur 2 !!! ERROR: x11-themes/gtk-engines-qt-0.7_p20070327-r2 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 4731: Called src_compile ebuild.sh, line 1304: Called kde_src_compile kde.eclass, line 170: Called kde_src_compile 'all' kde.eclass, line 340: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 336: Called die !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-themes/gtk-engines-qt-0.7_p20070327-r2/temp/build.log'. Reproducible: Always Steps to Reproduce: 1. Try to compile gtk-qt-engines release 0.7_p20070327 2. 3. Expected Results: A correct compilation !
Please attach a bit more lines from above or attach /var/tmp/portage/x11-themes/gtk-engines-qt-0.7_p20070327-r2/temp/build.log
Created attachment 117717 [details] Compile build log Here it is !
..snip.. [ 51%] Building CXX object kcm_gtk/CMakeFiles/kcm_kcmgtk.dir/kcmgtkwidget.o /usr/qt/3/include/qtooltip.h:86: attention : ‘class QToolTip’ has virtual functions but non-virtual destructor /var/tmp/portage/x11-themes/gtk-engines-qt-0.7_p20070327-r2/work/gtk-qt-engine-0.7_p20070327/kcm_gtk/kcmgtkwidget.cpp: In constructor ‘KcmGtkWidget::KcmGtkWidget(QWidget*, const char*, uint)’: /var/tmp/portage/x11-themes/gtk-engines-qt-0.7_p20070327-r2/work/gtk-qt-engine-0.7_p20070327/kcm_gtk/kcmgtkwidget.cpp:87: erreur: invalid use of undefined type ‘struct KURLLabel’ /var/tmp/portage/x11-themes/gtk-engines-qt-0.7_p20070327-r2/work/gtk-qt-engine-0.7_p20070327/kcm_gtk/kcmgtkwidget.h:25: erreur: forward declaration of ‘struct KURLLabel’ /var/tmp/portage/x11-themes/gtk-engines-qt-0.7_p20070327-r2/work/gtk-qt-engine-0.7_p20070327/kcm_gtk/kcmgtkwidget.cpp:89: erreur: no matching function for call to ‘QGridLayout::addMultiCellWidget(KURLLabel*&, int, int, int, int)’ /usr/qt/3/include/qlayout.h:333: note: candidats sont: void QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int) /var/tmp/portage/x11-themes/gtk-engines-qt-0.7_p20070327-r2/work/gtk-qt-engine-0.7_p20070327/kcm_gtk/kcmgtkwidget.cpp:126: erreur: invalid use of undefined type ‘struct KSqueezedTextLabel’ /var/tmp/portage/x11-themes/gtk-engines-qt-0.7_p20070327-r2/work/gtk-qt-engine-0.7_p20070327/kcm_gtk/kcmgtkwidget.h:26: erreur: forward declaration of ‘struct KSqueezedTextLabel’ ..snip.. emerge --info too, thanks ;)
Created attachment 117718 [details] output of emerge --info
ls /var/db/pkg/x11-libs/qt-3* -d /var/db/pkg/x11-libs/qt-3.3.8-r2 What version do you have there?
please update your qt.
Indeed, updating qt allows newer version of gtk-engines-qt to compile correctly. But why in this case doesn't gtk-engines-qt depends of newer version of qt ?
because I did not know about it. What is your qt version old/new?
The current version of qt is qt-3.3.8-r2. The older was qt-3.3.4-r8. Thanks for your help, François Valenduc
.
Thank you very much for reporting this. I added this DEP requirement to the tree.