From build.log: In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:807, from /usr/include/gstreamer-0.10/gst/gstconfig.h:200, from /usr/include/gstreamer-0.10/gst/gstelement.h:55, from /usr/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/include/gstreamer-0.10/gst/gst.h:34, from platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:32, from platform/graphics/MediaPlayer.cpp:46: /usr/include/unicode/umachine.h:345:17: error: conflicting declaration ‘typedef int32_t UChar32’’ ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:71:18: error: ‘UChar32’ has a previous declaration as ‘typedef uint32_t UChar32’ Reproducible: Always
Created attachment 289099 [details] tail -n 200 build.log
Created attachment 289101 [details] emerge --info
Also x11-libs/qt-webkit-4.8.0_rc1 fails.
Created attachment 290031 [details] build.log of 4.8.0_rc1 (last 200 lines)
Confirm fail for 4.8.0_rc1 It seems Apple removed Phonon support at all http://trac.webkit.org/changeset/89832/trunk/Source/WebCore/platform/graphics/MediaPlayer.cpp
Had same problem. Got it to compile by adding "-no-phonon -no-phonon-backend -no-multimedia -no-audio-backend" to ebuilds myconf, but could be it is only phonon related.
Thank you for the Phonon/Multimedia pointer. I've just tried it with "-no-phonon -no-phonon-backend" but had no luck. I'll try again now with your settings ("-no-phonon -no-phonon-backend -no-multimedia -no-audio-backend").
For me also "-no-phonon -no-phonon-backend -no-multimedia -no-audio-backend" doesn't work.
If we place "#define GST_DISABLE_DEPRECATED" before including MediaPlayerPrivateGStreamer.h it is possible to compile MediaPlayer.cpp. This define prevents including of libxml/parser.h which is not necessary right here (see comments in gstconfig.h). But there're some other files that use one of gstreamer's headers.
(In reply to comment #9) > If we place "#define GST_DISABLE_DEPRECATED" before including > MediaPlayerPrivateGStreamer.h it is possible to compile MediaPlayer.cpp. This was the right hint for me. If I add GST_DISABLE_DEPRECATED to the preprocessor (add -D GST_DISABLE_DEPRECATED to myconf) I can finally compile qt-webkit. Thank you VoofT!
Created attachment 290459 [details] qt-webkit-4.8.0_rc1-r1.ebuild
Also, as i wrote before, it seems, there is no any phonon dependency, so we can simply delete it. But if it is so, there is gstreamer dependency. Look here: https://bugs.webkit.org/show_bug.cgi?id=63448
Is this still an issue in 4.8.0 ?
(In reply to comment #13) > Is this still an issue in 4.8.0 ? No - the qting-edge 4.8.0 ebuilds works for me.