write error with new version of tar

linux fan linuxscratch at gmail.com
Fri Mar 19 14:47:00 PDT 2010


On 3/19/10, Mike McCarty <Mike.McCarty at sbcglobal.net> wrote:

> I wonder if "head" is closing the input pipe when it has read
> all it needs, and that's causing the error. I can't reproduce
> that problem with my host system, however.

It is tar-1.23 and not head

head --version
head (GNU coreutils) 8.4

tar -xf tar-1.23.tar.bz2
cd tar-1.23
./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin
make

src/tar --version
tar (GNU tar) 1.23
src/tar -tf ../tar-1.23.tar.bz2 | head -1
tar-1.23/
src/tar: write error

tar --version
tar (GNU tar) 1.22
tar -tf ../tar-1.23.tar.bz2 | head -1
tar: Record size = 8 blocks
tar-1.23/



More information about the lfs-support mailing list