From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A2E4D138CEB for ; Wed, 17 Jun 2015 22:47:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F1A31403A; Wed, 17 Jun 2015 22:47:39 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82C01E079C for ; Wed, 17 Jun 2015 22:47:38 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z5M7M-0006GE-FX for gentoo-user@lists.gentoo.org; Thu, 18 Jun 2015 00:47:36 +0200 Received: from 64.69.39.120 ([64.69.39.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jun 2015 00:47:36 +0200 Received: from w41ter by 64.69.39.120 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jun 2015 00:47:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile Date: Wed, 17 Jun 2015 15:47:14 -0700 Message-ID: References: <4164634.djNYgdSeMR@kushiel> <2405962.q5v2BxzzjY@kushiel> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 64.69.39.120 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <2405962.q5v2BxzzjY@kushiel> X-Archives-Salt: 9e9d44f9-ef4e-4e6a-9cd0-56a9f0091cf2 X-Archives-Hash: c6a84f02ed0022debeb39eac90a7f2e9 On 06/17/2015 01:54 PM, ddjones wrote: > On Friday, March 27, 2015 04:05:16 PM walt wrote: >> On 03/27/2015 02:56 AM, ddjones wrote: >>> I seem to be hitting this bug: >>> >>> https://bugs.gentoo.org/show_bug.cgi?id=513386 >>> >>> webkit-gtk fails: >>> >>> gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined >>> reference to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19' >> >> I don't know if you understand the concepts discussed in that bug report, >> but this this is basic idea: >> >> You see that the undefined symbol includes the string "GLIBCXX". From this >> you can tell that the program uses the well-known c++ standard library, >> which happens to be installed separately by each version of gcc you have on >> your computer. >> >> The error you are seeing is caused by using a different version of gcc to >> compile webkit-gtk than you used to compile some other package that >> webkit-gtk depends on. >> >> The tedious but necessary fix is to find every package on your computer that >> needs libstdc++ and then recompile all of them with the same version of >> gcc. Yup, boring. > > I am still fighting this. Yes, I've been fighting it since March. > > emerge -e world > > fails with this error. I've done it at least a half dozen times. emerge -e > world starts out with over 1400 packages. When webkitgtk fails, this is > what's left: > > root@kushiel /etc/conf.d # emerge --ask --resume > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild U ] net-libs/webkit-gtk-2.4.8 [2.4.7] > [ebuild R ] media-libs/phonon-gstreamer-4.7.2 > [ebuild U ] net-libs/webkit-gtk-2.4.8-r200 [2.4.7-r200] > [ebuild NS ] net-libs/webkit-gtk-2.6.5 [2.4.7, 2.4.7-r200] USE="egl geoloc > gstreamer introspection jit opengl spell webgl -coverage -doc -libsecret {- > test}" > [ebuild R ] net-libs/libproxy-0.4.11-r2 > [ebuild R ] dev-java/swt-3.7.2-r1 > [ebuild R ] net-libs/glib-networking-2.42.1 > [ebuild R ] media-video/cheese-3.14.2 > [ebuild R ] net-p2p/vuze-4.8.1.2-r1 > [ebuild R ] net-p2p/vuze-coreplugins-4.8.1.2 > > Any suggesting other than format the hard drive and start over greatly > appreciated, because I've tried everything else I can think of or find > suggested online. This is a trick that works occasionally: (Don't ask me why. I try it only out of desperation when I don't know what else to try) #quickpkg =webkit-gtk-2.4.7-r200 #quickpkg =webkit-gtk-2.4.7 #emerge -C =webkit-gtk-2.4.7-r200 =webkit-gtk-2.4.7 Removing webkit will break any other packages that depend on it, but now that you've saved your existing webkit packages with quickpkg, you can reinstall them using emerge -K if my trick doesn't work for you. Here's another desperation move I make sometimes when I'm out of ideas: #cd /usr/lib #ls -lSr (this sorts your libraries with the oldest ones at the end) #qfile ./my-geriatric-lib.so. Then start emerging the oldest packages first, but do it one at a time instead of using emerge -e to do everything with one giant step.