Gentoo Archives: gentoo-user

From: Jeremi Piotrowski <jeremi.piotrowski@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to get a couple of -9999 packages to behave
Date: Tue, 18 Aug 2015 19:24:18
Message-Id: alpine.LNX.2.20.1508182110250.29458@gentoo-tp.localdomain
In Reply to: Re: [gentoo-user] how to get a couple of -9999 packages to behave by covici@ccs.covici.com
1 On Tue, 18 Aug 2015, covici@××××××××××.com wrote:
2
3 > OK, I have the following in /etc/portage/package.use
4 > app-accessibility/at-spi2-atk abi_x86_32
5 > app-accessibility/at-spi2-core abi_x86_32
6
7 Can you verify that these are being picked up properly by running
8
9 emerge -av at-spi2-atk at-spi2-core
10
11 Should show you the active use flags and hopefully abi_x86_32 will be
12 among them.
13
14 Additionally I'm going to go out on a limb here and ask: are you using
15 a multilib profile?
16
17 > But the 999 versions are not giving the /usr/lib32 items including
18 > /usr/lib32/pkgconfig/atspi-2.pc and this seems to be the problem
19
20 The gnome-overlay ebuilds do not differ too much from the main tree
21 ebuilds and those are multlib friendly so the live ones should be too.
22
23 > -- how can I fix, or how can I do the same thing outside of tree i.e.
24 > get both the /usr/lib64 and /usr/lib32 items like the one mentioned
25 > above.
26
27 Multilib ebuilds basically copy the sources into two folders and run
28 different configure commands in them. Something like
29
30 CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 ./configure
31 --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --prefix=/usr/local
32 --libdir=/usr/local/lib32
33
34 should build the 32 bit variant properly. You will also be able to use
35 everything straight away since /usr/local/include is on the default
36 preprocessor search path and /usr/local/lib32 (should) be in
37 /etc/ld.so.conf by default.
38
39 But I don't think it is likely an ebuild problem here, this kind of thing
40 would be quickly caught.