Hi, I have a problem with the hugs generic unix source code. When extracting the tar file, a checksum error is reported. Downloaded hugs98-Nov2002.tar.gz from: http://cvs.haskell.org/Hugs/downloads/Nov2002/hugs98-Nov2002.tar.gz Did: 1% cksum hugs98-Nov2002.tar.gz 31504372 1598806 hugs98-Nov2002.tar.gz 2% gunzip hugs98-Nov2002.tar.gz 3% cksum hugs98-Nov2002.tar 3252012307 7864320 hugs98-Nov2002.tar 4% tar xf hugs98-Nov2002.tar tar: directory checksum error Environment: 5% uname -a SunOS foo 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10 gunzip version: 6% gunzip -V gunzip 1.2.4 (18 Aug 93) Compilation options: DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H Regards, Pether Camitz, Ericsson Microwave Systems AB pether.camitz@emw.ericsson.se
* Pether Camitz
I have a problem with the hugs generic unix source code. When extracting the tar file, a checksum error is reported.
Use _GNU_ tar [1]. HTH, Olli 1. http://www.haskell.org/pipermail/hugs-bugs/2002-November/001033.html -- {- IST & IIS _ INF _ UniBwM :: obraun@informatik.unibw-muenchen.de -} {- Tele-Consulting GmbH :: obraun@Tele-Consulting.com -} {- FreeBSD Commmitter :: obraun@FreeBSD.org -}
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. -- Alastair Reid alastair@reid-consulting-uk.ltd.uk Reid Consulting (UK) Limited http://www.reid-consulting-uk.ltd.uk/alastair/
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.
participants (4)
-
Alastair Reid -
Oliver Braun -
Pether Camitz -
Ross Paterson