[MacPorts] #17646: SMLNJ checksum mismatch
#17646: SMLNJ checksum mismatch -----------------------------------+---------------------------------------- Reporter: watsonbladd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: smlnj -----------------------------------+---------------------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/17646> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17646: SMLNJ checksum mismatch -----------------------------------+---------------------------------------- Reporter: watsonbladd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: smlnj -----------------------------------+---------------------------------------- Comment(by mcalhoun@…): It should work after: {{{ sudo port clean --all smlnj }}} The boot.ppc-unix.tgz on the server has recently been changed.[[BR]] The checksums were changed in r43741 to accommodate new downloads.[[BR]] For upgrades, however, MacPorts doesn't think it needs to download a new version (which it does)[[BR]] because there was no name change. Please let me know it this works. -- Ticket URL: <http://trac.macports.org/ticket/17646#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17646: SMLNJ checksum mismatch -----------------------------------+---------------------------------------- Reporter: watsonbladd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: smlnj -----------------------------------+---------------------------------------- Comment(by jmr@…): 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. -- Ticket URL: <http://trac.macports.org/ticket/17646#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17646: SMLNJ checksum mismatch ------------------------------------+--------------------------------------- Reporter: watsonbladd@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: smlnj | ------------------------------------+--------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:3 jmr@…]:
In cases like this, you should change the dist_subdir to `${name}/${version}_${revision}`[[BR]] Thank you for the information.
Fixed in r43777. -- Ticket URL: <http://trac.macports.org/ticket/17646#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts