Opened 18 months ago

Last modified 13 months ago

#66436 closed defect

cctools @949.0.1_2 checksum mismatch — at Version 2

Reported by: gplunk Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: cctools

Description (last modified by jmroot (Joshua Root))

I have no clue about this. I read the FAQ about checksum errors and found nothing that helped.

sudo port install cctools

--->  Computing dependencies for cctools
--->  Fetching archive for cctools
--->  Attempting to fetch cctools-949.0.1_2+llvm10.darwin_22.arm64.tbz2 from https://nue.de.packages.macports.org/cctools
--->  Attempting to fetch cctools-949.0.1_2+llvm10.darwin_22.arm64.tbz2 from https://packages.macports.org/cctools
--->  Attempting to fetch cctools-949.0.1_2+llvm10.darwin_22.arm64.tbz2 from https://fra.de.packages.macports.org/cctools
--->  Fetching distfiles for cctools
--->  Attempting to fetch ld64-530.tar.gz from https://opensource.apple.com/tarballs/ld64
--->  Attempting to fetch cctools-949.0.1.tar.gz from https://opensource.apple.com/tarballs/cctools
--->  Verifying checksums for cctools                                                        
Error: Checksum (rmd160) mismatch for ld64-530.tar.gz
Error: Checksum (sha256) mismatch for ld64-530.tar.gz
Error: Checksum (size) mismatch for ld64-530.tar.gz
Error: Checksum (rmd160) mismatch for cctools-949.0.1.tar.gz
Error: Checksum (sha256) mismatch for cctools-949.0.1.tar.gz
Error: Checksum (size) mismatch for cctools-949.0.1.tar.gz
Error: Failed to checksum cctools: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port cctools failed

Change History (2)

comment:1 Changed 18 months ago by gplunk

I looked into this more. I first determined the directory where the distribution files are supposed to be created

port distfiles cctools

This directory was in fact not even created. Is it possible that the checksum failed because it could not even download the distribution files? That is odd. So I downloaded the files manually (ProblemHotlist#fetch-failures), created the directory and put them there. Then I tried

sudo port install cctools

and it failed:

--->  Computing dependencies for cctools
--->  Fetching archive for cctools
--->  Attempting to fetch cctools-949.0.1_2+llvm10.darwin_22.arm64.tbz2 from https://nue.de.packages.macports.org/cctools
--->  Attempting to fetch cctools-949.0.1_2+llvm10.darwin_22.arm64.tbz2 from https://packages.macports.org/cctools
--->  Attempting to fetch cctools-949.0.1_2+llvm10.darwin_22.arm64.tbz2 from https://fra.de.packages.macports.org/cctools
--->  Fetching distfiles for cctools
--->  Verifying checksums for cctools
--->  Extracting cctools
--->  Applying patches to cctools
Warning: reinplace /^COMMON_SUBDIRS/s/ ld / / didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/Makefile
Warning: reinplace s:"llvm-mc":"llvm-mc-mp-10": didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/as/driver.c
--->  Configuring cctools
--->  Building cctools
Error: Failed to build cctools: command execution failed 
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port cctools failed
Last edited 18 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 18 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to jeremyhu
Status: newassigned
Summary: cctools checksum failcctools @949.0.1_2 checksum mismatch

https://opensource.apple.com/tarballs is no longer serving the files; it now redirects to https://github.com/apple-oss-distributions which doesn't have identical files, though the extracted contents are probably the same.

Note: See TracTickets for help on using tickets.