Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange merge problem with webkit-gtk-2.4.3-r200
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1566
Location: Just over the horizon

PostPosted: Thu Jun 05, 2014 1:32 am    Post subject: Strange merge problem with webkit-gtk-2.4.3-r200 Reply with quote

This seems that it could be some sort of gcc problem, but I'm not sure, because this version of webkit-gtk built before. I'm using a pure ~amd64 platforms and I just ran into this:

Code:
libtool: link: x86_64-pc-linux-gnu-gcc -ansi -fno-strict-aliasing -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/harfbuzz -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -O2 -pipe -pthread -std=c99 -Wl,-O1 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -Wl,--no-demangle -o Programs/GtkLauncher Tools/GtkLauncher/Programs_GtkLauncher-LauncherInspectorWindow.o Tools/GtkLauncher/Programs_GtkLauncher-main.o -Wl,--export-dynamic -pthread -pthread  -Wl,--as-needed ./.libs/libwebkitgtk-1.0.so -L/usr/lib64 /var/tmp/portage/net-libs/webkit-gtk-2.4.3-r200/work/webkitgtk-2.4.3/.libs/libjavascriptcoregtk-1.0.so -lenchant -ljpeg -lxslt -lxml2 -lGL -lEGL -ldl -lpng16 -lsqlite3 -lwebp -lXcomposite -lXdamage -lXfixes -lXrender -lXt -lX11 ./.libs/libjavascriptcoregtk-1.0.so -lpthread -lz -licui18n -licuuc -licudata -lharfbuzz-icu -lharfbuzz -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgmodule-2.0 -lgthread-2.0 -lsoup-2.4 -lgio-2.0 -lgstapp-1.0 -lgstaudio-1.0 -lgstfft-1.0 -lm -lgstpbutils-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/var/tmp/portage/net-libs/webkit-gtk-2.4.3-r200/work/webkitgtk-2.4.3/.libs
./.libs/libwebkitgtk-1.0.so: undefined reference to `_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'
collect2: error: ld returned 1 exit status
GNUmakefile:40483: recipe for target 'Programs/GtkLauncher' failed
make[1]: *** [Programs/GtkLauncher] Error 1
make[1]: *** Waiting for unfinished jobs....
Source/WebKit/gtk/webkit/webkitversion.h:37: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION'
/var/tmp/portage/net-libs/webkit-gtk-2.4.3-r200/work/webkitgtk-2.4.3/.libs/libwebkitgtk-1.0.so: undefined reference to `_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', './libtool', '--mode=link', '--tag=CC', '--silent', 'x86_64-pc-linux-gnu-gcc', '-o', '/var/tmp/portage/net-libs/webkit-gtk-2.4.3-r200/work/webkitgtk-2.4.3/tmp-introspectlADN3P/WebKit-1.0', '-export-dynamic', '-march=native', '-O2', '-pipe', '-pthread', '-std=c99', '-Wno-deprecated-declarations', '-Wl,-O1', '-Wl,--as-needed', '-Wl,--no-keep-memory', '-Wl,--reduce-memory-overheads', '-Wl,--no-demangle', '/var/tmp/portage/net-libs/webkit-gtk-2.4.3-r200/work/webkitgtk-2.4.3/tmp-introspectlADN3P/WebKit-1.0.o', '-L.', '-lwebkitgtk-1.0', '-ljavascriptcoregtk-1.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-lpangocairo-1.0', '-latk-1.0', '-lcairo', '-lgdk_pixbuf-2.0', '-lpangoft2-1.0', '-lpango-1.0', '-lfontconfig', '-lfreetype', '-lsoup-2.4', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0']' returned non-zero exit status 1


I found a couple of hits while googling about it...but nothing suggesting a remedy. Any ideas?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6832
Location: Goose Creek SC

PostPosted: Thu Jun 05, 2014 2:20 am    Post subject: Reply with quote

have you tried using package.mask to find an earlier version that works?

I presume you noted the unresolved bug at https://bugs.webkit.org/show_bug.cgi?id=131274 ? Attaching your info might help them.
_________________
Defund the FCC.


Last edited by DONAHUE on Fri Jun 06, 2014 12:08 am; edited 1 time in total
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1566
Location: Just over the horizon

PostPosted: Thu Jun 05, 2014 2:31 am    Post subject: Reply with quote

1) Not yet, but that's the next step. I just realized that I was wrong earlier...this is a new version upgrade.

2) And yes, that's the bug I found with google earlier.

Just curious if anyone else ran into this and there was some kind of workaround or something that pointed to the source of the problem (outside of webkit-gtk). Now I'm thinking it probably just is this version of webkit-gtk. I'll find out when I try 1. out.
Back to top
View user's profile Send private message
robinmarlow
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 164

PostPosted: Fri Jun 06, 2014 12:02 am    Post subject: Reply with quote

It's not jut you - I have just hit it too.

Unfortunately on this underpowered laptop it takes a few hours to find out if various rebuildings have had any effect!

In the linked bug the .cc source they recommend builds but won't run for me.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1566
Location: Just over the horizon

PostPosted: Fri Jun 06, 2014 12:30 am    Post subject: Reply with quote

I did try the little test program listed in the bug report listed above. I compiles fine (gcc-4.7.x), but errors out when I try to run it with that same undefined symbol that shows up in the webkit-gtk emerge. From that, I now suspect that the newest versions of webkit-gtk need to be built with gcc-4.8.x, since the missing symbol is supposed to be defined in a shared library that is part of gcc.

As a work around for now, I discovered that the stable versions of webkit-gtk still work fine on my system, so I masked the ~arch versions for now. I'll probably try the newer versions out with gcc-4.8.x soon just to see if that really fixes the problem.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6832
Location: Goose Creek SC

PostPosted: Fri Jun 06, 2014 3:03 am    Post subject: Reply with quote

webkit-gtk-2.2.6-r200 built with gcc-4.8.2 here
_________________
Defund the FCC.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1566
Location: Just over the horizon

PostPosted: Fri Jun 06, 2014 3:21 am    Post subject: Reply with quote

DONAHUE wrote:
webkit-gtk-2.2.6-r200 built with gcc-4.8.2 here


Yep, I think that's the solution.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5898

PostPosted: Fri Jun 06, 2014 6:57 am    Post subject: Reply with quote

platojones wrote:
DONAHUE wrote:
webkit-gtk-2.2.6-r200 built with gcc-4.8.2 here


Yep, I think that's the solution.


Kinda doubt it - webkit-gtk 2.4.3 (both slots) built with gcc-4.7.3 here.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1566
Location: Just over the horizon

PostPosted: Fri Jun 06, 2014 11:29 am    Post subject: Reply with quote

Well, that's an interesting twist...clearly it's not as simple as gcc-4.8.x then.
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 398
Location: Bristol, UK

PostPosted: Mon Jun 09, 2014 10:54 am    Post subject: Reply with quote

For the record I had the same linking error and upgrading to gcc 4.8.2 p1.3r1 fixed it for me. My webkit-gtk use flags are as follows:
net-libs/webkit-gtk-2.4.3-r200:2 USE="X egl geoloc gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -gles2 -libsecret {-test}"
_________________
64bit Gentoo on dual Xeon X5650 (24 ht cores), 18GB DDR3 Ram, nVidia Quadro 2000, 128GB Crucial SSD
Back to top
View user's profile Send private message
Fitzcarraldo
l33t
l33t


Joined: 30 Aug 2008
Posts: 727
Location: United Kingdom

PostPosted: Thu Jun 12, 2014 7:21 pm    Post subject: Reply with quote

Yep, upgrading gcc to 4.8.2 enabled me to upgrade webkit-gtk too:

Code:
$ gcc --version
gcc (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ eix -I webkit-gtk
[I] net-libs/webkit-gtk
     Available versions: 
     (2)    [m]1.6.1-r201[1] 2.2.6-r200 (~)2.4.1-r200 (~)2.4.3-r200
     (3)    [m]1.6.1-r301[1] 2.2.6(3/29) (~)2.4.1(3/25) (~)2.4.3(3/25)
       {+X aqua coverage debug doc +egl +geoloc gles2 +gstreamer +introspection +jit libsecret +opengl spell test wayland (+)webgl}
     Installed versions:  2.4.3(3)(20:54:13 10/06/14)(X egl geoloc gstreamer introspection jit libsecret opengl spell webgl -aqua -coverage -debug -gles2 -test -wayland) 2.4.3-r200(2)(18:27:56 10/06/14)(X egl geoloc gstreamer introspection jit opengl spell webgl -aqua -coverage -debug -gles2 -libsecret -test)
     Homepage:            http://www.webkitgtk.org/
     Description:         Open source web browser engine

[1] "sabayon" /var/lib/layman/sabayon

_________________
Compal NBLB2: ~amd64, OpenRC, FGLRX, KDE / Clevo W230SS: amd64, OpenRC, NVIDIA, KDE
Fitzcarraldo's blog
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1566
Location: Just over the horizon

PostPosted: Thu Jun 12, 2014 7:26 pm    Post subject: Reply with quote

Yep, gcc-4.8.2 did the trick for me too.
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Fri Jun 13, 2014 2:39 pm    Post subject: Reply with quote

If you still have the complete failing build log to this, can you please file this bug at Gentoo Bugzilla? It is supposed to build with GCC 4.7.x and does so for other users; so, it looks like there is a regression in a certain situation that isn't supposed to happen. Read here how to write a bug report, for more in-depth details and troubleshooting steps you can read our Bugzilla HOWTO.
Back to top
View user's profile Send private message
bitspace
n00b
n00b


Joined: 15 Jun 2014
Posts: 1
Location: Hooksett NH US

PostPosted: Sun Jun 15, 2014 9:40 pm    Post subject: Same issue here Reply with quote

I've submitted a bug for this. I initially encountered the issue described here, enabled the webgl USE flag as a workaround, and then encountered this issue.
Back to top
View user's profile Send private message
ZeuZ_NG
Guru
Guru


Joined: 10 Sep 2008
Posts: 408
Location: Near /dev/urandom | /dev/null

PostPosted: Tue Jun 17, 2014 8:54 pm    Post subject: Reply with quote

I've hit the same bug, what would you recommend?
Tried to move to the newer GCC and it didn't solve it here..
Also a no-multilib system..

EDIT: As of today (Wed June 18) the version in portage unstable tree has changed to 2.4.3 and it built just fine..
Back to top
View user's profile Send private message
tchiwam
Retired Dev
Retired Dev


Joined: 27 Dec 2005
Posts: 3
Location: Lapland, Finland

PostPosted: Sat Nov 22, 2014 4:09 pm    Post subject: RPI webkit-gtk-2.4.4-r1 gcc-4.8.3 same problem Reply with quote

Only difference here is that I need 2 to 3 days to get to that error :) My end goal is epiphany on the RPI armv6j-hardfloat

[ebuild N ~] net-libs/webkit-gtk-2.4.4-r1:3/25 USE="X egl geoloc gstreamer introspection jit opengl webgl (-aqua) -coverage -debug -gles2 -libsecret -spell {-test} -wayland"

./Source/WebKit/gtk/webkit/*.cpp
Source/WebKit/gtk/webkit/webkitversion.h:37: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION'
* Unable to trace static ELF: /lib/ld-linux-armhf.so.3: /lib/ld-linux-armhf.so.3 --verify /var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4/tmp-introspectTS5sw2/.libs/lt-WebKit-3.0
/var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4/tmp-introspectTS5sw2/.libs/lt-WebKit-3.0: /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.7.3/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4/.libs/libwebkitgtk-3.0.so.0)
/var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4/tmp-introspectTS5sw2/.libs/lt-WebKit-3.0: /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.7.3/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4/.libs/libjavascriptcoregtk-3.0.so.0)
Command '['/var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4/tmp-introspectTS5sw2/WebKit-3.0', '--introspect-dump=/var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4/tmp-introspectTS5sw2/functions.txt,/var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4/tmp-introspectTS5sw2/dump.xml']' returned non-zero exit status 1
GNUmakefile:82176: recipe for target 'WebKit-3.0.gir' failed
make[1]: *** [WebKit-3.0.gir] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.4.4-r1/work/webkitgtk-2.4.4'
GNUmakefile:25561: recipe for target 'all' failed
make: *** [all] Error 2

Reading this my guess is the API version depends on the GLIBCXX... I don't have time to investigate right now but I'm planning to dig in a bit later this week.
Back to top
View user's profile Send private message
rsala
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 158
Location: Pittsfield, MA

PostPosted: Mon Nov 24, 2014 4:12 am    Post subject: Reply with quote

I ran into the same problem, on a system that hadn't been updated in a long time, as part of a
Code:
emerge -eD gnome

After I read the comments above, I noticed that the emerge pulled in a newer version of gcc which wasn't used for the webkit-gtk build.
I followed the
Quote:
Upgrading GCC Gentoo Wiki
Short Version, and then did a
Code:
emerge --resume

and about 15 hours later it built successfully on my Inspiron 8200! Now I'm on to epiphany.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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