Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428130 - net-libs/webkit-gtk-1.6.3-r200/r300 with sys-devel/gcc-4.7.1 - from Source/WebCore/plugins/gtk/PluginViewGtk.cpp:75: /usr/include/X11/Intrinsic.h:66:15: error: ‘typedef char* String’ conflicts with a previous declaratio
Summary: net-libs/webkit-gtk-1.6.3-r200/r300 with sys-devel/gcc-4.7.1 - from Source/We...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Keywords: PATCH
Depends on:
Blocks: gcc-4.7
  Show dependency tree
Reported: 2012-07-26 06:10 UTC by Homer
Modified: 2012-12-03 03:23 UTC (History)
1 user (show)

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

webkit-gtk-1.6.3-gcc-4.7-1.patch (webkit-gtk-1.6.3-gcc-4.7-1.patch,1.15 KB, patch)
2012-07-26 06:22 UTC, Homer
Details | Diff
net-libs:webkit-gtk-1.6.3-r200:20120726-011520.log (net-libs:webkit-gtk-1.6.3-r200:20120726-011520.log.gz,68.90 KB, text/plain)
2012-07-26 06:31 UTC, Homer
net-libs:webkit-gtk-1.6.3-r200:20120726-011520.log (net-libs:webkit-gtk-1.6.3-r200:20120726-011520.log.gz,68.90 KB, application/x-gzip)
2012-07-26 06:36 UTC, Homer
net-libs:webkit-gtk-1.6.3-r300:20120726-053921.log (net-libs:webkit-gtk-1.6.3-r300:20120726-053921.log.gz,68.82 KB, application/x-gzip)
2012-07-26 06:39 UTC, Homer

Note You need to log in before you can comment on or make changes to this bug.
Description Homer 2012-07-26 06:10:40 UTC
After many warnings like:

./Source/JavaScriptCore/wtf/NullPtr.h:50:1: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat]

The build fails with:

make[1]: *** [Source/WebCore/plugins/gtk/libWebCoreGtk_la-PluginViewGtk.lo] Error 1

And no other information, but maybe I missed it, so I'll attach the full build log for confirmation.

I found a patch at that works (also attached).

Reproducible: Always

Steps to Reproduce:

1. emerge "=net-libs/webkit-gtk-1.6.3-r200" "=net-libs/webkit-gtk-1.6.3-r300"

Actual Results:  

Build fails on PluginViewGtk.cpp

Expected Results:  
Build shouldn't fail
Comment 1 Homer 2012-07-26 06:22:02 UTC
Created attachment 319270 [details, diff]
Comment 2 Homer 2012-07-26 06:31:00 UTC
Created attachment 319272 [details]
Comment 3 Homer 2012-07-26 06:36:50 UTC
Created attachment 319274 [details]
Comment 4 Homer 2012-07-26 06:39:19 UTC
Created attachment 319276 [details]
Comment 5 Pacho Ramos gentoo-dev 2012-07-26 18:49:42 UTC
Please retry with webkit-gtk-1.8.x
Comment 6 Pacho Ramos gentoo-dev 2012-08-26 07:08:39 UTC
(In reply to comment #5)
> Please retry with webkit-gtk-1.8.x
Comment 7 Homer 2012-12-03 03:23:27 UTC
Sorry I missed this TEST-REQUEST.

1.8.3-r200 and 1.8.3-r300 tested and working.