Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405701 - x11-libs/qt-webkit-4.8.0-r1 fails to build ('PlatformMediaEngineClassName' undeclared)
Summary: x11-libs/qt-webkit-4.8.0-r1 fails to build ('PlatformMediaEngineClassName' un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-25 07:30 UTC by Sergey Ilinykh
Modified: 2012-03-07 20:58 UTC (History)
3 users (show)

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


Attachments
build.log (build.log.gz,59.11 KB, application/gzip)
2012-02-25 07:32 UTC, Sergey Ilinykh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2012-02-25 07:30:28 UTC
emerge --info
Portage 2.2.0_alpha89 (default/linux/amd64/10.0/developer, gcc-4.6.2, glibc-2.14.1-r2, 3.2.5-gentoo x86_64)
=================================================================
System uname: Linux-3.2.5-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2390_@_1.86GHz-with-gentoo-2.1
Timestamp of tree: Sat, 25 Feb 2012 05:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.7 [enabled]
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/ccache:          3.1.7
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.1
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, 4.6.2
sys-devel/gcc-config:     1.5-r2
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 rion x11 sunrise qt test
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ftree-vectorize -fgraphite-identity -maes -floop-parallelize-all -floop-interchange -floop-block -fira-loop-pressure"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -ftree-vectorize -fgraphite-identity -maes -floop-parallelize-all -floop-interchange -floop-block -fira-loop-pressure"
DISTDIR="/home/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache digest distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j1"
PKGDIR="/home/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="/home/portage/build"
PORTDIR="/home/portage/portage"
PORTDIR_OVERLAY="/var/lib/layman/rion /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/qt /home/rion/projects/test-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cups custom-optimization cxx dbus dri dts dv dvb dvd dvdr emboss encode exif faac faad fam ffmpeg firefox flac fuse gdu gif glitz gnome-keyring gphoto2 gpm gsm gstreamer gtk gtk3 h323 iconv idn ipv6 jabber java6 jingle jpeg jpeg2k lcms libcanberra libnotify mad mmx mng modplug modules mp3 mp4 mpeg mtp mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pch pcmcia pcre pdf png policykit ppds pppd qt3support qt4 readline rtmp samba schroedinger sdl session sip smp snmp speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd theora threads thunar tiff tokenizer truetype udev unicode upnp usb v4l v4l2 vaapi vhosts vnc vorbis vpx webkit wifi x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc 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="dav dav_fs authn_file auth_basic auth_digest authz_groupfile authz_host dir mime log_config" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NETBEANS_MODULES="apisupport harness ide nb websvccommon php profiler webcommon cnd ergonomics dlight" NGINX_MODULES_HTTP="dav fastcgi flv access auth_basic autoindex charset browser empty_gif gzip map memcached rewrite userid" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel i965" 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


platform/graphics/MediaPlayer.cpp: In function 'WTF::Vector<WebCore::MediaPlayerFactory*>& WebCore::installedMediaEngines()':
platform/graphics/MediaPlayer.cpp:196:9: error: 'PlatformMediaEngineClassName' has not been declared
make: *** [.obj/release-static/MediaPlayer.o] Error 1


Reproducible: Always
Comment 1 Sergey Ilinykh 2012-02-25 07:32:46 UTC
Created attachment 303125 [details]
build.log
Comment 2 Søren Færløv 2012-03-07 09:37:19 UTC
I just hit this bug on x86.

Here's my emerge info:
Portage 2.1.10.49 (default/linux/x86/10.0, gcc-4.6.2, glibc-2.13-r4, 3.2.6-gentoo i686)
=================================================================
System uname: Linux-3.2.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.1
Timestamp of tree: Wed, 07 Mar 2012 07:15: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.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.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2, 4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo sunrise mythtv custom-cthulhu
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.3 Oracle-BCLA-JavaSE skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.klid.dk/ftp/gentoo/ ftp://ftp.klid.dk/gentoo/                ftp://ftp.ds.karen.hj.se/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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="/usr/local/portage/layman/sunrise /usr/local/portage/layman/mythtv_portage/Gentoo /usr/local/portage/layman/custom-cthulhu"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa avahi berkdb bidi bluetooth bluray bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus dirac dri dts dvb dvd dvdnav dvdr dvdread encode eselect exif faac faad fbcondecor ffmpeg flac fontconfig fortran gdbm glib glitz gnutls gpm gstreamer hddtemp iconv icu ipv6 jabber java java6 jpeg kde kdehiddenvisibility kipi lcms libass libnotify lm_sensors midi mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap musepack mysql mythtv ncurses nls nptl nptlonly nsplugin nvidia ogg openal openexr opengl openmp pam pch pcmcia pcre pda perl phonon plasma pmu png policykit pppd python qalculate qt3support qt4 quicktime rdesktop readline reflection samba sasl schroedinger sdl semantic-desktop session spl srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg sysfs syslog system-sqlite sysvipc taglib tcpd theora threads tiff truetype udev udisks unicode upnp usb v4l2 vdpau vorbis wifi win32codecs x264 x86 xattr xcomposite xine xinerama xorg xosd xscreensaver xulrunner xv xvid xvmc zeroconf zlib zvbi" 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 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="barbie canon ptp2 samsung sony_dscf1 sony_dscf55" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="dibusb-usb2" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2012-03-07 15:05:13 UTC
Should be fixed now. Sync in a couple of hours and retry.
Thanks for reporting!
Comment 4 Søren Færløv 2012-03-07 15:18:43 UTC
Just for clarification (and satisfying my curiosity):

Was it these changes that fixed this problem?:

http://www.mail-archive.com/webkit-changes@lists.webkit.org/msg19121.html

Anyway, thanks for the quick fix.
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2012-03-07 16:23:54 UTC
(In reply to comment #4)
> Just for clarification (and satisfying my curiosity):
> 
> Was it these changes that fixed this problem?:
> 
> http://www.mail-archive.com/webkit-changes@lists.webkit.org/msg19121.html
> 
> Anyway, thanks for the quick fix.

Nope, the problem was that WTF_USE_GSTREAMER was not defined, thus "#if USE(GSTREAMER)" always evaluated to false.
Comment 6 Herbert Wantesh 2012-03-07 19:53:01 UTC
the ebuild doesn't compile - i get this error:

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'
make: *** [.obj/release-static/MediaPlayer.o] Error 1
make: *** Waiting for unfinished jobs....
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/gstreamer/MediaPlayerPrivateGStreamer.cpp:25:
/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'
make: *** [.obj/release-static/MediaPlayerPrivateGStreamer.o] Error 1
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/WebKitWebSourceGStreamer.h:24,
                 from platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:20:
/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'
make: *** [.obj/release-static/WebKitWebSourceGStreamer.o] Error 1
emake failed
 * ERROR: x11-libs/qt-webkit-4.8.0-r1 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2956:  Called qt4-build_src_compile
 *   environment, line 2549:  Called build_directories 'src/3rdparty/webkit/Source/JavaScriptCore' 'src/3rdparty/webkit/Source/WebCore' 'src/3rdparty/webkit/Source/WebKit/qt' 'tools/designer/src/plugins/qwebview'
 *   environment, line  546:  Called die
 * The specific snippet of code:
 *           emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "emake failed";
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/qt-webkit-4.8.0-r1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/qt-webkit-4.8.0-r1'.
 * The complete build log is located at '/tmp/portage/x11-libs:qt-webkit-4.8.0-r1:20120307-194839.log'.
 * The ebuild environment file is located at '/tmp/tmerge/portage/x11-libs/qt-webkit-4.8.0-r1/temp/environment'.
 * S: '/tmp/tmerge/portage/x11-libs/qt-webkit-4.8.0-r1/work/qt-everywhere-opensource-src-4.8.0'

>>> Failed to emerge x11-libs/qt-webkit-4.8.0-r1, Log file:

>>>  '/tmp/portage/x11-libs:qt-webkit-4.8.0-r1:20120307-194839.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (x11-libs/qt-webkit-4.8.0-r1::gentoo, ebuild scheduled for merge), Log file:
 *   '/tmp/portage/x11-libs:qt-webkit-4.8.0-r1:20120307-194839.log'
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2012-03-07 20:58:02 UTC
bug #407315