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: Sat, 02 Nov 2019 21:38:06
Message-Id: m38soyyn77.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] problem changing to 17.1 profile by David Haller
1 On Sat, 02 Nov 2019 11:34:54 -0400,
2 David Haller wrote:
3 >
4 > Hello,
5 >
6 > On Sat, 02 Nov 2019, John Covici wrote:
7 > >On Sat, 02 Nov 2019 02:58:16 -0400,
8 > >David Haller wrote:
9 > >> On Sat, 02 Nov 2019, John Covici wrote:
10 > >> >Hi. Well, I was finally able to do the change of profile tothe 17.1
11 > >> >profile. I have gotten all the way almost to the end of this process
12 > >> >to the final step where itwantsto emerge all the 32-bit packages. I
13 > >> >am about two from the end of that list and trying to emerge
14 > >> >x11-libs/gtk+-2.24.32-r1 andI have run into this problem:
15 > >> >
16 > >> >libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
17 > >> >-Wall -Wl,-O1 -o decompose-bits decompose-bits.o -Wl,--as-needed
18 > >> >/usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
19 > >> ^^^^^^^^^^^^^^^
20 > >> >-lgobject-2.0 -lglib-2.0
21 > >> >/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
22 > >> >/usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
23 > >> [..]
24 > >> >Thanks in advance for any suggestions asto howto proceed.
25 > >>
26 > >> Have you moved your /usr/lib* stuff to the new layout yet? I.e.
27 > >> is /usr/lib a symlink to /usr/lib64 or is it a directory containing
28 > >> the 32-bit libs? If the latter, gcc is picking up the wrong lib for
29 > >> this (64-bit) compile.
30 > >>
31 > >> And anyway, are you on a multilib setup and have both atk (and deps)
32 > >> and gtk+ the "abi_x86_32 multilib" USE-flags set?
33 > >>
34 > >> I still have the old /usr/lib* layout, i.e.:
35 > >> $ ls -ld /usr/lib* | cut -d/ -f2-
36 > >> usr/lib -> lib64/
37 > >> usr/lib32/
38 > >> usr/lib64/
39 > >> usr/libexec/
40 > >>
41 > >> and this in make.conf:
42 > >>
43 > >> CHOST="x86_64-pc-linux-gnu"
44 > >> ABI_X86="64"
45 > >>
46 > >> and above mentionend USE-flags for all packages and their deps I
47 > >> want/need 32-bit libs (and/or binaries)...
48 > >
49 > >I have the new layout:
50 > >drwxr-xr-x 68 root root 651 Nov 2 01:10 /usr/lib/
51 >
52 > But you're on
53 >
54 > CHOST="x86_64-pc-linux-gnu"
55 > ABI_X86="64"
56 >
57 > are you?
58 >
59 > >and a use flag for the offending package
60 > >
61 > >dev-libs/atk abi_x86_32
62 >
63 > I don't see 'multilib' there... Do you have /usr/lib64/libatk-1.0.*?
64 >
65 > If not, add 'multilib' to all deps of gtk+ and re-emerge those.
66
67 A couple of points, I am using a multilib profile, the ones that are
68 not multlib say so and I have never used those. So, I copied the .la
69 files to /usr/lib, they seem to be generated and not part of any
70 package. So now I have the following error:
71
72 /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
73 /usr/lib/libatk-bridge-2.0.so: error adding symbols: file in wrong
74 format
75
76 So, the package for that file seems to be correct, it has two files of
77 the same name in /usr/llib and /usr/lib64 which are different. It
78 looks like gtk3+ is picking the wrong file or something -- if anyone
79 has an idea as to how to fix, it would be great.
80
81 --
82 Your life is like a penny. You're going to lose it. The question is:
83 How do
84 you spend it?
85
86 John Covici wb2una
87 covici@××××××××××.com