Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WebKit-GTK fails to merge while upgrading to GNOME3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Barvinok
n00b
n00b


Joined: 29 Sep 2013
Posts: 34
Location: Ukraine

PostPosted: Thu Dec 05, 2013 5:02 pm    Post subject: WebKit-GTK fails to merge while upgrading to GNOME3 Reply with quote

Hi, all.

I've been doing my regular emerge -Du world on a working laptop with gnome2, when all of a sudden net-libs/webkit-gtk-2.0.4 threw a syntax error in compilation. I did all the usual tricks like disabling distcc and using makeopts -j1. I even tried to build this package on my server so I can deploy binpkg on a target machine but to no avail -- all the same errors every time. Any suggestions will be appreciated.

The relevant part of a build log
Code:

Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp: In constructor ‘WebCore::CustomFilterValidatedProgram::CustomFilterValidatedProgram(WebCore::CustomFilterGlobalContext*, const WebCore::CustomFilterProgramInfo&)’:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:177:74: error: invalid use of incomplete type ‘class WebCore::CustomFilterGlobalContext’
In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:54:7: error: forward declaration of ‘class WebCore::CustomFilterGlobalContext’
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:177:114: error: invalid use of incomplete type ‘class WebCore::CustomFilterGlobalContext’
In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:54:7: error: forward declaration of ‘class WebCore::CustomFilterGlobalContext’
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp: In member function ‘WTF::PassRefPtr<WebCore::CustomFilterCompiledProgram> WebCore::CustomFilterValidatedProgram::compiledProgram()’:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:207:29: error: incomplete type ‘WebCore::CustomFilterCompiledProgram’ used in nested name specifier
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:207:80: error: invalid use of incomplete type ‘class WebCore::CustomFilterGlobalContext’
In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:54:7: error: forward declaration of ‘class WebCore::CustomFilterGlobalContext’
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp: In destructor ‘WebCore::CustomFilterValidatedProgram::~CustomFilterValidatedProgram()’:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:514:24: error: invalid use of incomplete type ‘class WebCore::CustomFilterGlobalContext’
In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:54:7: error: forward declaration of ‘class WebCore::CustomFilterGlobalContext’
In file included from ./Source/WTF/wtf/RefPtr.h:28:0,
                 from ./Source/WTF/wtf/HashFunctions.h:24,
                 from ./Source/WTF/wtf/HashTraits.h:24,
                 from Source/WebCore/platform/graphics/filters/CustomFilterProgramInfo.h:37,
                 from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:36,
                 from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:
./Source/WTF/wtf/PassRefPtr.h: In instantiation of ‘void WTF::derefIfNotNull(T*) [with T = WebCore::CustomFilterCompiledProgram]’:
./Source/WTF/wtf/RefPtr.h:56:35:   required from ‘WTF::RefPtr<T>::~RefPtr() [with T = WebCore::CustomFilterCompiledProgram]’
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:163:28:   required from here
./Source/WTF/wtf/PassRefPtr.h:53:13: error: invalid use of incomplete type ‘class WebCore::CustomFilterCompiledProgram’
In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:53:7: error: forward declaration of ‘class WebCore::CustomFilterCompiledProgram’
In file included from ./Source/WTF/wtf/RefPtr.h:28:0,
                 from ./Source/WTF/wtf/HashFunctions.h:24,
                 from ./Source/WTF/wtf/HashTraits.h:24,
                 from Source/WebCore/platform/graphics/filters/CustomFilterProgramInfo.h:37,
                 from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:36,
                 from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:
./Source/WTF/wtf/PassRefPtr.h: In instantiation of ‘void WTF::refIfNotNull(T*) [with T = WebCore::CustomFilterCompiledProgram]’:
./Source/WTF/wtf/PassRefPtr.h:100:9:   required from ‘WTF::PassRefPtr<T>::PassRefPtr(const WTF::RefPtr<U>&) [with U = WebCore::CustomFilterCompiledProgram; T = WebCore::CustomFilterCompiledProgram]’
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:211:12:   required from here
./Source/WTF/wtf/PassRefPtr.h:47:13: error: invalid use of incomplete type ‘class WebCore::CustomFilterCompiledProgram’
In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0:
Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:53:7: error: forward declaration of ‘class WebCore::CustomFilterCompiledProgram’
make[1]: *** [Source/WebCore/platform/graphics/filters/libWebCorePlatform_la-CustomFilterValidatedProgram.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f Source/WebCore/platform/graphics/filters/.deps/libWebCorePlatform_la-DistantLightSource.Tpo Source/WebCore/platform/graphics/filters/.deps/libWebCorePlatform_la-DistantLightSource.Plo
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-2.0.4/work/webkitgtk-2.0.4'
make: *** [all] Error 2


Here's emerge pqv
Code:
emerge -pqv '=net-libs/webkit-gtk-2.0.4::gentoo'
[ebuild     U ] net-libs/webkit-gtk-2.0.4 [1.8.3-r300] USE="geoloc gstreamer introspection* jit spell (-aqua) -coverage -debug -libsecret% {-test} -webgl (-doc%) (-webkit2%*)"


Here's emerge info
Code:
Inspiron ~ # emerge --info '=net-libs/webkit-gtk-2.0.4::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.16.0, 3.10.17-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.17-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.2
KiB Mem:     1530896 total,   1113412 free
KiB Swap:    2097148 total,   2095828 free
Timestamp of tree: Thu, 05 Dec 2013 16:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -mmmx -msse -msse2 -msse3 -mssse3 -funroll-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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=core2 -O2 -pipe -mmmx -msse -msse2 -msse3 -mssse3 -funroll-loops"
DISTDIR="/usr/portage/distfiles"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.iteam.net.ua/ http://gentoo.kiev.ua/ftp/"
LANG="uk_UA.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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=""
USE="64bit X a52 aac aacplus acl ads aio alsa amd64 amr apng applet archive audio avcodec avformat berkdb blksha1 bluetooth bonobo branding bzip2 cairo caps-ng cdda cdr channels classic client community consolekit cpufreq cracklib creds crypt curl custom-cflags custom-optimization cxx dbus debugger development devhelp dhcpcd directfb djvu dri dts dvbpsi dvd dvdr dvi e2fsprogs edit eds egl encode exif extensions fam fastscroll fbcon ffmpeg flac gallium gbm gcdmaster gconf gcrypt gd gdbm gdu gecko geoloc gif git glib gmp gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm gps gstreamer gtk gtk3 gtkspell gtkstyle gudev http hunspell hwdb iconv icq icu idn introspection ipc ipv6 irc jabber java jbig jemalloc jit joystick jpeg jpeg2k json kdrive keymap lame ldap libass libev libevent libkms libnotify libproxy lzma lzo mad minizip mktemp mmx mod modplug mount mp3 mp4 mpeg mudflap multilib mysql ncurses newnet nls nptl nsplugin ntp ogg opengl openrc openssl openvg osmesa pam pango pcmcia pcre pdf perl plugins png policykit postproc postscript prelink pulseaudio python python2 python3 quvi readline recursion-limit samba sasl sdl secure-delete sftp sha512 shared-glapi shm sip smbclient smp smtp sna sockets socks5 sound speex spell sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification subversion suid svg switcher swscale symlink syslog system-cairo system-jpeg system-sqlite telepathy theora threads tiff tools truetype udev udisks unicode upcall upnp usb utils v4l vala vapigen video vorbis vpx weather webdav webdav-neon webkit webkit2 webp wifi winbind wmf x264 xa xattr xcb xml xorg xpm xv xvid yaml youtube zlib" ABI_X86="64" CAMERAS="canon ptp2" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt nmea" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="uk" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


Thanks in advance.
_________________
Unlike reality, stupidity is inescapable
Back to top
View user's profile Send private message
Barvinok
n00b
n00b


Joined: 29 Sep 2013
Posts: 34
Location: Ukraine

PostPosted: Fri Dec 06, 2013 8:59 am    Post subject: Reply with quote

The problem was temporarily worked around by crafting the ebuild for the latest stable release (2.2.3) from WebKitGTK.org. That compiled without errors.
_________________
Unlike reality, stupidity is inescapable
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Fri Dec 06, 2013 11:53 am    Post subject: Reply with quote

Did you bug a
net-libs/webkit-gtk-2.2.3 version bump please
Of course if that version is supposed to work well with current (not only future) software ...
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Fri Dec 06, 2013 12:54 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=486484
At least the request to bump webkit-gtk to 2.2.1 was marked as DUP of that Gnome 3.10 version bump.
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Fri Dec 06, 2013 1:22 pm    Post subject: Reply with quote

Added a remark https://bugs.gentoo.org/show_bug.cgi?id=486484#c13
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum