Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17646 closed defect (fixed)

SMLNJ checksum mismatch

Reported by: wbl (Watson Ladd) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: bfulgham@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: smlnj

Description

Again upgrading smlnj fails with the following message: {{{Error: Checksum (sha1) mismatch for boot.ppc-unix.tgz Error: Target org.macports.checksum returned: Unable to verify file checksums}}}

Running sudo port -d smlnj we get

...
--->  Checksumming boot.ppc-unix.tgz
Error: Checksum (sha1) mismatch for boot.ppc-unix.tgz
Portfile checksum: boot.ppc-unix.tgz sha1 e264fd6f168aaf0124adb1b3727cbf7c5c6c2705
Distfile checksum: boot.ppc-unix.tgz sha1 8c4d7b2512f70420617835899f4b8e8e30e6e819
...

where ... indicates lines omitted for clarity.

Change History (5)

comment:1 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

It should work after:

sudo port clean --all smlnj

The boot.ppc-unix.tgz on the server has recently been changed.
The checksums were changed in r43741 to accommodate new downloads.
For upgrades, however, MacPorts doesn't think it needs to download a new version (which it does)
because there was no name change.

Please let me know it this works.

comment:2 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:3 Changed 15 years ago by jmroot (Joshua Root)

In cases like this, you should change the dist_subdir to ${name}/${version}_${revision}, both because otherwise port won't try to re-fetch if the old file is present, and because the file on distfiles.macports.org will still be the old one.

comment:4 in reply to:  3 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Replying to jmr@…:

In cases like this, you should change the dist_subdir to ${name}/${version}_${revision}

Thank you for the information.

Fixed in r43777.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.