#35476 closed defect (invalid)
ncarg: checksum mismatch
Reported by: | mike@… | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | ncarg |
Description
ncarg not avail on any macports site
subsequently downloaded ncarg zip file per instructions: fetch Download ncl_ncarg-6.0.0.tar.gz manually and place it in /opt/local/var/macports/distfiles/ncarg.
See instructions on http://www.ncl.ucar.edu//Download/index.shtml
reran sudo port install ncarg
failed due to checksum differences
Change History (5)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mike@… removed |
---|---|
Owner: | changed from macports-tickets@… to takeshi@… |
Port: | ncarg added |
Summary: | port install ncarg fails → ncarg: checksum mismatch |
comment:2 Changed 12 years ago by mike@…
I scp'd directly from NCAR's glade file system:
-rw-r--r-- 1 mpage staff 56770101 Aug 2 09:41 ncl_ncarg-6.0.0.MacOS_10.6_64bit_nodap_gcc421.tar.gz
/Users/mpage/desktop $ > cksum ncl_ncarg-6.0.0.MacOS_10.6_64bit_nodap_gcc421.tar.gz 2141362465 56770101 ncl_ncarg-6.0.0.MacOS_10.6_64bit_nodap_gcc421.tar.gz
but this is a binary file. The source file matches the size that you have specified. In ESG's new download procedure you can select from among two flavors of binaries or source.
I'll download the source file & try again.
comment:3 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Right, the message says to download ncl_ncarg-6.0.0.tar.gz, not ncl_ncarg-6.0.0.MacOS_10.6_64bit_nodap_gcc421.tar.gz.
comment:4 Changed 12 years ago by c.brierley@…
I've just encountered this issue as well. It arose from strange behaviour of my Safari download from the EarthSystemGrid.
The file on that website (ncl_ncarg-6.1.2.tar.gz) renamed itself to ncl_ncarg-6.1.2.tar upon its download without actually untarring. Just appending the .gz suffix as I moved it to /opt/local/var/macports/distfiles/ncarg worked fine.
comment:5 Changed 12 years ago by tenomoto (Takeshi Enomoto)
The .gz suffix refers to compressed with gzip. Just appending the suffix does not compress the tar archive. Even if the suffix is .tar.gz, it is still an uncompressed tar archive. To make Safari leave the downloaded file without uncompressing, uncheck open safe files after downloading in Safari's preferences.
Unable to reproduce. The checksums match for me. Try downloading the file again. Make sure you got the complete file. It should be 42919263 bytes.