In file included from ./Source/WTF/wtf/Platform.h:636:0, from ./Source/JavaScriptCore/config.h:30, from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:26: ./Source/WTF/wtf/FeatureDefines.h:880:2: error: #error "ENABLE(VIDEO_TRACK) requires ENABLE(VIDEO)" #error "ENABLE(VIDEO_TRACK) requires ENABLE(VIDEO)" ^ Reproducible: Always Portage 2.2.14_rc1 (python 2.7.8-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.16.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.16.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-4200U_CPU_@_1.60GHz-with-gentoo-2.2 KiB Mem: 8088252 total, 1112768 free KiB Swap: 0 total, 0 free Timestamp of tree: Sun, 05 Oct 2014 17:00:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 distcc 3.1 x86_64-gentoo-linux-gnu [disabled] app-shells/bash: 4.2_p52 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1 dev-lang/python: 2.7.8 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo local proaudio pd-overlay ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE as-is freedist" CBUILD="x86_64-gentoo-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native" CHOST="x86_64-gentoo-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="fr_BE.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/overlay /var/lib/layman/pro-audio /var/lib/layman/pd-overlay" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 apng branding bzip2 cairo cli cracklib crypt cryptsetup cups cxx dbus dlna dri dts exif flac gif gpm gtk gudev iconv jack jackmidi jpeg lcms libcanberra libnotify libsamplerate mad mmx mng modules mp3 mpeg ncurses nls nptl ocr ogg opengl openmp osc pam pango pcre pdf png qt4 readline sane scanner sdl session sna sndfile snmp spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev unicode upnp usb uxa vorbis wmf x264 xcb xinerama xml xosd xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_BE fr_FR nl nl_BE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="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" USE_PYTHON="2.7" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Created attachment 386082 [details] build log
[ebuild U ] net-libs/webkit-gtk-2.4.6-r200:2 [2.4.4-r200:2] USE="X egl jit opengl spell webgl (-aqua) -coverage -debug -geoloc -gles2 -gstreamer -introspection -libsecret {-test}" 0 KiB
Same problems here: # emerge --info webkit-gtk Portage 2.2.14_rc1 (python 2.7.8-final-0, default/linux/x86/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.10.49 i686) ================================================================= System Settings ================================================================= System uname: Linux-3.10.49-i686-Quad-Core_AMD_Opteron-tm-_Processor_2389-with-gentoo-2.2 KiB Mem: 2071676 total, 474432 free KiB Swap: 0 total, 0 free Timestamp of tree: Sat, 04 Oct 2014 18:00:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p29 dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.1 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.5.4, 4.6.4, 4.7.4, 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0.90::poly-c sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo poly-c Installed sets: @system ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=barcelona -O2 -pipe" 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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/logrotate.d /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=barcelona -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y --keep-going --jobs=1 --misspell-suggestions=n --autounmask=n --quiet-build=n --verbose-slot-rebuilds=n" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/var/lib/layman/poly-c" USE="3dnow 3dnowext X a52 aac acpi alsa berkdb branding bzip2 cairo cli cracklib crypt cxx dbus declarative dri dts emboss encode exif fam firefox gdbm gif glamor gmp gnutls gtk iconv idn inotify jpeg jpeg2k kde kipi lcms libnotify mad mmap mmx mmxext mng modules mp3 mpeg ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf plasma png ppds qt3 qt3support qt4 readline sdl session slang sse sse2 ssl startup-notification svg theora threads tiff truetype udev udisks unicode upower usb vorbis vpx wxwidgets x264 x86 xattr xcb xcomposite xml xscreensaver xv xvid zlib" ABI_X86="32" ALSA_CARDS="intel8x0" APACHE2_MODULES="unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON ================================================================= Package Settings ================================================================= net-libs/webkit-gtk-2.4.4 was built with the following: USE="X (-aqua) -coverage -debug egl -geoloc -gles2 -gstreamer -introspection jit -libsecret opengl -spell -test -wayland webgl" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
Not sure how upstream plans to handle this, anyway, I think sedding: ENABLE_VIDEO_TRACK=1 in Source/autotools/SetupWebKitFeatures.m4 to change the value to "0" when building with USE -gstreamer should work
Created attachment 386236 [details, diff] set ENABLE_VIDEO_TRACK equal to ENABLE_VIDEO epatch_user is not supported/didn't work, so I hit SIGSTOP during src_prepare ceres ~ 130 # emerge -av1 --nodeps =net-libs/webkit-gtk-2.4.6 These are the packages that would be merged, in order: [ebuild U ] net-libs/webkit-gtk-2.4.6:3/25 [2.4.4:3/25] USE="X egl jit opengl spell webgl (-aqua) -coverage -debug -geoloc -gles2 -gstreamer -introspection -libsecret {-test} -wayland" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Running pre-merge checks for net-libs/webkit-gtk-2.4.6 >>> Emerging (1 of 1) net-libs/webkit-gtk-2.4.6::gentoo * webkitgtk-2.4.6.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking webkitgtk-2.4.6.tar.xz to /var/tmp/portage/net-libs/webkit-gtk-2.4.6/work >>> Source unpacked in /var/tmp/portage/net-libs/webkit-gtk-2.4.6/work >>> Preparing source in /var/tmp/portage/net-libs/webkit-gtk-2.4.6/work/webkitgtk-2.4.6 ... * Applying webkit-gtk-1.11.90-gtk-docize-fix.patch ... [ ok ] * Applying webkit-gtk-2.2.5-gir-nvidia-hangs.patch ... [ ok ] * Applying webkit-gtk-2.2.5-hppa-platform.patch ... [ ok ] * Applying webkit-gtk-2.2.5-ia64-platform.patch ... [ ok ] * Applying webkit-gtk-2.4.1-ia64-malloc.patch ... [ ok ] * Applying webkit-gtk-2.4.4-atomic-ppc.patch ... [ ok ] ^Z zsh: suspended emerge -av1 --nodeps =net-libs/webkit-gtk-2.4.6 ceres ~ 148 # cd /var/tmp/portage/net-libs/webkit-gtk-2.4.6/work/webkitgtk-2.4.6/ ceres webkitgtk-2.4.6 # patch -p1 < /tmp/video_track_depends_video.patch patching file Source/autotools/SetupWebKitFeatures.m4 ceres webkitgtk-2.4.6 # cd - ~ ceres ~ # fg [1] + continued emerge -av1 --nodeps =net-libs/webkit-gtk-2.4.6 * Applying webkit-gtk-2.4.4-jpeg-9a.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-libs/webkit-gtk-2.4.6/work/webkitgtk-2.4.6' ... * Skipping 'gtkdocize --copy' due gtkdocize not installed * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I Source/autotools ... [ ok ] [...]
(In reply to Michael Weber from comment #5) > Created attachment 386236 [details, diff] [details, diff] > set ENABLE_VIDEO_TRACK equal to ENABLE_VIDEO This patch works for 2.4.6:3 and 2.4.6-r200:2 w/ [-gstreamer]
+ 11 Oct 2014; Pacho Ramos <pacho@gentoo.org> + +files/webkit-gtk-2.4.6-gstreamer-check.patch, webkit-gtk-2.4.6-r200.ebuild, + webkit-gtk-2.4.6.ebuild: + Fix building with USE -gstreamer, bug #524518 by Xavier Miller, Lars Wendler + (Polynomial-C), Michael Weber +