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