Chris Staub wrote:
> I started a new build of current dev LFS, and noticed some strange 
> behavior from tar once inside chroot. Using tar 1.23, attempting to pipe 
> its "tf" output through "head" results in a "tar: write error". In other 
> words...
> tar -tjf /home/sources/glibc-2.11.1.tar.bz2 | head -n1
> glibc-2.11.1/
> ./tar-1.23/src/tar: write error
> I do not get any kind of error message when just using "tar -tf" by 
> itself, only when piping through "head". Also, I tried piping through 
> various other programs (grep, sed...) and got nothing.

I get the same error message with head:

cd src
./tar -tf ../../tar-1.23.tar.bz2 |head

> Initially I 
> thought there was some problem with filesystems mounted or something 
> like that in the chroot, but I get exactly the same result on my host 
> system.

Me too.

I'll report the bug.

   -- Bruce
Unsubscribe: See the above information page

Reply via email to