1 |
On Mon, 18 May 2020 18:48:56 +0200 |
2 |
Gerrit Kuehn <gerrit.kuehn@×××××××.de> wrote: |
3 |
|
4 |
> USE="-static-libs" ABI_X86="32%* (64%*) (-x32)" |
5 |
> |
6 |
> I'm not familiar with the ABI flags (is there any documentation on |
7 |
> that, Google doesn't come up with anything useful for me right now?). |
8 |
> What does the "%" mean, and how would I turn off 32bit completely? |
9 |
|
10 |
I think I made some progress on this and found that my old ebuilds |
11 |
install and search libs in "lib32" paths (see --libdir setting below): |
12 |
|
13 |
--- |
14 |
>>> Configuring source |
15 |
>>> in /var/tmp/portage/x11-misc/printproto-1.0.5-r2/work/printproto-1.0.5 ... |
16 |
* abi_x86_32.x86: running multilib-minimal_abi_src_configure |
17 |
* econf: updating printproto-1.0.5/config.guess |
18 |
with /usr/share/gnuconfig/config.guess |
19 |
* econf: updating printproto-1.0.5/config.sub |
20 |
with /usr/share/gnuconfig/config.sub |
21 |
/var/tmp/portage/x11-misc/printproto-1.0.5-r2/work/printproto-1.0.5/configure |
22 |
--prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu |
23 |
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share |
24 |
--sysconfdir=/etc --localstatedir=/var/lib |
25 |
--disable-dependency-tracking --disable-silent-rules |
26 |
--docdir=/usr/share/doc/printproto-1.0.5-r2 |
27 |
--htmldir=/usr/share/doc/printproto-1.0.5-r2/html --libdir=/usr/lib32 |
28 |
--enable-shared --disable-static |
29 |
--- |
30 |
|
31 |
|
32 |
From https://wiki.gentoo.org/wiki/Project:AMD64/Multilib_layout I |
33 |
understand that 32bit libs should go to /lib and /usr/lib, not to lib32 |
34 |
anymore. I guess this may be the root cause for my ebuild issues?! I |
35 |
see the same with the libXp ebuild: |
36 |
|
37 |
--- |
38 |
>>> Configuring source |
39 |
>>> in /var/tmp/portage/x11-libs/libXp-1.0.3/work/libXp-1.0.3 ... |
40 |
* abi_x86_32.x86: running multilib-minimal_abi_src_configure |
41 |
* econf: updating libXp-1.0.3/config.guess |
42 |
with /usr/share/gnuconfig/config.guess |
43 |
* econf: updating libXp-1.0.3/config.sub |
44 |
with /usr/share/gnuconfig/config.sub |
45 |
/var/tmp/portage/x11-libs/libXp-1.0.3/work/libXp-1.0.3/configure |
46 |
--prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu |
47 |
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share |
48 |
--sysconfdir=/etc --localstatedir=/var/lib |
49 |
--disable-dependency-tracking --disable-silent-rules |
50 |
--docdir=/usr/share/doc/libXp-1.0.3 |
51 |
--htmldir=/usr/share/doc/libXp-1.0.3/html --with-sysroot=/ |
52 |
--libdir=/usr/lib32 --disable-selective-werror --enable-shared |
53 |
--disable-static |
54 |
--- |
55 |
|
56 |
This probably makes it look into /usr/lib32 for dependent 32bit |
57 |
libraries like libXau and so on that it complains about not finding |
58 |
them later. Indeed, these are to be found in /usr/lib, not /usr/lib32. |
59 |
But why doesn't emerge (or multilib-minimal_abi_src_configure) know |
60 |
about this and doesn't "do the right thing"? |
61 |
|
62 |
I looked into other X lib ebuilds like libXext-1.3.4.ebuild. This is |
63 |
installing 32bit libs into the correct directory, but it looks not |
64 |
different to me. I updated my ebuild to using EAPI=7 and xorg-3 (instead |
65 |
of the original EAPI=5 and xorg-2), but it still insists on using lib32 |
66 |
paths. |
67 |
|
68 |
Any further hints would be really appreciated. |
69 |
|
70 |
|
71 |
cu |
72 |
Gerrit |