Hello guys, Compiling x11-themes/gtk-engines-qt-0.8-r3 fails whereas installing x11-themes/gtk-engines-qt-0.8-r2 works well. It seems that a few kde related files are missing. I modified the ebuild like this and now it compiles correctly : --- /usr/portage/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r3.ebuild 2008-08-14 08:53:44.000000000 +0200 +++ /usr/local/portage/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r3.ebuild 2008-08-14 14:04:11.000000000 +0200 @@ -41,7 +41,7 @@ # enable or disable bonobo support based on gnome useflag (bug #206568) mycmakeargs="${mycmakeargs} $(cmake-utils_use_enable gnome BONOBO)" - cmake-utils_src_compile + kde_src_compile } Reproducible: Always Steps to Reproduce: 1. emerge -av =x11-themes/gtk-engines-qt-0.8-r3 2. 3.
Created attachment 162882 [details] Build log of gtk-engines-qt-0.8-r3
Stephanie, I CCd you, cause it seems from the Changelog, that you, made the last changes.
I confirm. Same problem here.
(In reply to comment #0) > Hello guys, > > Compiling x11-themes/gtk-engines-qt-0.8-r3 fails whereas installing > x11-themes/gtk-engines-qt-0.8-r2 works well. It seems that a few kde related > files are missing. > > I modified the ebuild like this and now it compiles correctly : > --- /usr/portage/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r3.ebuild > 2008-08-14 08:53:44.000000000 +0200 > +++ /usr/local/portage/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r3.ebuild > 2008-08-14 14:04:11.000000000 +0200 > @@ -41,7 +41,7 @@ > # enable or disable bonobo support based on gnome useflag (bug #206568) > mycmakeargs="${mycmakeargs} > $(cmake-utils_use_enable gnome BONOBO)" > - cmake-utils_src_compile > + kde_src_compile > } > > > Reproducible: Always > > Steps to Reproduce: > 1. emerge -av =x11-themes/gtk-engines-qt-0.8-r3 > 2. > 3. > same problem. But this patch doesn't helps to me.
Created attachment 162954 [details] build.log with patch
I confirm this. Could be the case that when a system lacks the libbonoboui library, the compilation of gtk-engines-qt fails because of this? I'm asking because the other day, I did a cleanup and removed a few packages, and one of them was libbonoboui. revdep-rebuild does not complain though.
(In reply to comment #6) > I confirm this. > > Could be the case that when a system lacks the libbonoboui library, the > compilation of gtk-engines-qt fails because of this? I'm asking because the > other day, I did a cleanup and removed a few packages, and one of them was > libbonoboui. revdep-rebuild does not complain though. > I don't think so I have libbonoboui installed and I am seeing this issue.
(In reply to comment #1) I had the same problem. The patch worked here.(~x86) (I can supply more info if required) Thank you very much.
> same problem. But this patch doesn't helps to me. Actually it seems that my patch only works if you have libbonoboui installed. :s That's bad. :( I worked for me because libbonoboui was installed. I removed it and now i can't compile x11-themes/gtk-engines-qt any more.
*** Bug 234904 has been marked as a duplicate of this bug. ***
Setting CMAKE_IN_SOURCE_BUILD=1 allows compile to succeed, but fails during install with: mv: cannot stat `/var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r3/image//usr/local/share/applications': No such file or directory * * ERROR: x11-themes/gtk-engines-qt-0.8-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 4185: Called die * The specific snippet of code: * mv "${D}"/usr/local/share/applications "${D}"/usr/share/ || die; * The die message: * (no error message) * * 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.8-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r3/temp/environment'. *
the same build error here
Created attachment 163666 [details] added CMAKE_IN_SOURCE_BUILD=1 and updated install Sorry that it took a while to notice this report despite the cc (I get a LOT of bug emails from arch keywording requests). Looks like the useflag control of bonobo support does not work when using kde_src_compile instead of cmake-utils_src_compile In the first logfile that uses cmake-utils_src_compile, bonobo is properly disabled on a system with USE -gnome: -- Found GTK library dir: /usr/lib64 -- bonobo support disabled. Some features of the theme engine will not work as intended. -- Found xgettext: /usr/bin/xgettext In the second logfile that uses kde_src_compile to fix other issues, bonobo is NOT disabled despite USE -gnome: -- Found GTK library dir: /usr/lib CMake Error: bonoboui was not found. Ensure you have the libbonoboui development libraries installed, and libonoboui's pkgconfig files are in your pkgconfig search path. So, please try the following ebuild that has Dmitry's suggestion plus the fix for where he got stuck in that approach.
new ebuild works for me.
Thanks. New version committed to CVS. I'm leaving this bug open for a little while longer in case any of the others still have a problem.
(In reply to comment #15) > Thanks. New version committed to CVS. > > I'm leaving this bug open for a little while longer in case any of the others > still have a problem. > This ebuild continues to fail: Linking CXX shared library libqtengine.so [ 51%] Built target qtengine make: *** [all] Error 2 * * ERROR: x11-themes/gtk-engines-qt-0.8-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4218: Called cmake-utils_src_compile * environment, line 988: Called cmake-utils_src_make * environment, line 1028: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * 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.8-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r3/temp/environment'.
Bruce, please attach your full build.log since your emerge is failing at a different point
Created attachment 163787 [details] Bruce's build.log Posting build.log emailed to me
From the build log, it looks like this is a different issue than the libonobo problems that were just fixed. To prove this theory, can you try emerging gtk-engines-qt-0.8-r2 and see if that revision works for you? Also, show me what version of qt you have installed, since it looks like the header files auto-generated by qt are broken in your build: /var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r3/work/gtk-qt-engine/kcm_gtk/kcmgtk.h:92: error: ISO C++ forbids declaration of ‘KcmGtkWidget’ with no type Looking in my own build dir, KcmGtkWidget was defined in kcmgtkwidget.h, which was generated by moc.
(In reply to comment #19) I synced again this morning and when I emerged -uD world only one package was listed, gtk-engines-qt-0.8-r3, and it compiled without error. So the problem seems to have disappeared.
No problems here either.
Ok great, closing this bug then.