You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Martin Holler <ho...@gmx.net> on 2004/08/26 07:16:13 UTC

Unexpected EOF in archive

Hello,

I tryed to extract the source distribution
apache-forrest-0.5.1-src.tar.gz but tar breaks with the following
error lines

apache-forrest-0.5.1-src/build/dist/shbat/bin/forrestbot.bat
apache-forrest-0.5.1-src/appendcp.bat
apache-forrest-0.5.1-src/build.bat
apache-forrest-0.5.1-src/RELEASE-NOTES-0.5.1.txt
tar: A lone zero block at 39728
tar: Skipping to next header
apache-forrest-0.5.1-src/appendcp.bat
apache-forrest-0.5.1-src/build.bat
apache-forrest-0.5.1-src/RELEASE-NOTES-0.5.1.txt
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
martin:~/src$ 

I downloaded the package from
http://mirrorspace.org/apache/forrest/apache-forrest-0.5.1-src.tar.gz
and
http://ftp.uni-erlangen.de/pub/mirrors/apache/forrest/apache-forrest-0.5.1-src.tar.gz
but the error is the same both times.

Trying to extract apache-forrest-0.5.1-bin.tar.gz from
http://ftp.uni-erlangen.de/ results in

apache-forrest-0.5.1-bin/etc/RELEASE-NOTES-0.5.1-RC2.txt
apache-forrest-0.5.1-bin/etc/RELEASE-NOTES-0.5.1.txt
apache-forrest-0.5.1-bin/RELEASE-NOTES-0.5.1.txt
tar: A lone zero block at 32979
tar: Skipping to next header
tar: Error exit delayed from previous errors
martin:~/src$ 

martin:~/src$ tar --version
tar (GNU tar) 1.13.93
Copyright (C) 2003 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
martin:~/src$ 

Does anybody have the same problem? What could I try to do?

Greetings,
 Martin

Re: Unexpected EOF in archive

Posted by Martin Holler <ho...@gmx.net>.
David Crossley <cr...@apache.org> writes:

> How many files do you have ...
> find . -type f | wc -l
> 721

$ find . -type f | wc -l
    721

Have a nice day/evening David,
 Martin

Re: Unexpected EOF in archive

Posted by David Crossley <cr...@apache.org>.
Martin Holler wrote:
> 
> Now I tryed tar (GNU tar) 1.13 which worked fine ...

Youch! That will be bad if newer versions of tar have trouble
with old archives. Searching their bug list, there are mentions
of this "lone zero block" issue, and one particular post that
said "especially with tar archives created with Apache Ant".
If my reading is correct, then it is only a warning.

When i unpacked the archive i see that the last file
listed is RELEASE-NOTES-0.5.1.txt which is where your
newer tar reports errors.

How many files do you have ...
find . -type f | wc -l
721

Thanks for reporting the issue. We might need to put a warning
on our download page.

-- 
David Crossley


Re: Unexpected EOF in archive

Posted by Martin Holler <ho...@gmx.net>.
David Crossley <cr...@apache.org> writes:

> I have done ssh to the apache server and checked the original
> distribution. Both src and bin unpack okay there using
> tar (GNU tar) 1.13.25
>
> What is the file size for the src dist? The server
> has 13772498 bytes.

Thanks for your reply David.

# ls -l apache-forrest-0.5.1-src.tar.gz 
-rw-------    1 martin   bin      13772498 Aug 26 07:08 apache-forrest-0.5.1-src.tar.gz

So the file size is correct.

Now I tryed tar (GNU tar) 1.14 which ends with
apache-forrest-0.5.1-src/build/dist/shbat/bin/forrestbot.bat
apache-forrest-0.5.1-src/appendcp.bat
apache-forrest-0.5.1-src/build.bat
apache-forrest-0.5.1-src/RELEASE-NOTES-0.5.1.txt
/usr/local/bin/tar: A lone zero block at 39728
martin:~/src$ 

Now I tryed tar (GNU tar) 1.13 which worked fine ...

Greetings, 
 Martin

Re: Unexpected EOF in archive

Posted by David Crossley <cr...@apache.org>.
I have done ssh to the apache server and checked the original
distribution. Both src and bin unpack okay there using
tar (GNU tar) 1.13.25

What is the file size for the src dist? The server
has 13772498 bytes.

--David

Martin Holler wrote:
> Hello,
> 
> I tryed to extract the source distribution
> apache-forrest-0.5.1-src.tar.gz but tar breaks with the following
> error lines
> 
> apache-forrest-0.5.1-src/build/dist/shbat/bin/forrestbot.bat
> apache-forrest-0.5.1-src/appendcp.bat
> apache-forrest-0.5.1-src/build.bat
> apache-forrest-0.5.1-src/RELEASE-NOTES-0.5.1.txt
> tar: A lone zero block at 39728
> tar: Skipping to next header
> apache-forrest-0.5.1-src/appendcp.bat
> apache-forrest-0.5.1-src/build.bat
> apache-forrest-0.5.1-src/RELEASE-NOTES-0.5.1.txt
> tar: Unexpected EOF in archive
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> martin:~/src$ 
> 
> I downloaded the package from
> http://mirrorspace.org/apache/forrest/apache-forrest-0.5.1-src.tar.gz
> and
> http://ftp.uni-erlangen.de/pub/mirrors/apache/forrest/apache-forrest-0.5.1-src.tar.gz
> but the error is the same both times.
> 
> Trying to extract apache-forrest-0.5.1-bin.tar.gz from
> http://ftp.uni-erlangen.de/ results in
> 
> apache-forrest-0.5.1-bin/etc/RELEASE-NOTES-0.5.1-RC2.txt
> apache-forrest-0.5.1-bin/etc/RELEASE-NOTES-0.5.1.txt
> apache-forrest-0.5.1-bin/RELEASE-NOTES-0.5.1.txt
> tar: A lone zero block at 32979
> tar: Skipping to next header
> tar: Error exit delayed from previous errors
> martin:~/src$ 
> 
> martin:~/src$ tar --version
> tar (GNU tar) 1.13.93
> Copyright (C) 2003 Free Software Foundation, Inc.
> This program comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute it under the terms of the GNU General Public License;
> see the file named COPYING for details.
> Written by John Gilmore and Jay Fenlason.
> martin:~/src$ 
> 
> Does anybody have the same problem? What could I try to do?
> 
> Greetings,
>  Martin