Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407315 - x11-libs/qt-webkit-4.8.0-r1 - /usr/include/unicode/umachine.h:345:17: error: conflicting declaration ‘typedef int32_t UChar32’
Summary: x11-libs/qt-webkit-4.8.0-r1 - /usr/include/unicode/umachine.h:345:17: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2012-03-07 18:45 UTC by Mark Nowiasz
Modified: 2015-11-14 08:01 UTC (History)
9 users (show)

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


Attachments
build.log (build.log.bz2,46.68 KB, application/x-bzip)
2012-03-07 18:46 UTC, Mark Nowiasz
Details
ebuild patch (qt-webkit-4.8.0-r1.patch,1.09 KB, patch)
2012-03-08 00:12 UTC, Davide Pesavento
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Nowiasz 2012-03-07 18:45:53 UTC
When trying to upgrade x11-libs/qt-webkit-4.8.0-r1, fails to compile with  error: conflicting declaration ‘typedef int32_t UChar32’

Reproducible: Always

Steps to Reproduce:
1.emerge -uDN @world @system
2.
3.
Actual Results:  
[...]

x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -I/usr/include/freetype2 -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -ffunction-sections -fdata-sections -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -I/usr/include/freetype2 -D_REENTRANT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_JIT=1 -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1 -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATION_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=1 -DWTF_USE_GSTREAMER=1 -DXP_UNIX -DENABLE_NETSCAPE_PLUGIN_METADATA_CACHE=1 -DENABLE_GLIB_SUPPORT=1 -DENABLE_JIT=1 -DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT -DQT_MAKEDLL -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtCore -I../../../../../include/QtNetwork -I../../../../../include/QtGui -I../../../../../include -I../JavaScriptCore -I../../Source -I../ThirdParty -I../JavaScriptCore/assembler -I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler -I../JavaScriptCore/heap -I../JavaScriptCore/dfg -I../JavaScriptCore/debugger -I../JavaScriptCore/interpreter -I../JavaScriptCore/jit -I../JavaScriptCore/parser -I../JavaScriptCore/profiler -I../JavaScriptCore/runtime -I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/gobject -I/var/tmp/portage/x11-libs/qt-webkit-4.8.0-r1/work/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/generated -Ibridge/qt -Ipage/qt -Iplatform/graphics/qt -Iplatform/network/qt -Iplatform/qt -I../WebKit/qt/Api -I../WebKit/qt/WebCoreSupport -I. -Iaccessibility -Ibindings -Ibindings/generic -Ibridge -Icss -Idom -Idom/default -Iediting -Ifileapi -Ihistory -Ihtml -Ihtml/canvas -Ihtml/parser -Ihtml/shadow -Iinspector -Iloader -Iloader/appcache -Iloader/archive -Iloader/cache -Iloader/icon -Imathml -Inotifications -Ipage -Ipage/animation -Iplatform -Iplatform/animation -Iplatform/audio -Iplatform/graphics -Iplatform/graphics/filters -Iplatform/graphics/filters/arm -Iplatform/graphics/texmap -Iplatform/graphics/transforms -Iplatform/image-decoders -Iplatform/leveldb -Iplatform/mock -Iplatform/network -Iplatform/sql -Iplatform/text -Iplatform/text/transcoder -Iplugins -Irendering -Irendering/mathml -Irendering/style -Irendering/svg -Istorage -Isvg -Isvg/animation -Isvg/graphics -Isvg/graphics/filters -Isvg/properties -Itesting -Iwebaudio -Iwebsockets -I/var/tmp/portage/x11-libs/qt-webkit-4.8.0-r1/work/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/WebCore/wml -Iworkers -Ixml -Ibridge/jsc -Ibindings/js -I/var/tmp/portage/x11-libs/qt-webkit-4.8.0-r1/work/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization -Ibridge/c -Itesting/js -Igenerated -I../../Source -I../../include -I../include/QtWebKit -I../include -Iplatform/graphics/gstreamer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/X11R6/include -I.moc/release-static -o .obj/release-static/GStreamerGWorld.o platform/graphics/gstreamer/GStreamerGWorld.cpp
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’



Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.9-gentoo x86_64)
=================================================================
System uname: Linux-3.2.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Wed, 07 Mar 2012 17:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apng audiofile bash-completion bcmath berkdb blas bluetooth branding bzip2 cairo calendar cdb cdda cddb cdinstall cdparanoia cdr chromium cli consolekit cracklib crypt css cups curl curlwrappers cvs cxx dbus djvu dri dts dv dvb dvd dvdr eds encode enscript evo exif expat fam ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm gdu geoip gif gimp git glut gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm graphviz gsl gsm gstreamer gtk gtk3 gtkhtml gudev gzip handbook hbci hddtemp hdf5 iconv icq icu idn imagemagick imap imlib ipv6 jabber jack java java6 javascript jbig jingle joystick jpeg jpeg2k kde lame lapack lash latex lcms ldap libcaca libedit libffi libnotify libsamplerate libwww lm_sensors lua lzma lzo mad maildir matroska memlimit mercurial mhash mikmod milter mime mmap mms mmx mng modplug modules mp3 mp4 mpeg mpi mplayer msn mtp mudflap multilib musepack musicbrainz mysql mysqli nas ncurses netcdf nls nntp nocd nptl nptlonly nsplugin ocr odbc offensive ofx ogg openal openexr opengl openmp osc oscar pam pcntl pcre pda pdf php plasma plotutils png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime raw rdesktop readline recode rss samba sasl scanner sdl semantic-desktop session sharedmem shorten slang slp smp sndfile snmp soap sockets sound sox speex spell sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion suid svg sysfs syslog szip taglib tcl tcpd themes theora threads tiff timidity tk tokenizer tracker truetype unicode usb v4l vala vcd videos vim-syntax vnc vorbis vpn vpnc wavpack webkit wmf wxwidgets x264 xattr xcb xcomposite xface xft xine xinerama xml xmlrpc xmp xmpp xorg xosd xpm xscreensaver xsl xulrunner xv xvid yahoo yaz zeitgeist zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mark Nowiasz 2012-03-07 18:46:57 UTC
Created attachment 304557 [details]
build.log

Build log (bzip2)
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-07 19:12:42 UTC
Please post your output of `emerge -vpq dev-libs/icu' in a comment.
Comment 3 Mark Nowiasz 2012-03-07 19:25:49 UTC
(In reply to comment #2)
> Please post your output of `emerge -vpq dev-libs/icu' in a comment.

Done:

[ebuild   R   ] dev-libs/icu-4.8.1.1-r1  USE="-debug -doc -examples -static-libs"
Comment 4 Vasilis Lourdas 2012-03-07 19:47:53 UTC
Confirm.

emerge --info
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.9-gentoo x86_64)
=================================================================
System uname: Linux-3.2.9-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 07 Mar 2012 16:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo vmware Local-overlay-Vasilis
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula PUEL Oracle-BCLA-JavaSE AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=generic"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ntua.gr/pub/linux/gentoo/ http://cesium.di.uminho.pt/pub/gentoo/ ftp://cesium.di.uminho.pt/pub/gentoo/ http://ftp.lecl.net/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo http://gentoo.mirrors.hoobly.com/ ftp://mirror.its.uidaho.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://ftp.twaren.net/Linux/Gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_GB en_US el"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions aio alsa amd64 apache2 apng archive asf bash-completion bcmath berkdb branding bzip2 bzlib cairo calendar caps cdr charconv chm cli consolekit contrast corefonts cracklib crypt css ctype cups cupsddk curl curlwrappers custom-optimization cxx dba dbus dcc_video declarative device-mapper dia dmi dri dts dvd dvdr dvdread ebook effects emboss encode exif expat extras faac faad fam fastcgi fat fbcon ffmpeg fftw filter firefox firefox3 flac flatfile fontconfig foomaticdb fpm ftp gcj gd gdbm gif gimp gimpprint git glib glx gmp gnomedb gnutls gocr gphoto2 gpm graphviz gs gstreamer gtk hddtemp hotpixels howl iconv icu id3tag imagemagick imap imlib innodb inotify jabber java java6 javascript jpeg jpeg2k json kde kdeenablefinal kdehiddenvisibility kipi lame lcdfilter lcms lensfun libsamplerate libwww lm_sensors lzma mad madwifi maildir mailwrapper maps matroska mdadm melt mhash mime mmap mmx mmxext modules motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly ntfs ntfsprogs objc offensive ofx ogg oldpim opengl openmp optimization pam pango pcmcia pcntl pcre pdf pdfimport pdo pear phonon php plasma pmu png policykit posix postgres ppds pppd python qt3support qt4 quicktime rar raw rdesktop readline redeyes reports romio ruby sasl scanner sdl semantic-desktop server session sha512 sharedext simplexml smp sndfile soap sockets speex spell spreadsheet sqlite sqlite3 srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog sysvipc tcltk tcpd templates tetex theora threads tidy tiff tokenizer tordns truetype udev unicode urandom usb userlocales vda vdpau video vmware_guest_linux vmware_guest_windows vncviewer vorbis wddx webkit windeco wv wxgtk1 x264 xcomposite xft xine xinerama xml xmlreader xmlrpc xmlwriter xorg xpdf-headers xpm xprint xscreensaver xsl xulrunner xv xvid xvnc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias version" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US el" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip headers_more limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -vp icu

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-libs/icu-4.8.1.1-r1  USE="-debug -doc -examples -static-libs" 0 kB
Comment 5 Davide Pesavento gentoo-dev 2012-03-07 23:43:41 UTC
I can't reproduce... what's your version of media-libs/gstreamer ?
Comment 6 Davide Pesavento gentoo-dev 2012-03-08 00:12:23 UTC
Created attachment 304573 [details, diff]
ebuild patch

Please test if this patch works for you.
Comment 7 Jouni Kosonen 2012-03-08 02:20:17 UTC
The patch seems to work at least for me, it allows the compilation to finish.

About the error itself: looking at the include stack at the error, this needs at least dev-libs/libxml2[icu] to reproduce. For what it's worth, dev-libs/icu likely has the right definition here, as U_SENTINEL is of type UChar32 and defined as -1. 

From before the recompilation my emerge -pqv qt-webkit dev-libs/icu media-libs/gstreamer dev-libs/libxml2

[ebuild   R   ] dev-libs/icu-4.8.1.1-r1  USE="-debug -doc -examples -static-libs" 
[ebuild   R   ] dev-libs/libxml2-2.7.8-r5  USE="icu ipv6 python readline -debug -doc -examples -static-libs -test" 
[ebuild   R   ] media-libs/gstreamer-0.10.35  USE="introspection nls -test" 
[ebuild     U ] x11-libs/qt-webkit-4.8.0-r1 [4.8.0] USE="exceptions gstreamer%* jit (-aqua) (-c++0x) -debug -pch (-qpa) (-dbus%*) (-kde%*)"
Comment 8 Coacher 2012-03-08 05:46:09 UTC
I can confirm this bug also. The output error trace is the same. USE flags are almost identical to comment #7, only I have "pch" enabled in qt-webkit. Currently testing the suggested patch.
Comment 9 Coacher 2012-03-08 07:31:05 UTC
The proposed patch fixes this issue for me too.
Comment 10 Davide Pesavento gentoo-dev 2012-03-08 15:27:10 UTC
Patch committed.

  08 Mar 2012; Davide Pesavento <pesa@gentoo.org> qt-webkit-4.8.0-r1.ebuild:
  Forcefully enable text_breaking_with_icu to fix building with USE=gstreamer
  when dev-libs/libxml2[icu] is installed. Fixes bug #407315 by Mark Nowiasz;
  thanks to Jouni Kosonen and Coacher for testing.
Comment 11 Michael 2012-03-09 16:53:35 UTC
It seems makes excessive dependence in case USE="-icu". I'm just unhappy with that.
Comment 12 Davide Pesavento gentoo-dev 2012-03-09 16:57:23 UTC
(In reply to comment #11)
> It seems makes excessive dependence in case USE="-icu". I'm just unhappy
> with that.

What? There isn't any "icu" USE flag in qt-webkit, the dependency is mandatory.
Comment 13 Michael 2012-03-09 17:42:40 UTC
(In reply to comment #12)
> 
> What? There isn't any "icu" USE flag in qt-webkit, the dependency is
> mandatory.

Is it necessary even if libxml2 built without icu?

[ebuild   R    ] dev-libs/libxml2-2.7.8-r5  USE="python readline -debug -doc -examples -icu -ipv6 -static-libs -test" 0 kB
Comment 14 Davide Pesavento gentoo-dev 2012-03-09 17:50:45 UTC
Yes.
Comment 15 Davide Pesavento gentoo-dev 2012-03-09 17:53:49 UTC
(In reply to comment #14)
> Yes.

Or better, please open a new bug and we'll see if icu can be made optional.
Comment 16 Alec Meyers 2012-04-07 00:04:12 UTC
(In reply to comment #15)
> Or better, please open a new bug and we'll see if icu can be made optional.

I opened Bug 411091