Opened 4 years ago

Closed 4 years ago

#60301 closed defect (fixed)

py-pyficache: checksum mismatch

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: py-pyficache

Description

$ sudo port fetch --no-mirrors py37-pyficache
--->  Fetching distfiles for py37-pyficache
--->  Attempting to fetch python-filecache-1.0.0.tar.gz from https://github.com/rocky/python-filecache/archive/release-1.0.0
$ sudo port checksum py37-pyficache
--->  Verifying checksums for py37-pyficache
Error: Checksum (rmd160) mismatch for python-filecache-1.0.0.tar.gz
Error: Checksum (sha256) mismatch for python-filecache-1.0.0.tar.gz
Error: Checksum (size) mismatch for python-filecache-1.0.0.tar.gz
Error: Failed to checksum py37-pyficache: Unable to verify file checksums

This was caused when github.tarball_from archive was added to the port. Tarballs from archives and tarballs from tags have different checksums but that commit did not update the port's checksums nor handle it as a stealth update.

The simplest fix is to remove github.tarball_from archive again. You can re-add it when you update the port to a new version.

Change History (2)

comment:1 Changed 4 years ago by reneeotten (Renee Otten)

sorry Ryan, you're of course right - my apologies for missing this. I'll commit the solution you suggested shortly.

comment:2 Changed 4 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In 680e223d5273bfd79aa5fd3c110a9cd66d1afd3b/macports-ports (master):

py-pyficache: remove github.tarball_from archive

Closes: #60301

Note: See TracTickets for help on using tickets.