Simon Gray <[EMAIL PROTECTED]> writes ... > > thought I'd just let you know but I've had a problem untarring the > ghc2.01 for sparc-solaris. What I pulled from your glasgow archive > seems to have an impossible link and file type for > Newton_Interperlatory_Divided_Difference and the extraction then > fails on any of the following hslibs directory. > Hi, as Alex mentioned, this is due to us using GNU tar at Glasgow, which has causes trouble to several non-GNU tar users under sparc-sun-solaris2. GNU tar has its own extension mechanism for dealing with long archive names (> 100 chars is too `long' according to POSIX 1003.1, I believe), which kicked in when creating the ghc-2.01 archive (the offending entry has 103 chars). GNU tar creates an extension header block with name "././@LongLink" for these long filename entries, which is what's causing the bother (Looking at the GNU tar sources, the checksum for these blocks seem to be calculated way too early in some cases, but I could very well be wrong about that). To work around the problem, I'd suggest either feeding tar the -i option to ignore checksum errors, or create an exclude-file to avoid extracting the file that's causing the bother, i.e., sof% cat >excludes <<EOF ././@LongLink EOF sof% /bin/tar xvfX ghc-2.01-sparc-sun-solaris2.tar excludes ... sof% rm -f excludes sof% mv ghc-2.01-sparc-sun-solaris2/lib/hslibs/2.01/contrib/imports/Newton_Interpolatory_Divided_Difference ghc-2.01-sparc-sun-solaris2/lib/hslibs/2.01/contrib/imports/Newton_Interpolatory_Divided_Difference.hi (that last line is 99% likely to be mangled by my mailer before it reaches you :) To spare others trying to download the same solaris bundle(s), I've tar'ed up new versions of the 2.01 binary bundles for sparc-sun-solaris2 that should be OK regardless of the tar used, and put them up on the Glasgow ftp site. (For now I opted for the very low-tech solution of yanking the troublesome interface file). Hope that gets you going, --Sigbjorn
