Re: Directory checksum error in hugs98-Nov2002.tar.gz

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.