Directory checksum error in hugs98-Nov2002.tar.gz

Ross Paterson ross@soi.city.ac.uk
Fri, 29 Nov 2002 11:38:11 +0000


On Thu, Nov 28, 2002 at 12:15:39PM +0000, Alastair Reid wrote:
> 
> > Hi, I have a problem with the hugs generic unix source code. When
> > extracting the tar file, a checksum error is reported.
> 
> > cksum hugs98-Nov2002.tar.gz 
> > 31504372 1598806 hugs98-Nov2002.tar.gz
> 
> Thanks for a detailed bug report.
> It looks like the file was downloaded correctly.
> 
> We probably built the tarfile using GNU tar.  
> Sun's tar has problems dealing with tarfiles generated by GNU tar.
> 
> If possible, can you try untarring using GNU tar (often available as
> 'gtar')?
> 
> If that does the trick, we can try to find a more portable version of
> tar for building the tarfile.

That may not be possible, cf

	http://xml.apache.org/xerces-c/faq-distrib.html#faq-11

It seems that the tar spec handles only pathnames up to 100 characters,
so there's no portable way of handling longer ones.  However, there is
a workaround: if the unused subdirectory

	fptools/libraries/base/Text/ParserCombinators/Parsec/examples

is removed before tarring, the longest name will be 80 characters,
and Solaris tar will be happy.