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

Bug 412027

Summary: net-libs/webkit-gtk-1.8.0-r300[webkit2] fails to build with gcc-4.5
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: gorkypl, kripton, travisghansen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=83984
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Rafał Mużyło 2012-04-14 19:27:28 UTC
Created attachment 308975 [details]
build log

Build log doesn't say much:
In file included from ./DerivedSources/WebKit2/webkit2gtk/include/webkit2/WebK
itPrintOperation.h:29:0,
                 from ./DerivedSources/WebKit2/webkit2gtk/webkit2/WebKitEnumTy
pes.h:60,
                 from ./DerivedSources/WebKit2/webkit2gtk/include/webkit2/webk
it2.h:31,
                 from Tools/MiniBrowser/gtk/BrowserSettingsDialog.h:30,
                 from Tools/MiniBrowser/gtk/BrowserSettingsDialog.c:26:
./DerivedSources/WebKit2/webkit2gtk/include/webkit2/WebKitWebView.h:51:31: error: redefinition of typedef ‘WebKitWebView’
./DerivedSources/WebKit2/webkit2gtk/include/webkit2/WebKitDefines.h:50:31: note: previous declaration of ‘WebKitWebView’ was here
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-14 19:43:06 UTC
Only happens with gcc-4.5; with gcc-4.6, builds fine.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-14 20:05:47 UTC
Upstream bug filed at https://bugs.webkit.org/show_bug.cgi?id=83984
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-15 19:13:29 UTC
Thanks for reporting, fixed in cvs.

>  15 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  webkit-gtk-1.8.0-r300.ebuild,
>  +files/webkit-gtk-1.8.0-typedef-WebKitWebView.patch:
>  Fix building with USE=webkit2 and gcc-4.5 (bug #412027, thanks to Rafał
>  Mużyło and Travis Hansen for reporting).