During configure phase, webkit-gtk-2.4.8-r200 fails to recognize gcc-5.1 as a gcc version newer than 4.7. Attached patch fixes this issue. Reproducible: Always Steps to Reproduce: 1. emerge -v net-libs/webkit-gtk:2 Actual Results: webkit-gtk failing at configure phase. configure: error: Compiler GCC >= 4.7 or Clang >= 3.3 is required for C compilation !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-libs/webkit-gtk-2.4.8-r200/work/webkitgtk-2.4.8/config.log * ERROR: net-libs/webkit-gtk-2.4.8-r200::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 4806: Called gnome2_src_configure '--disable-quartz-target' '--disable-coverage' '--disable-debug' '--enable-egl' '--enable-geolocation' '--disable-gles2' '--enable-video' '--enable-web-audio' '--enable-introspection' '--enable-jit' '--disable-credential_storage' '--enable-glx' '--disable-spellcheck' '--enable-webgl' '--enable-accelerated-compositing' '--enable-x11-target' '--with-gtk=2.0' '--disable-webkit2' '--enable-dependency-tracking' '--disable-gtk-doc' 'RUBY=/usr/bin/ruby21' * environment, line 3042: Called econf '--docdir=/usr/share/doc/webkit-gtk-2.4.8-r200' '--disable-schemas-compile' '--disable-maintainer-mode' '--disable-gtk-doc' '--disable-quartz-target' '--disable-coverage' '--disable-debug' '--enable-egl' '--enable-geolocation' '--disable-gles2' '--enable-video' '--enable-web-audio' '--enable-introspection' '--enable-jit' '--disable-credential_storage' '--enable-glx' '--disable-spellcheck' '--enable-webgl' '--enable-accelerated-compositing' '--enable-x11-target' '--with-gtk=2.0' '--disable-webkit2' '--enable-dependency-tracking' '--disable-gtk-doc' 'RUBY=/usr/bin/ruby21' * phase-helpers.sh, line 662: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.4.8-r200::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.4.8-r200::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-2.4.8-r200/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-2.4.8-r200/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/webkit-gtk-2.4.8-r200/work/webkitgtk-2.4.8' * S: '/var/tmp/portage/net-libs/webkit-gtk-2.4.8-r200/work/webkitgtk-2.4.8' Expected Results: >>> net-libs/webkit-gtk-2.4.8-r200 merged.
Created attachment 401958 [details, diff] webkit-gtk-2.4.8-gcc5.patch
Created attachment 401960 [details, diff] webkit-gtk-2.4.8-r200.ebuild.patch
(In reply to Robert Sebastian Gerus from comment #1) > Created attachment 401958 [details, diff] [details, diff] > webkit-gtk-2.4.8-gcc5.patch Thanks, I reproduced the problem without the patch, and the patch fixes the build with gcc 5.1.0.
I can confirm, the patch from #c1 is needed and works for both net-libs/webkit-gtk-2.4.8 and net-libs/webkit-gtk-2.4.8-r200 btw, the attachment in #c2 is the whole ebuild, not a patch.
Thanks for reporting and for the patch. This was fixed upstream in 2.4.9 with an almost identical patch to what you proposed. +*webkit-gtk-2.4.9-r200 (24 May 2015) +*webkit-gtk-2.4.9 (24 May 2015) + + 24 May 2015; Alexandre Rostovtsev <tetromino@gentoo.org> + +webkit-gtk-2.4.9.ebuild, +webkit-gtk-2.4.9-r200.ebuild: + Version bump, see + http://webkitgtk.org/2015/05/20/webkitgtk2.4.9-released.html for the + announcement. Fixes build issues with glib-2.44 and gcc-5.1. Fixes bugs + #547324, #547638, #550178.