Hi, I can't emerge the update to webkit-gtk, it takes a very long time to compile then, at the very end (or at least I think so) it fail with this error (it's in italian, but I think you understand it): make[2]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.8.1-r201/work/webkit-1.8.1' test ! -d ./Source/WebKit/gtk/po || \ mkdir -p ./Source/WebKit/gtk/po test ! -f ./Source/WebKit/gtk/po/webkit-2.0.pot || \ test -z "Source/WebKit/gtk/po/it.mo" || make Source/WebKit/gtk/po/it.mo make[2]: Entering directory `/var/tmp/portage/net-libs/webkit-gtk-1.8.1-r201/work/webkit-1.8.1' make[2]: «Source/WebKit/gtk/po/it.mo» è aggiornato. make[2]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.8.1-r201/work/webkit-1.8.1' touch stamp-po ./.deps/DerivedSources make[1]: ./.deps/DerivedSources: comando non trovato make[1]: *** [all-local] Errore 127 make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.8.1-r201/work/webkit-1.8.1' make: *** [all] Errore 2 * ERROR: net-libs/webkit-gtk-1.8.1-r201 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-1.8.1-r201'`, * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-1.8.1-r201'`. * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.8.1-r201/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.8.1-r201/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/webkit-gtk-1.8.1-r201/work/webkit-1.8.1' full logs etc as attachments Rebuild has been triggered by revdep-rebuild.
Created attachment 314905 [details] emerge --info '=net-libs/webkit-gtk-1.8.1-r201'
Created attachment 314907 [details] emerge -pqv '=net-libs/webkit-gtk-1.8.1-r201'
Created attachment 314909 [details] full build log
I was seeing the same issue with any revision I tried. I looked into it further, and the makefile expects make to set $(mkdir_p), while the makefile itself explicitly sets $(MKDIR_P). I'll attach a quick patch to change the case of the variable. I'm not sure _why_ $(mkdir_p) isn't being set, but this at least works around the issue. Maybe someone more knowledgable can identify the underlying issue.
Created attachment 314945 [details, diff] Fix mkdir_p case in makefile
Patch made it work for me, for gtk2 and gtk3.
Would be nice to send this to upstream (bugs.webkit.org) if possible. Thanks
Notified upstream at https://bugs.webkit.org/show_bug.cgi?id=88926
Upstream already fixed this in SVN. https://bugs.webkit.org/show_bug.cgi?id=88790 http://trac.webkit.org/changeset/120012
Bug is fixed in portage, webkit-gtk-1.8.1-r301 is not affected by this bug, therefore it's fixed. http://packages.gentoo.org/package/net-libs/webkit-gtk
(In reply to comment #10) > Bug is fixed in portage, webkit-gtk-1.8.1-r301 is not affected by this bug, > therefore it's fixed. > http://packages.gentoo.org/package/net-libs/webkit-gtk False alarm, r301 is affected too, forgot to undo the patch. Bugs is not fixed in portage.
I'd like to help anyone having this issue. I was waiting for an official fix in portage, until yesterday when I rebooted my system. I wasn't able to log in into gdm anymore (black screen with the mouse spinner, nothing in the logs[1]). Two simple options to compile both r201 and r301 are: * create a local overlay: 1. copy the two ebuild and the files directory from /usr/portage/net-libs/webkit-gtk to /usr/local/portage/net-libs/webkit-gtk 2. add the patch in comment 5 to the files directory of your local overlay, like this: /usr/local/portage/net-libs/webkit-gtk/files/webkit-gtk-mkdir-p.patch 3. edit the ebuild adding the patch as last in src_prepare() {...}: epatch "${FILESDIR}/${PM}-mkdir-p.patch" 3. run ebuild <ebuild-name> manifest 4. emerge the package again * run the patch manually in the working directory while it's compiling... (dirty, I know, but require less effort) 1. download the patch of comment 5 and place it somewhere 2. run emerge =net-libs/webkit-gtk-1.8.1-r201 # (or 301) 3. wait it to start then 4. cd /var/tmp/portage/net-libs/webkit-gtk-1.8.1-r201/work/webkit-gtk-*/ 5. patch -p1 < /path/to/the/patch-from-comment-5 6. wait the build to end, should work [1] I don't know if this was related, I had other issues in my portage tree :) It was some time since the previous time I upgraded the system and had many breakage, so It *may* not be related.
(In reply to comment #12) The patch is confirmed to fix the issue in all ebuilds that are affected. I hope gentoo will fix the ebuild with the information in this bug report soon since that would solve the issue.
Thank you for patch. Hope it gets fixed in tree soon.
(In reply to comment #5) > Created attachment 314945 [details, diff] [details, diff] > Fix mkdir_p case in makefile Thanks. + 20 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> + webkit-gtk-1.8.1-r201.ebuild, webkit-gtk-1.8.1-r301.ebuild: + Fix compability with sys-devel/automake >= 1.12 wrt #420591 by Ryan Pennucci http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.8.1-r201.ebuild?r1=1.4&r2=1.5 http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/webkit-gtk-1.8.1-r301.ebuild?r1=1.4&r2=1.5
I don't know about gnome-overlay. Might need to copy this fix there. Please check it out.