Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#34315 closed defect (fixed)

netcdf: Checksum mismatch

Reported by: r.s.macdonald@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: josephwinston (Joseph Winston), shadow178989@…
Port: netcdf

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Many other packages related to numpy scipy python27 etc installed correctly before this point:

Bobs-MacBook-Air:~ bob$ sudo port install py27-ipython
Password:
--->  Computing dependencies for py27-ipython
--->  Dependencies to be installed: py27-scientific netcdf
--->  Verifying checksum(s) for netcdf
Error: Checksum (md5) mismatch for netcdf-4.2.tar.gz
Error: Checksum (sha1) mismatch for netcdf-4.2.tar.gz
Error: Checksum (rmd160) mismatch for netcdf-4.2.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Failed to install netcdf
Log for netcdf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/main.log
Error: The following dependencies were not installed: py27-scientific netcdf
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (2)

main.log (17.6 KB) - added by shadow178989@… 12 years ago.
log of compilation
errorlog.txt (21.1 KB) - added by shadow178989@… 12 years ago.
error log

Download all attachments as: .zip

Change History (14)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to takeshi@…
Port: netcdf added
Summary: Checksum error on netcdfnetcdf: Checksum mismatch

comment:2 Changed 12 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Committed in r92656. Thanks.

comment:3 Changed 12 years ago by josephwinston (Joseph Winston)

Cc: josephwinston@… added

Cc Me!

Changed 12 years ago by shadow178989@…

Attachment: main.log added

log of compilation

comment:4 Changed 12 years ago by shadow178989@…

It seems the new checksum files are not working for me with Xcode 4.2.1 on Lion. I uploaded the logs of the compilation.

Thank you

comment:5 Changed 12 years ago by tenomoto (Takeshi Enomoto)

The update of checksums affect those who downloaded earlier tar.gz. I should have been more cautious. Delete ${prefix}/var/macports/distfiles/netcdf/netcdf-4.2.tar.gz and try again.

comment:6 Changed 12 years ago by tenomoto (Takeshi Enomoto)

I inserted pre-fetch to delete the src automatically in r92667. This is an adhoc fix until the next version.

comment:7 Changed 12 years ago by shadow178989@…

Resolution: fixed
Status: closedreopened

I deleted the tar, cleaned, self updated and tried to reinstall, but same error.

here is the log

Changed 12 years ago by shadow178989@…

Attachment: errorlog.txt added

error log

comment:8 Changed 12 years ago by shadow178989@…

Cc: shadow178989@… added

Cc Me!

comment:9 Changed 12 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: reopenedclosed

I got word from the developer of netcdf (#34320). The developer reverted version 4.2 before the stealth update and renamed the new version 4.2.0. I revamped Portfile to 4.2.0 in r92681.

comment:10 Changed 12 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: closedreopened

I noticed that 4.2 and 4.2.0 are regarded as the same. I'll see what I can do.

comment:11 Changed 12 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: reopenedclosed

The previous message was wrong. The real problem was that I incorrectly set distname. I should have set worksrcdir. committed in r92687.

comment:12 Changed 12 years ago by shadow178989@…

Now works for me. many thanks

Note: See TracTickets for help on using tickets.