Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412027 - net-libs/webkit-gtk-1.8.0-r300[webkit2] fails to build with gcc-4.5
Summary: net-libs/webkit-gtk-1.8.0-r300[webkit2] fails to build with gcc-4.5
Status: RESOLVED FIXED
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-14 19:27 UTC by Rafał Mużyło
Modified: 2012-04-15 19:13 UTC (History)
3 users (show)

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


Attachments
build log (net-libs:webkit-gtk-1.8.0-r300:20120414-132842.log,364.94 KB, text/plain)
2012-04-14 19:27 UTC, Rafał Mużyło
Details

Note You need to log in before you can comment on or make changes to this bug.
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).