Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48960 closed defect (fixed)

cctools @862_1: Checksum mismatch

Reported by: ksee.zelgadis@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), aberezin (Alan Berezin), ghlecl (Ghyslain Leclerc), jenstroeger (Jens Troeger)
Port: cctools

Description

Hello! Got the "checksum mismatch error" when trying to install cctools:

:debug:fetch fetch phase started at Thu Sep 24 10:05:39 MSD 2015
:notice:fetch --->  Fetching distfiles for cctools
:debug:fetch Executing org.macports.fetch (cctools)
:info:fetch --->  ld64-236.3.tar.gz doesn't seem to exist in /Volumes/data/build.u/var/macports/distfiles/cctools
:notice:fetch --->  Attempting to fetch ld64-236.3.tar.gz from http://opensource.apple.com/tarballs/cctools
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch ld64-236.3.tar.gz from http://opensource.apple.com/tarballs/ld64
:info:fetch --->  cctools-862.tar.gz doesn't seem to exist in /Volumes/data/build.u/var/macports/distfiles/cctools
:notice:fetch --->  Attempting to fetch cctools-862.tar.gz from http://opensource.apple.com/tarballs/cctools
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Thu Sep 24 10:06:11 MSD 2015
:notice:checksum --->  Verifying checksums for cctools
:debug:checksum Executing org.macports.checksum (cctools)
:info:checksum --->  Checksumming ld64-236.3.tar.gz
:debug:checksum Calculated (rmd160) is 6a3f44aa9ae57a60d2cff5b3d47be7972ad83029
:debug:checksum Correct (rmd160) checksum for ld64-236.3.tar.gz
:debug:checksum Calculated (sha256) is 8ef36729b643201081ab45ebd8586ede8f9968bc17614b679a940faa82875ca6
:debug:checksum Correct (sha256) checksum for ld64-236.3.tar.gz
:info:checksum --->  Checksumming cctools-862.tar.gz
:debug:checksum Calculated (rmd160) is c79db170ace40a3775e0e8de47edda28f27b25d8
:error:checksum Checksum (rmd160) mismatch for cctools-862.tar.gz
:info:checksum Portfile checksum: cctools-862.tar.gz rmd160 21ca74a5f9d04c37c2310f107e21a0f3713360dd
:info:checksum Distfile checksum: cctools-862.tar.gz rmd160 c79db170ace40a3775e0e8de47edda28f27b25d8
:debug:checksum Calculated (sha256) is cb6ad2e785e8e187ecf71023f68f93489a8df6c0d7b46fc1e0f005ee3a63c19d
:error:checksum Checksum (sha256) mismatch for cctools-862.tar.gz
:info:checksum Portfile checksum: cctools-862.tar.gz sha256 1bf29f620b91c901ad3116b47738ab5076c1aed75d13869cd3bc7f067b4aaadb
:info:checksum Distfile checksum: cctools-862.tar.gz sha256 cb6ad2e785e8e187ecf71023f68f93489a8df6c0d7b46fc1e0f005ee3a63c19d
:info:checksum The correct checksum line may be:
:info:checksum checksums           ld64-236.3.tar.gz \
                    rmd160  6a3f44aa9ae57a60d2cff5b3d47be7972ad83029 \
                    sha256  8ef36729b643201081ab45ebd8586ede8f9968bc17614b679a940faa82875ca6 \
                    cctools-862.tar.gz \
                    rmd160  c79db170ace40a3775e0e8de47edda28f27b25d8 \
                    sha256  cb6ad2e785e8e187ecf71023f68f93489a8df6c0d7b46fc1e0f005ee3a63c19d
:error:checksum org.macports.checksum for port cctools returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"portchecksum::checksum_main org.macports.checksum"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"

"port clean --all cctools" doesn't helps.

Change History (12)

comment:1 Changed 9 years ago by ksee.zelgadis@…

libmacho-headers is also affected.

comment:2 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Indeed...

$ wget http://opensource.apple.com/tarballs/cctools/cctools-862.tar.gz
--2015-09-24 01:31:14--  http://opensource.apple.com/tarballs/cctools/cctools-862.tar.gz
Resolving opensource.apple.com (opensource.apple.com)... 17.251.224.146
Connecting to opensource.apple.com (opensource.apple.com)|17.251.224.146|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3402238 (3.2M) [application/x-gzip]
Saving to: ‘cctools-862.tar.gz’

cctools-862.tar.gz            100%[=================================================>]   3.24M  2.30MB/s   in 1.4s   

2015-09-24 01:31:16 (2.30 MB/s) - ‘cctools-862.tar.gz’ saved [3402238/3402238]

$ openssl sha256 cctools-862.tar.gz
SHA256(cctools-862.tar.gz)= cb6ad2e785e8e187ecf71023f68f93489a8df6c0d7b46fc1e0f005ee3a63c19d

Last edited 9 years ago by jeremyhu (Jeremy Huddleston Sequoia) (previous) (diff)

comment:3 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Reported upstream as <rdar://problem/22835384>.

comment:4 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Addressed by just updating to version 870 in r140578 and r140579.

comment:5 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

comment:6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Note that by inspecting the old and new tarballs for cctools-862.tar.gz, it looks like it was a stealth update bugfix.

comment:7 Changed 9 years ago by aberezin (Alan Berezin)

I still see the problem in 870. Am I missing something? I also tried 'port clean --all cctools' . Doing a wget and checking the sha256 on cctools-870.tar.gz indeed confirms the differing checksums.

$ sudo port upgrade outdated
...
--->  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 log file

...
:error:checksum Checksum (sha256) mismatch for cctools-870.tar.gz
:info:checksum Portfile checksum: cctools-870.tar.gz sha256 b83f4b4696414b814cc1781ec4b68ff9c7bb97920a68f308351a74e75f41d961
:info:checksum Distfile checksum: cctools-870.tar.gz sha256 81a12e325255ea683447aff5f4d93f53e2498edcfdd4bb43996a21ef7f00b267
...

comment:8 Changed 9 years ago by aberezin (Alan Berezin)

Cc: alan.berezin1@… added

Cc Me!

comment:9 Changed 9 years ago by ghlecl (Ghyslain Leclerc)

Cc: ghleclerc@… added

Cc Me!

comment:10 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

comment:11 Changed 9 years ago by jenstroeger (Jens Troeger)

Cc: jens.troeger@… added

Cc Me!

comment:12 Changed 9 years ago by jenstroeger (Jens Troeger)

Yup seeing the same thing today:

--->  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
Error: Failed to install cctools
Note: See TracTickets for help on using tickets.