View previous topic :: View next topic |
Author |
Message |
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Thu Jun 05, 2014 1:32 am Post subject: Strange merge problem with webkit-gtk-2.4.3-r200 |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jun 05, 2014 2:20 am Post subject: |
|
|
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 |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Thu Jun 05, 2014 2:31 am Post subject: |
|
|
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 |
|
|
robinmarlow Apprentice
Joined: 10 Mar 2004 Posts: 167
|
Posted: Fri Jun 06, 2014 12:02 am Post subject: |
|
|
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 |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Fri Jun 06, 2014 12:30 am Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jun 06, 2014 3:03 am Post subject: |
|
|
webkit-gtk-2.2.6-r200 built with gcc-4.8.2 here _________________ Defund the FCC. |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Fri Jun 06, 2014 3:21 am Post subject: |
|
|
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 |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Jun 06, 2014 6:57 am Post subject: |
|
|
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 |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Fri Jun 06, 2014 11:29 am Post subject: |
|
|
Well, that's an interesting twist...clearly it's not as simple as gcc-4.8.x then. |
|
Back to top |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Mon Jun 09, 2014 10:54 am Post subject: |
|
|
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}" _________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Thu Jun 12, 2014 7:21 pm Post subject: |
|
|
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 |
_________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Thu Jun 12, 2014 7:26 pm Post subject: |
|
|
Yep, gcc-4.8.2 did the trick for me too. |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Fri Jun 13, 2014 2:39 pm Post subject: |
|
|
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 |
|
|
bitspace n00b
Joined: 15 Jun 2014 Posts: 1 Location: Hooksett NH US
|
Posted: Sun Jun 15, 2014 9:40 pm Post subject: Same issue here |
|
|
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 |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Tue Jun 17, 2014 8:54 pm Post subject: |
|
|
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 1 the version in portage unstable tree has changed to 2.4.3 and it built just fine.. |
|
Back to top |
|
|
tchiwam Retired Dev
Joined: 27 Dec 2005 Posts: 7 Location: Lapland, Finland
|
Posted: Sat Nov 22, 2014 4:09 pm Post subject: RPI webkit-gtk-2.4.4-r1 gcc-4.8.3 same problem |
|
|
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 |
|
|
rsala Apprentice
Joined: 27 Jul 2003 Posts: 160 Location: Pittsfield, MA
|
Posted: Mon Nov 24, 2014 4:12 am Post subject: |
|
|
I ran into the same problem, on a system that hadn't been updated in a long time, as part of a
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
and about 15 hours later it built successfully on my Inspiron 8200! Now I'm on to epiphany. |
|
Back to top |
|
|
|