Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problem changing to 17.1 profile
Date: Wed, 06 Nov 2019 10:29:27
Message-Id: m3tv7hxprf.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] problem changing to 17.1 profile by Andrew Udvare
1 On Sun, 03 Nov 2019 02:21:18 -0500,
2 Andrew Udvare wrote:
3 >
4 > [1 <multipart/mixed (7bit)>]
5 > [1.1 <text/plain (en-US); utf-8 (quoted-printable)>]
6 > On 02/11/2019 01:36, John Covici wrote:
7 > > Hi. Well, I was finally able to do the change of profile tothe 17.1
8 > > profile. I have gotten all the way almost to the end of this process
9 > > to the final step where itwantsto emerge all the 32-bit packages. I
10 > > am about two from the end of that list and trying to emerge
11 > > x11-libs/gtk+-2.24.32-r1 andI have run into this problem:
12 > >
13 > > libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
14 > > -Wall -Wl,-O1 -o decompose-bits decompose-bits.o -Wl,--as-needed
15 > > /usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
16 > > -lgobject-2.0 -lglib-2.0
17 > > /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
18 > > /usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
19 > > collect2: error: ld returned 1 exit status
20 > >
21 > > Now, I re-emerged dev-libs/atk which contains the offending
22 > > library, but no joy. the gtk package is pulled in by several other
23 > > packages, so I cannot remove it.
24 >
25 > If you re-emerged atk successfully, then the gtk linking stage should
26 > not fail with the same error as /usr/lib/libatk-1.0.so should now be in
27 > the correct format (32-bit instead of 64-bit).
28 >
29 > >
30 > > Thanks in advance for any suggestions asto howto proceed.
31 > >
32 >
33 > You have to pull in some packages in a very specific order.
34 >
35 > With KDE we have a sort of circular dependency on freetype[harfbuzz],
36 > because harfbuzz itself depends on freetype. For this reason I had to do
37 > the following:
38 >
39 > env USE=-harfbuzz emerge -1 freetype
40 > emerge -1 harfbuzz
41 > emerge -1 freetype
42 >
43 > There is currently no way for Portage to do this automatically.
44 >
45 > Your issue sounds similar and I would suggest emerging offending
46 > packages separately before continuing the rebuild process for /lib32,
47 > etc. The order is going to depend on other packages you have installed.
48 >
49 > As soon as one of these special packages errors, you need to check the
50 > build log. Most likely it was during the configure stage where a
51 > dependency is not being found in /lib because it has not been built yet.
52 > Build that dependency with --oneshot and try again with the failing
53 > package after.
54 >
55
56 So, I have had no joy with this at all, could not find a package like
57 that. I unmerged the two failing packages, hoping that then the
58 simlinks would be removed and I could just re emerge them again, but
59 still no joy. I either need to go back to the old profile, do a
60 reinstall (hopefully saving all my settings and world file) or fix the
61 problem. I did file a bug and blocked the tracker, but I have heard
62 nothing from those people.
63
64 --
65 Your life is like a penny. You're going to lose it. The question is:
66 How do
67 you spend it?
68
69 John Covici wb2una
70 covici@××××××××××.com