Opened 11 years ago

Closed 11 years ago

#41808 closed defect (fixed)

lua-numlua: checksum mismatch

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: lua-numlua

Description

--->  Computing dependencies for lua-numlua
--->  Fetching distfiles for lua-numlua
--->  Attempting to fetch f05281e96030adb9c09a01b9d9be4fa9fa4c795e.zip from https://github.com/carvalho/numlua/archive/
--->  Verifying checksums for lua-numlua
Error: Checksum (md5) mismatch for f05281e96030adb9c09a01b9d9be4fa9fa4c795e.zip
Error: Checksum (sha1) mismatch for f05281e96030adb9c09a01b9d9be4fa9fa4c795e.zip
Error: Checksum (rmd160) mismatch for f05281e96030adb9c09a01b9d9be4fa9fa4c795e.zip
Error: org.macports.checksum for port lua-numlua returned: Unable to verify file checksums
Please see the log file for port lua-numlua for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_devel_lua-numlua/lua-numlua/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port lua-numlua failed

Change History (1)

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

Resolution: fixed
Status: newclosed

Indeed the distfile has changed. The old one, on distfiles.macports.org:

-rw-r--r--   1 rschmidt  pulse  288298 Dec 13 19:50 f05281e96030adb9c09a01b9d9be4fa9fa4c795e.zip

The new one, from github.com today:

-rw-r--r--   1 macports  pulse  291466 Dec 13 18:41 f05281e96030adb9c09a01b9d9be4fa9fa4c795e.zip

But once unzipped their contents are identical.

The simplest fix is to fetch only from macports_distfiles until updating to a newer version is needed. Done in r114704.

When updating to a newer version in the future, the way in which the port uses the github portgroup should be simplified to the standard way it's used.

Note: See TracTickets for help on using tickets.