On Tuesday 07 November 2006 19:38, Steve [Gentoo] wrote:
> >
>
> I've followed your suggestion - I was surprised to see sparc64 mentioned
> - my gentoo box really is an aged PII (Celeron).
>
> >>> Compiling source in /var/tmp/portage/kbd-1.12-r8/work/kbd-1.12 ...
>
> Configuring for PREFIX=/usr
> Configuring for DATADIR=/usr/share
> Configuring for MANDIR=/usr/share/man
> checking for gcc
> + uname -m
> + HOST_ARCH=i686
> + gcc -O -dumpmachine
> + awk -F- {print $1}
> + TARGET_ARCH=i686
> + test i686 = sparc64
> ./configure: 153: Syntax error: Bad substitution
>
> !!! ERROR: sys-apps/kbd-1.12-r8 failed.
> Call stack:
> ebuild.sh, line 1546: Called dyn_compile
> ebuild.sh, line 937: Called src_compile
> kbd-1.12-r8.ebuild, line 93: Called die
If you look at the configure script you will see that it's is testing if you
are on a sparc64. The test shows you aren't which appears to be unrelated to
your problem. Line 153 which appears to be failing is this:
echo "ARCH=${TARGET_ARCH/i?86/i386}" >> make_include
which is supposed to substitute i686 with i386 in your case and store it in
make_include as "ARCH=i386". I have no clue why that would fail. The only
thing that I can think of is to remerge your shell (probably
app-shells/bash). If noone else has a clue and that doesn't help I guess your
best option is to file a bug with the info you've posted now...
--
Bo Andresen
pgpUceFQj0L4U.pgp
Description: PGP signature

