On Tuesday, 23 July 2019 16:01:01 BST Raffaele Belardi wrote:

> > Am 23.07.19 um 01:31 schrieb Jack:
> >> On 2019.07.22 09:02, Jens Pelzetter wrote:
> >>> Hello everyone,
> >>> 
> >>> recently x11-libs/libXt was updated to version 1.2.0. On one of systems
> >>> 1.2.0 does not compile. The error is rather strange:
> >>> 
> >>> checking for i686-pc-linux-gnu-cpp... /usr/bin/i686-pc-linux-gnu-cpp
> >>> checking if /usr/bin/i686-pc-linux-gnu-cpp requires -undef...  *
> >>> gcc-config: No gcc profile is active!
> >>> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
> >>> No such file or directory
> >>> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
> >>> 
> >>>   * gcc-config: No gcc profile is active!
> >>> 
> >>> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
> >>> No such file or directory
> >>> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
> >>> 
> >>>   * gcc-config: No gcc profile is active!
> >>> 
> >>> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
> >>> No such file or directory
> >>> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
> >>> configure: error: /usr/bin/i686-pc-linux-gnu-cpp defines unix with or
> >>> without -undef.  I don't know what to do.
> >>> 
> >>> The systems is a multilib systems (32 and 64 Bit). I suspect that it is
> >>> not a bug in the libXt ebuild but a problem with my system, but I can't
> >>> figure out what the problem is. Any help is appreciated.
> >>> 
> >>> build.log, environment etc. are attached.
> >>> 
> >>> Best regards
> >> 
> >> Do you have a gcc profile selected?  "gcc-config -l" should list the
> >> available ones and indicate which is selected.
> >> 
> >> Jack
> 
> The gcc compiler for your profile is prefixed by x86_64-* but your configure
> script is looking for i686-* and does not find it: "gcc-config: error:
> could not run/locate 'i686-pc-linux-gnu-cpp'"
> 
> That said, I'm no longer on multilib since years so I would not know what
> the root cause of your problem is, sorry.
> 
> Maybe 'eselect profile list' helps?
> 
> raffaele

On multilib:

$ ls -la /etc/env.d/gcc/
total 16
drwxr-xr-x 2 root root 4096 Jun 11 12:23 .
drwxr-xr-x 5 root root 4096 Jul 20 16:53 ..
lrwxrwxrwx 1 root root   25 Jun 11 12:23 .NATIVE -> x86_64-pc-linux-gnu-8.3.0
-rw-r--r-- 1 root root   34 Jun 11 12:23 config-x86_64-pc-linux-gnu
-rw-r--r-- 1 root root  358 Jun 11 12:23 x86_64-pc-linux-gnu-8.3.0

The question must be why is emerge looking for config-i686-pc-linux-gnu?

Has Jens messed about with CHOST= in /etc/portage/make.conf?

Will the package build without complaining if emerged so:

CHOST="x86_64-pc-linux-gnu" emerge -1aDv x11-libs/libXt 

-- 
Regards,

Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to