Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 428130

Summary: 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
Product: Gentoo Linux Reporter: Homer <gentoo>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: matrix47
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    
Attachments: webkit-gtk-1.6.3-gcc-4.7-1.patch
net-libs:webkit-gtk-1.6.3-r200:20120726-011520.log
net-libs:webkit-gtk-1.6.3-r200:20120726-011520.log
net-libs:webkit-gtk-1.6.3-r300:20120726-053921.log

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 linuxfromscratch.org 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]
webkit-gtk-1.6.3-gcc-4.7-1.patch
Comment 2 Homer 2012-07-26 06:31:00 UTC
Created attachment 319272 [details]
net-libs:webkit-gtk-1.6.3-r200:20120726-011520.log
Comment 3 Homer 2012-07-26 06:36:50 UTC
Created attachment 319274 [details]
net-libs:webkit-gtk-1.6.3-r200:20120726-011520.log
Comment 4 Homer 2012-07-26 06:39:19 UTC
Created attachment 319276 [details]
net-libs:webkit-gtk-1.6.3-r300:20120726-053921.log
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.