Jens Pelzetter wrote:
Hello Jack,

a GCC profile is selected:

# gcc-config -l
[1] x86_64-pc-linux-gnu-8.3.0 *

# gcc-config -c
x86_64-pc-linux-gnu-8.3.0

Best regards

Jens

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

Reply via email to