Opened 5 years ago
Closed 5 years ago
#59064 closed defect (fixed)
tcptraceroute @1.5beta7: checksum mismatch
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ra1nb0w |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | tcptraceroute |
Description
[600af71a6aab4ea517fb218ee234aee11ddf3f97/macports-ports] introduced a checksum mismatch into the tcptraceroute port:
$ sudo port clean --all tcptraceroute ---> Cleaning tcptraceroute $ sudo port fetch --no-mirrors tcptraceroute ---> Fetching distfiles for tcptraceroute ---> Attempting to fetch tcptraceroute-1.5beta7.tar.gz from https://github.com/mct/tcptraceroute/tarball/tcptraceroute-1.5beta7 $ sudo port extract tcptraceroute ---> Verifying checksums for tcptraceroute Error: Checksum (rmd160) mismatch for tcptraceroute-1.5beta7.tar.gz Error: Checksum (sha256) mismatch for tcptraceroute-1.5beta7.tar.gz Error: Checksum (size) mismatch for tcptraceroute-1.5beta7.tar.gz Error: Failed to checksum tcptraceroute: Unable to verify file checksums
In that commit you switched the master sites from the old download location, which was a manually created tarball, to one generated automatically by GitHub. Although the contents of the two files appears to be the same, the enclosing directory name is not, therefore the files' checksums are different. And therefore this is a stealth update and must be handled as such.
It would be easier to use an archived copy of the original distfile instead, such as https://web.archive.org/web/20110724111914/http://michael.toren.net/code/tcptraceroute/tcptraceroute-1.5beta7.tar.gz
Change History (3)
comment:1 Changed 5 years ago by cjones051073 (Chris Jones)
Owner: | changed from cjones051073 to ra1nb0w |
---|
comment:2 Changed 5 years ago by ra1nb0w
during update from md5/sha1 I used for mistake the distfiles.macports.org version and not the github one. See PR
comment:3 Changed 5 years ago by ra1nb0w
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I only committed a PR, I did not author the change.