Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547638 - net-libs/webkit-gtk-2.4.8-r200 fails to build with gcc-5.1, patch included
Summary: net-libs/webkit-gtk-2.4.8-r200 fails to build with gcc-5.1, patch included
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Keywords: PATCH
Depends on:
Blocks: gcc-5
  Show dependency tree
Reported: 2015-04-25 05:44 UTC by Robert Sebastian Gerus
Modified: 2015-05-24 22:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

webkit-gtk-2.4.8-gcc5.patch (webkit-gtk-2.4.8-gcc5.patch,1.25 KB, patch)
2015-04-25 05:45 UTC, Robert Sebastian Gerus
Details | Diff
webkit-gtk-2.4.8-r200.ebuild.patch (webkit-gtk-2.4.8-r200.ebuild,9.99 KB, patch)
2015-04-25 05:49 UTC, Robert Sebastian Gerus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Sebastian Gerus 2015-04-25 05:44:45 UTC
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:
 *     , 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'
 *, line  662:  Called __helpers_die 'econf failed'
 *, 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.
Comment 1 Robert Sebastian Gerus 2015-04-25 05:45:57 UTC
Created attachment 401958 [details, diff]
Comment 2 Robert Sebastian Gerus 2015-04-25 05:49:34 UTC
Created attachment 401960 [details, diff]
Comment 3 Mark Wright gentoo-dev 2015-04-30 18:26:26 UTC
(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.
Comment 4 jospezial 2015-05-16 15:28:15 UTC
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.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-05-24 22:45:15 UTC
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 <>
+  +webkit-gtk-2.4.9.ebuild, +webkit-gtk-2.4.9-r200.ebuild:
+  Version bump, see
+ for the
+  announcement. Fixes build issues with glib-2.44 and gcc-5.1. Fixes bugs
+  #547324, #547638, #550178.