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.<whatever>

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.


Reply via email to