Gentoo Archives: gentoo-user

From: Raffaele Belardi <raffaele.belardi@××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't compile x11-libs/libXt
Date: Wed, 24 Jul 2019 05:40:15
Message-Id: 03e82a9c-8ef7-26aa-5928-8a8686d09b71@st.com
In Reply to: Re: [gentoo-user] Can't compile x11-libs/libXt by Mike Gilbert
1 Mike Gilbert wrote:
2 > On Tue, Jul 23, 2019 at 12:51 PM Jens Pelzetter
3 > <jens.pelzetter@××××××××××.com> wrote:
4 >>
5 >> Hallo all,
6 >>
7 >> Am 23.07.19 um 17:14 schrieb Mick:
8 >>> On Tuesday, 23 July 2019 16:01:01 BST Raffaele Belardi wrote:
9 >>>
10 >>>>> Am 23.07.19 um 01:31 schrieb Jack:
11 >>>
12 >>> On multilib:
13 >>>
14 >>> $ ls -la /etc/env.d/gcc/
15 >>> total 16
16 >>> drwxr-xr-x 2 root root 4096 Jun 11 12:23 .
17 >>> drwxr-xr-x 5 root root 4096 Jul 20 16:53 ..
18 >>> lrwxrwxrwx 1 root root 25 Jun 11 12:23 .NATIVE -> x86_64-pc-linux-gnu-8.3.0
19 >>> -rw-r--r-- 1 root root 34 Jun 11 12:23 config-x86_64-pc-linux-gnu
20 >>> -rw-r--r-- 1 root root 358 Jun 11 12:23 x86_64-pc-linux-gnu-8.3.0
21 >>>
22 >>> The question must be why is emerge looking for config-i686-pc-linux-gnu?
23 >>>
24 >>> Has Jens messed about with CHOST= in /etc/portage/make.conf?
25 >>>
26 >>> Will the package build without complaining if emerged so:
27 >>>
28 >>> CHOST="x86_64-pc-linux-gnu" emerge -1aDv x11-libs/libXt
29 >>>
30 >>
31 >> with CHOST="x86_64-pc-linux-gnu" emerge -1aDv x11-libs/libXt the ebuild
32 >> produces the same error. CHOST in my make.conf is x86_64-pc-linux-gnu.
33 >>
34 >> env.d/gcc also looks fine:
35 >>
36 >> # ls -la /etc/env.d/gcc/
37 >> total 16
38 >> drwxr-xr-x 2 root root 4096 Jul 21 19:45 .
39 >> drwxr-xr-x 7 root root 4096 Jul 22 19:21 ..
40 >> lrwxrwxrwx 1 root root 25 Jul 21 19:45 .NATIVE ->
41 >> x86_64-pc-linux-gnu-8.3.0
42 >> -rw-r--r-- 1 root root 34 Jul 21 19:45 config-x86_64-pc-linux-gnu
43 >> -rw-r--r-- 1 root root 358 Jul 19 21:18 x86_64-pc-linux-gnu-8.3.0
44 >>
45 >> Best regards
46 >>
47 >> Jens
48 >>
49 >
50 > You probably installed a (cross) toolchain with host=i686-pc-linux-gnu
51 > at some point, and now you have stale symlinks leftover in /usr. Try
52 > removing them.
53
54 Could it be this, from the build.log:
55
56 * econf: updating libXt-1.2.0/config.guess with /usr/share/gnuconfig/config.guess
57 /var/tmp/portage/x11-libs/libXt-1.2.0/work/libXt-1.2.0/configure --prefix=/usr \
58 --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
59
60 Why is econf using i686 as a prefix?
61
62 raffaele