public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Steve [Gentoo]" <gentoo_steve@shic.co.uk>
To: gentoo-user@lists.gentoo.org
Cc: bo.andresen@zlin.dk
Subject: Re: [gentoo-user] sys-apps/kbd-1.12-r8
Date: Wed, 08 Nov 2006 10:44:31 +0000	[thread overview]
Message-ID: <4551B50F.50801@shic.co.uk> (raw)
In-Reply-To: <200611072023.50078.bo.andresen@zlin.dk>

Bo Ørsted Andresen wrote:
> 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...
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. 
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



-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-11-08 10:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-06 11:53 [gentoo-user] sys-apps/kbd-1.12-r8 Steve [Gentoo]
2006-11-07  0:31 ` Bo Ørsted Andresen
2006-11-07 18:38   ` Steve [Gentoo]
2006-11-07 19:23     ` Bo Ørsted Andresen
2006-11-08 10:44       ` Steve [Gentoo] [this message]
2006-11-08 11:11         ` Neil Bothwick
2006-11-08 11:45         ` Bo Ørsted Andresen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4551B50F.50801@shic.co.uk \
    --to=gentoo_steve@shic.co.uk \
    --cc=bo.andresen@zlin.dk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox