Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#39511 closed defect (fixed)

py27-pyfits: checksum mismatch

Reported by: skymoo (Adam Mercer) Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: py27-pyfits

Description

Getting a checksum mismatch when trying to install py27-pyfits

Error: Checksum (md5) mismatch for pyfits-3.1.2.tar.gz
Portfile checksum: pyfits-3.1.2.tar.gz md5 fc849bf9b8d79235356d3fd1096757c1
Distfile checksum: pyfits-3.1.2.tar.gz md5 d0f1dce1719170b0c9777bbb15bbd8b3
Error: Checksum (sha1) mismatch for pyfits-3.1.2.tar.gz
Portfile checksum: pyfits-3.1.2.tar.gz sha1 442dd89e62d68d91c1bc0a0ee4364cab794c52e8
Distfile checksum: pyfits-3.1.2.tar.gz sha1 feec80bbd210ec86242c88f86a6acb32a062f7a2
Error: Checksum (rmd160) mismatch for pyfits-3.1.2.tar.gz
Portfile checksum: pyfits-3.1.2.tar.gz rmd160 c80064d9b6f077bc6aae6f551c111b3503e50f58
Distfile checksum: pyfits-3.1.2.tar.gz rmd160 5230b2b8db4eebcba9e883e30877b2cd52718261
The correct checksum line may be:
checksums           md5     d0f1dce1719170b0c9777bbb15bbd8b3 \
                    sha1    feec80bbd210ec86242c88f86a6acb32a062f7a2 \
                    rmd160  5230b2b8db4eebcba9e883e30877b2cd52718261

The usual port clean --all py27-pyfits has no effect. Downloading the tarball manually from the homepage also results in these same checksums, not the ones in the Portfile.

Change History (6)

comment:1 Changed 7 years ago by lpsinger (Leo Singer)

The copy that MacPorts downloaded on my computer on May 7 has checksums that match those listed in the Portfile, but I confirm that the tarball that is currently linked from the PyFITS download page (http://www.stsci.edu/institute/software_hardware/pyfits/Download) does not match. I will contact the developers.

comment:2 Changed 7 years ago by skymoo (Adam Mercer)

The date of the tarball currently downloaded is from 15 May, so it looks like they've done a stealth update. Can you do a diff between the two versions and see what they changed?

comment:3 in reply to:  2 Changed 7 years ago by lpsinger (Leo Singer)

Replying to ram@…:

The date of the tarball currently downloaded is from 15 May, so it looks like they've done a stealth update. Can you do a diff between the two versions and see what they changed?

I did. It's actually an innocuous change.

comment:4 Changed 7 years ago by skymoo (Adam Mercer)

wiki:PortfileRecipes#stealth-updates is probably the right approach.

comment:5 in reply to:  4 Changed 7 years ago by lpsinger (Leo Singer)

Resolution: fixed
Status: newclosed

Replying to ram@…:

wiki:PortfileRecipes#stealth-updates is probably the right approach.

Thank you. Fixed in r107245.

comment:6 Changed 7 years ago by jmroot (Joshua Root)

Port: py27-pyfits added; py27-pytits removed
Note: See TracTickets for help on using tickets.