On Sun, Dec 20, 2015 at 04:57:36PM -0600, Bruce Dubbs wrote:
> Ken Moffat wrote:
> 
> >I've not seen that one.  You mean they put everything into /tools,
> >but it is a top-level directory on the host ?
> 
> Yes, that's what I mean.  It what you get if you
> 
> mkdir -v $LFS/tools
> 
> and LFS is not set.  Later we do:
> 
> chown -v lfs $LFS/tools
> 
> and again if LFS is not set, the user happily goes and writes to the
> directory /tools.  I treat the issue as a 'learning opportunity'.  :)
> 
> >Also, what do you think about the 1st part, to tell people to read
> >the Host System Requirements if they are trying to use /bin/sh ->
> >dash ?
> 
> That's what we do online when the problem comes up.
> 
>   -- Bruce
> 
Well, yes - but only after the people who reply have spent time
trying to diagnose the problem.  I note that in the most recent case,
you mentioned it on this list, but I'm not sure if it sank in at that
point.  Certainly, somebody else on -support eventually noted that he
had a similar problem, and dash was the cause.

Learning is good, and I agree that we learn more from our mistakes
(but only if we are able to correctly get to the root cause).  But
I'm not sure if letting somebody build 25 out of 31 packages in a
bad environment, only to fail in the 26th, is productive.

I'm thinking about suggestions for a debugging section in chapter 4.
At the moment (apart from whatever may or may not emerge as a
script) I suggest that the first thing we need to do is remind people
to check the Host System Requirements - far too many people seem to
skip over that, perhaps because it is in the Preface.

Actually, I just took a look at the bash tests in version-check.sh
from last month's -svn book on a 7.8 machine and I don't like the
ERROR I'm getting -

ken@jtm1 ~ $export LC_ALL=C
ken@jtm1 ~ $bash --version | head -n1 | cut -d" " -f2-4
bash, version 4.3.39(1)-release

 looks ok to me

ken@jtm1 ~ $MYSH=$(readlink -f /bin/sh)
ken@jtm1 ~ $echo "/bin/sh -> $MYSH"
/bin/sh -> /bin/bash

 and so does this

ken@jtm1 ~ $echo $MYSH | grep -qv bash || echo "ERROR: /bin/sh does
not point to bash"
ERROR: /bin/sh does not point to bash

 What ?

ĸen
-- 
This email was written using 100% recycled letters.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to