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 1GhlPr-0008KN-38 for garchives@archives.gentoo.org; Wed, 08 Nov 2006 11:16:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA8BDnBG004839; Wed, 8 Nov 2006 11:13:49 GMT Received: from desiato.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA8BBXep029053 for ; Wed, 8 Nov 2006 11:11:34 GMT Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.2]) by desiato.digimed.co.uk (Postfix) with ESMTP id 90AF9854DC for ; Wed, 8 Nov 2006 11:11:32 +0000 (GMT) Date: Wed, 8 Nov 2006 11:11:26 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sys-apps/kbd-1.12-r8 Message-ID: <20061108111126.5504dab8@hactar.digimed.co.uk> In-Reply-To: <4551B50F.50801@shic.co.uk> References: <454F221E.5040604@shic.co.uk> <200611070131.53846.bo.andresen@zlin.dk> <4550D2AF.4060801@shic.co.uk> <200611072023.50078.bo.andresen@zlin.dk> <4551B50F.50801@shic.co.uk> Organization: Digital Media Production X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.10.6; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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 Content-Type: multipart/signed; boundary=Sig_FeqzKj1biyLvLAMPVp9wKCU; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 73280d81-bbdb-437d-affa-aaf0a79c9a1e X-Archives-Hash: c0c1e49155579a603623ab44d651b924 --Sig_FeqzKj1biyLvLAMPVp9wKCU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 08 Nov 2006 10:44:31 +0000, Steve [Gentoo] wrote: > 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. Bash behaves differently when called as sh, to avoid just this sort of problem. However, if the script calls /bin/sh while requiring bash features it is clearly broken and a bug should be files. Unfortunately, this type of breakage is all too common; I tried using dash as /bin/sh for a short while and found all sorts of things falling over. In this case, it can be easily fixed, by the ebuild altering the shebang line of configure before running it. --=20 Neil Bothwick Psychiatrists say that 1 of 4 people are mentally ill. --Sig_FeqzKj1biyLvLAMPVp9wKCU Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFUbtkum4al0N1GQMRAjwOAJ98s1A5iSjsyfM0Ofw3jaT8cY3M2wCfRfNm U13pq312OI7HoyyJpGZ5UVk= =rRcB -----END PGP SIGNATURE----- --Sig_FeqzKj1biyLvLAMPVp9wKCU-- -- gentoo-user@gentoo.org mailing list