[MacPorts] #49020: Checksum (rmd160) mismatch for cctools-870.tar.gz
#49020: Checksum (rmd160) mismatch for cctools-870.tar.gz -----------------------------+-------------------------------- Reporter: john.qingwang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: cctools-870 -----------------------------+-------------------------------- The error occurs after migration from MacOS X Yosemite to MacOS X El Captain. `sudo port clean cctools` was attempted but failed to resolve the problem. -- Ticket URL: <https://trac.macports.org/ticket/49020> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… * port: cctools-870 => cctools Comment: Did you read wiki:FAQ#checksums and attempt to figure out which situation applies in your case? -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by john.qingwang@…): Replying to [comment:1 ryandesign@…]:
Did you read wiki:FAQ#checksums and attempt to figure out which situation applies in your case?
Thanks for the reply. I did try all the suggestions but the second one. If I managed to get the complete file of cctools from a machine with MacOS Yosemite, how could I install it? Thank you! -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by john.qingwang@…): It turns out to be that port is looking for cctools- 870_0+llvm35.darwin_15.x86_64.tbz2 which seems to be unavailable yet. -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Hot-Wire@…): I'm having the same issue after the El Capitan upgrade, during the mass reinstall required by MacPorts migration. I also had this issue prior to the upgrade, while still running Yosemite, but decided to deal with it post-upgrade (since migration forces uninstallation anyway). {{{ $ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated $ sudo port clean --dist cctools ---> Cleaning cctools $ sudo port install cctools ---> Computing dependencies for cctools ---> Fetching archive for cctools ---> Attempting to fetch cctools-870_0+llvm35.darwin_15.x86_64.tbz2 from http://packages.macports.org/cctools ---> Attempting to fetch cctools-870_0+llvm35.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/cctools ---> Attempting to fetch cctools-870_0+llvm35.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/cctools ---> Fetching distfiles for cctools ---> Attempting to fetch ld64-242.tar.gz from http://opensource.apple.com/tarballs/cctools ---> Attempting to fetch ld64-242.tar.gz from http://opensource.apple.com/tarballs/ld64 ---> Attempting to fetch cctools-870.tar.gz from http://opensource.apple.com/tarballs/cctools ---> Verifying checksums for cctools Error: Checksum (rmd160) mismatch for cctools-870.tar.gz Error: Checksum (sha256) mismatch for cctools-870.tar.gz Error: org.macports.checksum for port cctools returned: Unable to verify file checksums $ shasum -a 256 /opt/local/var/macports/distfiles/cctools/cctools-870.tar.gz 81a12e325255ea683447aff5f4d93f53e2498edcfdd4bb43996a21ef7f00b267 /opt/local/var/macports/distfiles/cctools/cctools-870.tar.gz $ tar xzf /opt/local/var/macports/distfiles/cctools/cctools-870.tar.gz $ ls cctools-870/ total 80 -rw-r--r-- 1 desimone staff 19829 Mar 19 2013 APPLE_LICENSE -rw-r--r-- 1 desimone staff 16171 Aug 26 00:49 Makefile -rw-r--r-- 1 desimone staff 637 Mar 19 2013 PB.project drwxr-xr-x 18 desimone staff 612 Sep 30 01:50 ar/ drwxr-xr-x 82 desimone staff 2788 Sep 30 01:50 as/ drwxr-xr-x 4 desimone staff 136 Sep 30 01:50 cbtlibs/ drwxr-xr-x 5 desimone staff 170 Sep 30 01:50 efitools/ drwxr-xr-x 18 desimone staff 612 Sep 30 01:50 gprof/ drwxr-xr-x 16 desimone staff 544 Sep 30 01:50 include/ drwxr-xr-x 64 desimone staff 2176 Sep 30 01:50 ld/ drwxr-xr-x 18 desimone staff 612 Sep 30 01:50 libmacho/ drwxr-xr-x 41 desimone staff 1394 Sep 30 01:50 libstuff/ drwxr-xr-x 46 desimone staff 1564 Sep 30 01:50 man/ drwxr-xr-x 23 desimone staff 782 Sep 30 01:50 misc/ drwxr-xr-x 34 desimone staff 1156 Sep 30 01:50 otool/ }}} The file does not appear to be corrupt. I have downloaded cctools-master.zip from https://github.com/opensource- apple/cctools (the only other source for this I could find on Google that wasn't Apple's version or this bug report) and it matches Apple's version exactly. Apple's site (http://www.opensource.apple.com/tarballs/cctools/) does not seem to provide checksums. Not sure how to proceed. I have no reason to suspect corruption, foul play, not the OS upgrade. A stealth tarball regeneration on Apple's part seems the most likely case. -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Hot-Wire@…): I attached a tarball I found on another machine that was able to install cctools. I haven't had a chance to test it or diff it. {{{ $ shasum -a 256 cctools-870.tar.gz b83f4b4696414b814cc1781ec4b68ff9c7bb97920a68f308351a74e75f41d961 cctools-870.tar.gz }}} -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Hot-Wire@…): * Updated to MacPorts 2.3.4 via `port selfupdate`. * `cctools` still failed to build due to checksum error. * Replaced `/opt/local/var/macports/distfiles/cctools/cctools-870.tar.gz` with attachment noted in comment 6. * `cctools` successfully built. * Compared the two tarballs. Difference in size of 41 bytes. * Unpacked both old and new tarballs. Comparing them with `diff -r` detected no differences. * Dumping tarball directories with `tar tzf` and comparing with `diff` detected no differences. Not sure what else to throw at this to convince folks it's a stealth change on Apple's part, and not user error or corruption. There doesn't seem to be any user-side corrective action that can be taken either, except replacing the tarball with the one above. Can you just update the port checksums to the current file? -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by jeremyhu@…): I need to first make sure that these stealth updates stop happening. -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by ryandesign@…): Replying to [comment:3 john.qingwang@…]:
It turns out to be that port is looking for cctools- 870_0+llvm35.darwin_15.x86_64.tbz2 which seems to be unavailable yet.
At this time, that is normal. We do not have a buildbot builder set up for El Capitan yet, so there are no binaries of any ports for darwin_15 yet. See #48609. -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by jens.troeger@…): Replying to [comment:13 ryandesign@…]:
Replying to [comment:3 john.qingwang@…]: At this time, that is normal. We do not have a buildbot builder set up for El Capitan yet, so there are no binaries of any ports for darwin_15 yet. See #48609.
Does this mean people will be blocked until the buildbot comes alive? When will that be? -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Hot-Wire@…): Replying to [comment:15 jens.troeger@…]:
At this time, that is normal. We do not have a buildbot builder set up for El Capitan yet, so there are no binaries of any ports for darwin_15 yet. See #48609.
Does this mean people will be blocked until the buildbot comes alive? When will that be?
No, they'll be blocked until jeremyhu "make[s] sure that these stealth updates stop happening." All the buildbot means is that you'll have to build ports from source instead of installing prebuilt binary packages. The buildbot is going to have the same checksum failure as we do unless they either patch in the old tarball and prevent updates to the new one, or change the checksums to match the new version. Presence or absence of the buildbot is not a factor. -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by bmayer@…): Replying to [comment:17 bmayer@…]:
Cc Me!
I am also having the issue. For sure not only El Capitan as I am on 10.9.5. -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:18> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: cctools | ------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r140775 Hopefully this won't happen again... -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:19> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by s.t.smith@…): cc me on 10.10.5. port clean --dist and all the other tricks failed to resolve the issue. -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:20> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by Hot-Wire@…): Replying to [comment:20 s.t.smith@…]:
cc me on 10.10.5.
port clean --dist and all the other tricks failed to resolve the issue. You'll be fine as soon as the fix propagates. The issue is not OS version dependent.
-- Ticket URL: <https://trac.macports.org/ticket/49020#comment:21> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by s.t.smith@…): Replying to [comment:19 jeremyhu@…]:
r140775
Hopefully this won't happen again...
I don't believe this is fixed -- I'm seeing the exact same problem after I do this FOLLOWING your post: {{{ sudo port -d selfupdate sudo port clean --dist cctools sudo port install -s cctools sudo port clean --dist cctools sudo port upgrade outdated }}} All this fails with the error: {{{ ---> Computing dependencies for cctools ---> Verifying checksums for cctools Error: Checksum (rmd160) mismatch for cctools-870.tar.gz Error: Checksum (sha256) mismatch for cctools-870.tar.gz Error: org.macports.checksum for port cctools returned: Unable to verify file checksums }}} The hashes in the Portfile are: {{{ less `port file cctools` checksums cctools-870.tar.gz \ rmd160 21cfe0e5f14f4a16f198a9f52ed5e133b01ae3a2 \ sha256 b83f4b4696414b814cc1781ec4b68ff9c7bb97920a68f308351a7 }}} -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:22> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Changes (by s.t.smith@…): * status: closed => reopened * resolution: fixed => -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:23> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by s.t.smith@…): Replying to [comment:19 jeremyhu@…]:
r140775
Hopefully this won't happen again...
The hashes in the Portfile conflict with the file available from Apple at http://opensource.apple.com/tarballs/cctools/cctools-870.tar.gz: {{{ $ openssl rmd160 cctools-870.tar.gz RIPEMD160(cctools-870.tar.gz)= 1e3a2c0b8227ed1462e8097d8f99fb1af803d834 $ openssl sha256 cctools-870.tar.gz SHA256(cctools-870.tar.gz)= 81a12e325255ea683447aff5f4d93f53e2498edcfdd4bb43996a21ef7f00b267 }}} -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:24> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by s.t.smith@…): Replying to [comment:21 Hot-Wire@…]:
Replying to [comment:20 s.t.smith@…]:
cc me on 10.10.5.
port clean --dist and all the other tricks failed to resolve the issue. You'll be fine as soon as the fix propagates. The issue is not OS version dependent.
Oh there it is. Thank you! Fixed for me now. -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:25> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cctools | ------------------------------+------------------------ Comment (by john.qingwang@…): The issue seems to be resolved for me by following {{{ sudo port -d selfupdate sudo port clean --dist cctools sudo port install -s cctools }}} Thank you! -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:26> MacPorts <https://www.macports.org/> Ports system for OS X
#49020: cctools @870: Checksum (rmd160) mismatch for cctools-870.tar.gz ------------------------------+------------------------ Reporter: john.qingwang@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: cctools | ------------------------------+------------------------ Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/49020#comment:27> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts