From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ghl0v-0006Gj-HH for garchives@archives.gentoo.org; Wed, 08 Nov 2006 10:50:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA8Akior008593; Wed, 8 Nov 2006 10:46:44 GMT Received: from mail.shic.co.uk (static-195-248-105-109.adsl.hotchilli.net [195.248.105.109]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA8Agi9f030528 for ; Wed, 8 Nov 2006 10:42:44 GMT Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.shic.co.uk (Postfix) with ESMTP id 7A8B217A0; Wed, 8 Nov 2006 10:42:41 +0000 (GMT) Message-ID: <4551B50F.50801@shic.co.uk> Date: Wed, 08 Nov 2006 10:44:31 +0000 From: "Steve [Gentoo]" User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org CC: bo.andresen@zlin.dk Subject: Re: [gentoo-user] sys-apps/kbd-1.12-r8 References: <454F221E.5040604@shic.co.uk> <200611070131.53846.bo.andresen@zlin.dk> <4550D2AF.4060801@shic.co.uk> <200611072023.50078.bo.andresen@zlin.dk> In-Reply-To: <200611072023.50078.bo.andresen@zlin.dk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id kA8AkipL008593 X-Archives-Salt: bce9431d-4724-41cb-a050-39ed3217117f X-Archives-Hash: ed156b04e9a5ce9e26f517810dcc5569 Bo =D8rsted Andresen wrote: > If you look at the configure script you will see that it's is testing i= f you=20 > are on a sparc64. The test shows you aren't which appears to be unrelat= ed to=20 > your problem. Line 153 which appears to be failing is this: > > echo "ARCH=3D${TARGET_ARCH/i?86/i386}" >> make_include > > which is supposed to substitute i686 with i386 in your case and store i= t in=20 > make_include as "ARCH=3Di386". I have no clue why that would fail. The = only=20 > thing that I can think of is to remerge your shell (probably=20 > app-shells/bash). If noone else has a clue and that doesn't help I gues= s your=20 > best option is to file a bug with the info you've posted now... Thanks for your help, and while it might not have been obvious to you (or anyone else reading along)... everything that was confusing before is clear now... to me at least. While I can see what is wrong, it isn't 100% clear if it constitutes a bug or not. The problem is that the configure script starts '#!/bin/sh' - but goes on to depend upon Bash specific features... specifically substitution.=20 I expect this would not be a problem for most users where /bin/sh is a sym-link to /bin/bash.... but, for me, /bin/sh was a sym-link to /bin/ash... and, for that shell, line 151 is invalid. What is less clear is whether or not, in a Gentoo context, it is 'correct' to have /bin/sh being Borne-like but not Bash-like. By preference I'd prefer /bin/sh to be the minimal shell that will execute Borne-shell scripts... but I recognise the Linux-world normality of /bin/sh actually being bash. As at-least a temporary fix I replaced my /bin/sh->/bin/ash with a /bin/sh->/bin/bash... and everything now emerges smoothly... From a prissy perspective I'd have hoped that the configure script would specify that it needed bash functionality by demanding evaluation by bash instead of whatever /bin/sh happens to be... Thanks again, Steve --=20 gentoo-user@gentoo.org mailing list