On Mon, Apr 24, 2017 at 11:50:13AM -0700, Paul Rogers wrote:
> I'm catching up to you guys, slowly.  I'm building 7.10.  Chapter 5 ran
> smoothly, after catching a few script typos.  I've just started Chapter
> 6, building the FHS.  Following a successful "install", my build scripts
> immediately make a tarball of the as-built install files.  That failed.
> 
> An example case copied verbatim from the console log:
> 
> I have no name!:/# tar czf dummy.tgz /usr
> tar: tar (child): Removing leading `/' from member namesgzip: Cannot
> exec
> : No such file or directory
> tar (child): Error is not recoverable: exiting now
> tar: dummy.tgz: Cannot write: Broken pipe
> tar: Child returned status 2
> tar: Error is not recoverable: exiting now
> I have no name!:/# tar cf dummy.tgz /usr
> tar: Removing leading `/' from member names
> I have no name!:/# ls tools/bin/gzip
> tools/bin/gzip
> I have no name!:/# ls /tools/bin/gzip
> /tools/bin/gzip
> I have no name!:/# echo $PATH
> bin:/usr/bin:sbin:/usr/sbin:/tools/bin
> I have no name!:/# 
> 
> For some reason the tar installed in Ch5 cannot find gzip.  It exists,
> and is in the path.  Tar makes unzipped tarballs without complaint.

Hi Paul,

this doesn't sound like a common problem.  AFAICS, when a builder
gets to bzip2 of 7.10 in chroot the source is a .tar.gz and so the
problem would bite there (and also with acl and attr - all are built
before we rebuild gzip2) if it was common.

More generally,
 ldd /tools/bin/gzip
in case that is linked to the host system.

(the old 'Any No Such File or Directory' which used to be in the FAQ
- maybe it still is.

ĸen
-- 
 Error: ( : 1) not enough arguments

Don't you just love Tiny scheme ?
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to