Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
Date: Wed, 17 Jun 2015 22:56:13
Message-Id: CADPrc82eEJqmZznKR_ffYut65iQf530C_PARTrPNCtiWrgwW_A@mail.gmail.com
In Reply to: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile by walt
1 On Wed, Jun 17, 2015 at 5:47 PM, walt <w41ter@×××××.com> wrote:
2 >
3 > On 06/17/2015 01:54 PM, ddjones wrote:
4 > > On Friday, March 27, 2015 04:05:16 PM walt wrote:
5 > >> On 03/27/2015 02:56 AM, ddjones wrote:
6 > >>> I seem to be hitting this bug:
7 > >>>
8 > >>> https://bugs.gentoo.org/show_bug.cgi?id=513386
9 > >>>
10 > >>> webkit-gtk fails:
11 > >>>
12 > >>> gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined
13 > >>> reference to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'
14 > >>
15 > >> I don't know if you understand the concepts discussed in that bug
16 report,
17 > >> but this this is basic idea:
18 > >>
19 > >> You see that the undefined symbol includes the string "GLIBCXX". From
20 this
21 > >> you can tell that the program uses the well-known c++ standard library,
22 > >> which happens to be installed separately by each version of gcc you
23 have on
24 > >> your computer.
25 > >>
26 > >> The error you are seeing is caused by using a different version of gcc
27 to
28 > >> compile webkit-gtk than you used to compile some other package that
29 > >> webkit-gtk depends on.
30 > >>
31 > >> The tedious but necessary fix is to find every package on your
32 computer that
33 > >> needs libstdc++ and then recompile all of them with the same version of
34 > >> gcc. Yup, boring.
35 > >
36 > > I am still fighting this. Yes, I've been fighting it since March.
37 > >
38 > > emerge -e world
39 > >
40 > > fails with this error. I've done it at least a half dozen times.
41 emerge -e
42 > > world starts out with over 1400 packages. When webkitgtk fails, this is
43 > > what's left:
44 > >
45 > > root@kushiel /etc/conf.d # emerge --ask --resume
46 > >
47 > > These are the packages that would be merged, in order:
48 > >
49 > > Calculating dependencies... done!
50 > > [ebuild U ] net-libs/webkit-gtk-2.4.8 [2.4.7]
51 > > [ebuild R ] media-libs/phonon-gstreamer-4.7.2
52 > > [ebuild U ] net-libs/webkit-gtk-2.4.8-r200 [2.4.7-r200]
53 > > [ebuild NS ] net-libs/webkit-gtk-2.6.5 [2.4.7, 2.4.7-r200] USE="egl
54 geoloc
55 > > gstreamer introspection jit opengl spell webgl -coverage -doc
56 -libsecret {-
57 > > test}"
58 > > [ebuild R ] net-libs/libproxy-0.4.11-r2
59 > > [ebuild R ] dev-java/swt-3.7.2-r1
60 > > [ebuild R ] net-libs/glib-networking-2.42.1
61 > > [ebuild R ] media-video/cheese-3.14.2
62 > > [ebuild R ] net-p2p/vuze-4.8.1.2-r1
63 > > [ebuild R ] net-p2p/vuze-coreplugins-4.8.1.2
64 > >
65 > > Any suggesting other than format the hard drive and start over greatly
66 > > appreciated, because I've tried everything else I can think of or find
67 > > suggested online.
68 >
69 > This is a trick that works occasionally: (Don't ask me why. I try it only
70 out
71 > of desperation when I don't know what else to try)
72 >
73 > #quickpkg =webkit-gtk-2.4.7-r200
74 >
75 > #quickpkg =webkit-gtk-2.4.7
76 >
77 > #emerge -C =webkit-gtk-2.4.7-r200 =webkit-gtk-2.4.7
78 >
79 > Removing webkit will break any other packages that depend on it, but now
80 that
81 > you've saved your existing webkit packages with quickpkg, you can
82 reinstall them
83 > using emerge -K if my trick doesn't work for you.
84 >
85 > Here's another desperation move I make sometimes when I'm out of ideas:
86 >
87 > #cd /usr/lib
88 >
89 > #ls -lSr (this sorts your libraries with the oldest ones at the end)
90
91 Nitpicking, but isn't -S for sorting by size? The -t flag is for
92 modification time.
93
94 Regards.
95 --
96 Canek Peláez Valdés
97 Profesor de asignatura, Facultad de Ciencias
98 Universidad Nacional Autónoma de México