Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-libs/webkit-gtk-2.4.4 fail package of the year
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
Dragonlord
Guru
Guru


Joined: 22 Aug 2004
Posts: 446
Location: Switzerland

PostPosted: Sun Nov 09, 2014 12:48 am    Post subject: net-libs/webkit-gtk-2.4.4 fail package of the year Reply with quote

Stupid webkit is really going on my nerves. Whenever a new version comes out it's a 50% chance the package is FUBAR. Now the drama starts again with 2.4.4 version and this time in double trouble. Why is such an inherently unstable and buggy package part of portage in the first place?

For the records, installed:
sys-devel/clang-3.3-r100:0/3.3
[1] x86_64-pc-linux-gnu-4.7.3 *
[2] x86_64-pc-linux-gnu-4.8.3

Webkit Fail:
Code:
>>> Verifying ebuild manifests
>>> Running pre-merge checks for net-libs/webkit-gtk-2.4.4-r201
>>> Running pre-merge checks for net-libs/webkit-gtk-2.4.4-r1

>>> Emerging (1 of 4) net-libs/webkit-gtk-2.4.4-r201
 * webkitgtk-2.4.4a.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking webkitgtk-2.4.4a.tar.xz to /opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work
>>> Source unpacked in /opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work
>>> Preparing source in /opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4 ...
 * 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-jpeg-9a.patch ...                                                                                                                    [ ok ]
 * Running eautoreconf in '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4' ...
 * Skipping 'gtkdocize --copy' due gtkdocize not installed
 * Running libtoolize --install --copy --force --automake ...                                                                                                     [ ok ]
 * Running aclocal -I Source/autotools ...                                                                                                                        [ ok ]
 * Running autoconf -I Source/autotools ...                                                                                                                       [ ok ]
 * Running autoheader -I Source/autotools ...                                                                                                                     [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...                                                                                            [ ok ]
 * Running elibtoolize in: webkitgtk-2.4.4/
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: webkitgtk-2.4.4/Source/autotools/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 * Fixing OMF Makefiles ...                                                                                                                                       [ ok ]
 * Disabling deprecation warnings ...                                                                                                                             [ ok ]
>>> Source prepared.
>>> Configuring source in /opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4 ...
 * econf: updating webkitgtk-2.4.4/Source/autotools/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating webkitgtk-2.4.4/Source/autotools/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/webkit-gtk-2.4.4-r201 --disable-schemas-compile --disable-maintainer-mode --disable-gtk-doc --disable-quartz-target --disable-coverage --disable-debug --enable-egl --enable-geolocation --disable-gles2 --enable-video --enable-web-audio --enable-introspection --enable-jit --disable-credential_storage --enable-glx --enable-spellcheck --enable-webgl --enable-accelerated-compositing --enable-x11-target --with-gtk=2.0 --disable-webkit2 --enable-dependency-tracking --disable-gtk-doc RUBY=/usr/bin/ruby20
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python2.7
checking for ruby... /usr/bin/ruby20
checking for bison... /usr/bin/bison
checking for mv... /bin/mv
checking for grep... /bin/grep
checking for gperf... /usr/bin/gperf
checking for flex... /usr/bin/flex
checking for gawk... gawk
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... no
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
configure: error: Compiler GCC >= 4.7 or Clang >= 3.3 is required for C++ compilation

!!! Please attach the following file when seeking support:
!!! /opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4/config.log
 * ERROR: net-libs/webkit-gtk-2.4.4-r201::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 4838:  Called gnome2_src_configure '--disable-quartz-target' '--disable-coverage' '--disable-debug' '--enable-egl' '--enable-geolocation' '--disable-gles2' '--enable-video' '--enable-web-audio' '--enable-introspection' '--enable-jit' '--disable-credential_storage' '--enable-glx' '--enable-spellcheck' '--enable-webgl' '--enable-accelerated-compositing' '--enable-x11-target' '--with-gtk=2.0' '--disable-webkit2' '--enable-dependency-tracking' '--disable-gtk-doc' 'RUBY=/usr/bin/ruby20'
 *        environment, line 3069:  Called econf '--docdir=/usr/share/doc/webkit-gtk-2.4.4-r201' '--disable-schemas-compile' '--disable-maintainer-mode' '--disable-gtk-doc' '--disable-quartz-target' '--disable-coverage' '--disable-debug' '--enable-egl' '--enable-geolocation' '--disable-gles2' '--enable-video' '--enable-web-audio' '--enable-introspection' '--enable-jit' '--disable-credential_storage' '--enable-glx' '--enable-spellcheck' '--enable-webgl' '--enable-accelerated-compositing' '--enable-x11-target' '--with-gtk=2.0' '--disable-webkit2' '--enable-dependency-tracking' '--disable-gtk-doc' 'RUBY=/usr/bin/ruby20'
 *   phase-helpers.sh, line  584:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.4.4-r201::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.4.4-r201::gentoo'`.
 * The complete build log is located at '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/temp/build.log'.
 * The ebuild environment file is located at '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/temp/environment'.
 * Working directory: '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4'
 * S: '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4'

>>> Failed to emerge net-libs/webkit-gtk-2.4.4-r201, Log file:


This is just one of the possible errors this buggy package is throwing around. When I somehow get past this part it fails at compiling with some missing symbol crap which doesn't make any sense. I tried tons of solutions to get past this mess of a package but I'm totally out of ideas. Nothing works... this package it's just a huge mess and should burn in hell U_U
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 -O2 -pipe -march=athlon64 -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 /opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4/.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 -lfreetype -lfontconfig -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,/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4/.libs
./.libs/libwebkitgtk-1.0.so: undefined reference to `_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'
collect2: error: ld returned 1 exit status
GNUmakefile:40409: 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'
/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4/.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', '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4/tmp-introspectaz8D3d/WebKit-1.0', '-export-dynamic', '-O2', '-pipe', '-march=athlon64', '-pthread', '-std=c99', '-Wno-deprecated-declarations', '-Wl,-O1', '-Wl,--as-needed', '-Wl,--no-keep-memory', '-Wl,--reduce-memory-overheads', '-Wl,--no-demangle', '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4/tmp-introspectaz8D3d/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', '-lfreetype', '-lfontconfig', '-lsoup-2.4', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0']' returned non-zero exit status 1
GNUmakefile:82176: recipe for target 'WebKit-1.0.gir' failed
make[1]: *** [WebKit-1.0.gir] Error 1
make[1]: Leaving directory '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4'
GNUmakefile:25561: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: net-libs/webkit-gtk-2.4.4-r201::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.4.4-r201::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.4.4-r201::gentoo'`.
 * The complete build log is located at '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/temp/build.log'.
 * The ebuild environment file is located at '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/temp/environment'.
 * Working directory: '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4'
 * S: '/opt/portage_tmp/portage/net-libs/webkit-gtk-2.4.4-r201/work/webkitgtk-2.4.4'

_________________
DragonDreams: Leader and Head Programmer
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Sun Nov 09, 2014 2:48 am    Post subject: Re: net-libs/webkit-gtk-2.4.4 fail package of the year Reply with quote

Dragonlord wrote:
Why is such an inherently unstable and buggy package part of portage in the first place?
Would you prefer to trust such an unstable and buggy package to have well behaved and reliable make install / make uninstall targets or do you want the package manager to track the files, so you can at least be sure that removing the package actually removes all its files? :)

Please post the output of emerge --info.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Sun Nov 09, 2014 5:51 am    Post subject: Reply with quote

News item "GCC 4.7 Introduced the New C++11 ABI" explains the problem you are seeing with net-libs/webkit-gtk.
Back to top
View user's profile Send private message
Dragonlord
Guru
Guru


Joined: 22 Aug 2004
Posts: 446
Location: Switzerland

PostPosted: Sun Nov 09, 2014 4:49 pm    Post subject: Reply with quote

According to Hu it's not a problem:
Quote:
If you do not set -std=gnu++11 or equivalent in your global CXXFLAGS, then you do not need to do anything. If you do set that, then you need to deal with the consequences of generating potentially ABI-incompatible code


So this then a bug... but how to fix it? I've rememerged a couple of packages to no avail. If apparantly it seems to be known things break why is it been promoted "stable"?
_________________
DragonDreams: Leader and Head Programmer
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Mon Nov 10, 2014 3:46 am    Post subject: Reply with quote

The best way to fix the problem is to configure the latest version of gcc that is installed. If you do not want to use the latest version of gcc then mask it and unmerge it. If you do not want to remove the latest version of gcc then see net-libs/webkit-gtk-2.4.3 - ./.libs/libwebkitgtk-3.0.so: undefined reference to `_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'
Back to top
View user's profile Send private message
Dragonlord
Guru
Guru


Joined: 22 Aug 2004
Posts: 446
Location: Switzerland

PostPosted: Mon Nov 10, 2014 5:51 pm    Post subject: Reply with quote

I solved it now by removing webkit and blasting to piece with an 8-ball every crap application daring to pull in 'hard' webkit in one way or the other.

Problem solved but that can't be the way to solve problems of a single ill-behaving package by forcing crap into users. Other libs like FOX god damn it do not get upgraded to 1.7 although it's there like fucking 3 or more years but an ape-shit lib like webkit producing nothing but problems and not compiling in over 50% of release gets arse-licked all over the place. Seriously I'm pissed about how this situation is handled. The problem should be fixed by masking webkit and threatening to remove it from portage if it doesn't start to well-behave not bum-rape users by dropping ticking time-bombs on them waiting until they blow up on the chain. Gentoo really lost in terms of quality and portage handling great this. That's not a situation, that's FUBAR U_U.
_________________
DragonDreams: Leader and Head Programmer
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Mon Nov 10, 2014 8:40 pm    Post subject: Reply with quote

Dragonlord wrote:
Seriously I'm pissed about how this situation is handled. The problem should be fixed by masking webkit and threatening to remove it from portage if it doesn't start to well-behave

It's not webkit that's at fault, but the gcc C++ ABI changes, combined with the fact that gentoo has had cxx-time enabled for ages. Really Gentoo should upgrade their/provide a patch to do the right thing with the new code (which now defaults the option to on, but in the process has changed the ABI exposed.)

So that'd really just mean adding back the symbols removed as weak aliases, or something, imo. While it would mean gentoo machines support an old non-standard versioned symbol, that symbol has already been provided on Gentoo for the last X years; in effect there'd be more compatibility available, rather than less (at the expense of portability of binaries, which isn't usually a concern, since we build everything bespoke in any case; if it is you're a commercial venture and can deal with it yourself, or you have the wrong people.)

Personally I think it's not so great of gcc upstream to change the symbols, but I doubt they'll be reverting anything, since as far as they're concerned, Gentoo has been shipping an experimental ABI. And ultimately the problem is with C++ and its ever-changing (yet never quite rational) spec, which might settle down in the next decade, perhaps.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Thu Dec 11, 2014 5:27 pm    Post subject: Reply with quote

Ok so lets see if I am getting my stupid thick head around this.
If I want to use chromium or webkit-gtk (which is needed by GNOME apps such as evolution (which is now f@@@ing broken))
I need to change my CXX flags to reflect -std=c++11
But
Quote:
[3] Note that some packages like www-client/chromium and net-libs/webkit-gtk
are already using C++11 features.

and
Quote:
However, switching to C++11 and then building packages which link against any of the numerous
libraries in an incompatible ABI can lead to a broken system.

So....how on earth am I supposed to build webkit-gtk without it borking?
It won't build with GCC-4.7 or 4.8 !
Now as a user, I have a Gentoo box which is for everyday use, except I can't use my mail client any more, and I can't build webkit which seems
to be the main reason for this hell.
I don't want to hear about filing bugs, or helping the devs because I am NOT A DEV. I do not understand the high level language
you guys speak. Sorry.
I should be able to innocently update a "STABLE" box without hitches. This should not be happening with stable packages.
What the hell is going on with Gentoo?
Quote:
This is a precautionary news item and the typical user need not do anything.


Really?
Isn't it time Gentoo looked at how the main website could be used to NOTIFY IT'S COMMUNITY about issues like this?
Instead of slipping in a news item which offers no solution to a problem which seemingly won't affect "normal" users?

(Probably my worst) Rant Over!. Sorry.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Fri Dec 12, 2014 4:16 am    Post subject: Reply with quote

You should not change the CXX flags to reflect -std=c++11. The packages www-client/chromium and net-libs/webkit-gtk change the option when they are building the package.

The problems that I know about are
1. The net-libs/webkit-gtk build will hang if nvidia-drivers is providing the OpenGL implementation and sandbox is being used
2. There is a mismatch between GCC and the library that is used to support c++11. "gcc-config" changes the version of GCC being used but does not change the library.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Fri Dec 12, 2014 12:57 pm    Post subject: Reply with quote

Quote:
1. The net-libs/webkit-gtk build will hang if nvidia-drivers is providing the OpenGL implementation and sandbox is being used

So manually setting OpenGL to use xorg-x11 should fix it. It doesn't.
I have noticed the
Code:
225-gir-nvidia-hangs.patch
when webkit begins to compile, which I presume is supposed to fix the nvidia problem. It doesn't.
So am I right to suggest the patch for -gir-nvidia-hangs is useless? It seems that way.

I have had this problem on a stable system for nearly 2 months now - I think.
Yet the packages are still marked as stable.

But taking your advice jburns (which is appreciated) I am now attempting to build this fail bomb package with
Code:
USE="-sandbox"
and OpenGL set to xorg-x11 and will see if that fixes it.
I have set gcc-config to 4.8.3 and have rebuilt my toolchain. But fail bomb package still failed.
Should I remove GCC-4.7 completely from the system?
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Fri Dec 12, 2014 4:51 pm    Post subject: Update Reply with quote

Many thanks jburns for the tip.

Webkit-gtk-2.4.4-r201 finally built with
Code:
USE="-sandbox"

and
Code:
eselect opengl >set xorg-x11


It totally amazes me that there is no warning of this bork and the temp solution as a news item, or on the main gentoo.org website.

Poor call guys.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Dec 12, 2014 5:02 pm    Post subject: Reply with quote

Thistled wrote:
Really?
Isn't it time Gentoo looked at how the main website could be used to NOTIFY IT'S COMMUNITY about issues like this?
Instead of slipping in a news item which offers no solution to a problem which seemingly won't affect "normal" users?

(Probably my worst) Rant Over!. Sorry.
Probably because it's such a corner case. The overwhelming majority of users—and, most likely, developers—probably were unaware of this issue. For instance, webkit-gtk built fine for me.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Fri Dec 12, 2014 7:31 pm    Post subject: Reply with quote

To clearify when I said
Quote:
1. The net-libs/webkit-gtk build will hang if nvidia-drivers is providing the OpenGL implementation and sandbox is being used
note the "and". The work around is change the opengl selection or disable the sandbox for the build. Changing both of them is not required.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Wed Dec 17, 2014 3:32 pm    Post subject: Reply with quote

Quote:
note the "and". The work around is change the opengl selection or disable the sandbox for the build. Changing both of them is not required.

Whereas in my case I had to do both. With just the opengl set to xorg-x11 was not enough. I needed the USE="-sandbox" also.
Quote:
Probably because it's such a corner case. The overwhelming majority of users—and, most likely, developers—probably were unaware of this issue. For instance, webkit-gtk built fine for me.

I would say according to the bugzilla, there IS an issue with compiling webkit-gtk for SOME users.
It seems Gentoo is to blame for this problem and not GCC nor webkit.
If it does not effect the majority of people, fine, but there are Gentoo users for whom this is an issue.
As bugzilla confirms.

Why oh why whenever an update appears for webkit-gtk do SOME users have problems? (Rhetorical question). :?
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
jcc3
n00b
n00b


Joined: 25 Mar 2008
Posts: 18

PostPosted: Tue Dec 23, 2014 2:00 am    Post subject: Reply with quote

I also hit this, but with a twist...

in my case, even Thistled's response was not a workaround. That is, failure here, even USE-ing "-sandbox" AND the OpenGL xorg-x11selection made.

Bug reports have pointed out multiple problems. One group of reports is webkit-gtk package build falling over, on one or another build error.

The other is my situation, which is a *loop* during the build -- more precisely (btw the arch is x86, Core 2 Quad in 32-bit mode),

-- an apparently infinite, enabled, non-kernel mode loop, in or under the top-level make(1) process of the build. Some others likely reported the same thing as a "hang."

-- The build log proceeded normally until it just stopped being updated. No errors or warnings evident anywhere.

-- top(1) showed one core mostly at 100% CPU (but fluctuating); however the whole system was not "wedged" -- the rest of the system ran normally, so this was not a disabled loop. Thus I concluded that we were *not*, for example, in a disabled loop in kernel mode, the latter being a very good way to have a whole system "wedge."

-- The system continued in all other respects normally.

-- I finally kill -9'ed the make, and the system still continued normally (with the affected core now added back for useful work)

I had hit this earlier this year (as have some other posters), and at that time I got out of it by simply "jiggling" packages (meaning helter skelter one-shot re-emerges until webkit-gtk built).

The better response would be for me to have attached to the looping make(1) PID with gdb(1), or truss(1)'ed it, or both, and poked around carefully, but the wallclock time wasn't available, so I just ripped webkit-gtk and all its depend roots out of the system, and worked it back down to a clean revdep-rebuild, etc. I don't need webkit* anyway.

This is a classical bug case, worthy of remembering. I have been admin-ing and developing with Gentoo since Larry the Cow first represented Gentoo on the Net, but I have not seen a pkg build bug quite as interesting as this. Enabled loops are notoriously hard to shoot, because unless you have in hand a full running system state, you never really know if you just wait 10 seconds longer, the offending process or thread might terminate normally.

Lesson for me to take away: don't just gratuitously emerge packages -- think about what you need and just include that. Otherwise you are just paying for higher system complexity for no useful benefit.

Speaking On Background

My approach would not be to lay /blame/ on Gentoo or the upstream or ... or ...

I think this is a byproduct of our time. Byproduct of our time?

In the (many would say darker) decades of the closed-everything computing yesterday (I was there), the same vendor that made the sink also made the garbage disposer. You only had one or two choices for the disposer, but interfacing it to the sink was Really Easy. One or two degrees of freedom. Far enough back, you had ONE choice for your net, AT&T.

Fast forward 30-ish years and here we are in OS utopia compared to that, with tons of Open Software that seeks to support all available combinations of brews on (nearly) all combinations of h/w, and so, here we are also with /many/ degrees of freedom.

To support rapidly increasing DoF necessarily brings increasing bug likelihood, no matter how careful we are at engineering new code. Like all freedom, this Open freedom comes with a price, and I stay here because I've agreed to pay it.
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