Gentoo Archives: gentoo-user

From: Jens Pelzetter <jens.pelzetter@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't compile x11-libs/libXt
Date: Wed, 24 Jul 2019 05:55:18
Message-Id: 0e8f41bc-39a2-f645-3717-38516f1a22a2@googlemail.com
In Reply to: Re: [gentoo-user] Can't compile x11-libs/libXt by Mike Gilbert
1 Hello Mike,
2
3 Am 23.07.19 um 19:37 schrieb Mike Gilbert:
4 > You probably installed a (cross) toolchain with host=i686-pc-linux-gnu
5 > at some point, and now you have stale symlinks leftover in /usr. Try
6 > removing them.
7
8 indeed I used a cross toolchain for x32 for some time together with
9 Distcc. But that was a long time ago. But it looks like there were still
10 remains:
11
12 # ls -l /usr
13 drwxr-xr-x 2 root root 139264 24. Jul 00:37 bin
14 drwxr-xr-x 2 root root 4096 9. Apr 2016 etc
15 drwxr-xr-x 6 root root 4096 25. Apr 2011 gnu-classpath-0.98
16 drwxr-xr-x 3 root root 4096 28. Sep 2012 i686-pc-linux-gnu
17 drwxr-xr-x 521 root root 69632 24. Jul 00:37 include
18 drwxr-xr-x 47 root root 36864 24. Jul 00:39 lib
19 drwxr-xr-x 299 root root 258048 24. Jul 07:11 lib64
20 drwxr-xr-x 30 root root 12288 24. Jul 00:07 libexec
21 drwxr-xr-x 10 root root 4096 8. Jun 17:00 local
22 drwx------ 2 root root 16384 23. Apr 2011 lost+found
23 drwxr-xr-x 178 portage portage 4096 22. Jul 18:54 portage
24 drwxr-xr-x 2 root root 16384 24. Jul 00:07 sbin
25 drwxr-xr-x 630 root root 20480 24. Jul 07:11 share
26 drwxr-xr-x 6 root root 4096 13. Jul 09:39 src
27 lrwxrwxrwx 1 root root 8 23. Apr 2011 tmp -> /var/tmp
28 drwxr-xr-x 6 root root 4096 22. Jul 19:28 x86_64-pc-linux-gnu
29
30 I made a backup and removed i686-pc-linux-pc.
31
32 Unfortunately I can't test anymore if that was the problem. The error
33 with libXt occurred when compiling the x32 version of the library.
34 Yesterday I checked if I still need 32 bit libraries. As it turned out
35 the only package which I had installed which still needs 32 bit
36 libraries was dev-util/android-sdk-update-manager. At the moment I don't
37 need an Android development environment. Therefore I removed this
38 package and all abi_x86_32 useflags in package.use.
39
40 Without abi_x86_32 libXt-1.2.0 compiles without errors.
41
42 Anyway, thanks for you help.
43
44 Best regards
45
46 Jens