#66183 closed defect (worksforme)
Capstone port points to version newer than what's available.
Reported by: | wdormann | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | chrstphrchvz (Christopher Chavez) | |
Port: |
Description
The capstone port refers to a version that isn't available.
Steps to reproduce:
sudo port install capstone
Actual results:
---> Fetching archive for capstone ---> Attempting to fetch capstone-4.0.2_0.darwin_22.arm64.tbz2 from https://packages.macports.org/capstone ---> Attempting to fetch capstone-4.0.2_0.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/capstone ---> Attempting to fetch capstone-4.0.2_0.darwin_22.arm64.tbz2 from https://mse.uk.packages.macports.org/capstone ---> Verifying checksums for capstone Error: Checksum (rmd160) mismatch for capstone-4.0.2.tar.gz Error: Checksum (sha256) mismatch for capstone-4.0.2.tar.gz Error: Checksum (size) mismatch for capstone-4.0.2.tar.gz Error: Failed to checksum capstone: Unable to verify file checksums Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_capstone/capstone/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port capstone failed
Expected results: Either the port is updated to reflect the latest version available, or the package mirrors are updated to reflect what's in the port. It's been this way for days.
Browsing https://packages.macports.org/capstone/ shows that build 21 is the latest available. Not 22.
Change History (4)
comment:1 Changed 2 years ago by chrstphrchvz (Christopher Chavez)
comment:2 Changed 2 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:3 Changed 2 years ago by wdormann
Ah, that did it! I guess it would have been nice that I didn't have to manually clean it. But it indeed works now.
% sudo port clean --all capstone Password: ---> Cleaning capstone % sudo port install capstone ---> Fetching archive for capstone ---> Attempting to fetch capstone-4.0.2_0.darwin_22.arm64.tbz2 from https://packages.macports.org/capstone ---> Attempting to fetch capstone-4.0.2_0.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/capstone ---> Attempting to fetch capstone-4.0.2_0.darwin_22.arm64.tbz2 from https://mse.uk.packages.macports.org/capstone ---> Fetching distfiles for capstone ---> Attempting to fetch capstone-4.0.2.tar.gz from https://distfiles.macports.org/capstone ---> Verifying checksums for capstone ---> Extracting capstone ---> Applying patches to capstone ---> Configuring capstone ---> Building capstone ---> Staging capstone into destroot ---> Installing capstone @4.0.2_0 ---> Activating capstone @4.0.2_0 ---> Cleaning capstone ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found.
comment:4 Changed 2 years ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
looks like you had a bad download for some reason.
% sudo port -v checksum capstone ---> Fetching distfiles for capstone ---> capstone-4.0.2.tar.gz does not exist in /opt/local/var/macports/distfiles/capstone ---> Attempting to fetch capstone-4.0.2.tar.gz from https://distfiles.macports.org/capstone % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3358k 100 3358k 0 0 518k 0 0:00:06 0:00:06 --:--:-- 721k ---> Verifying checksums for capstone ---> Checksumming capstone-4.0.2.tar.gz
Note: See
TracTickets for help on using
tickets.
darwin_21
refers to prebuilt packages for Darwin 21, i.e. macOS 12 Monterey.darwin_22
would be for macOS 13 Ventura, but MacPorts is not yet building packages for macOS 13. Your machine will fallback to building ports locally, but as indicated by the error you provide, this fails during distfile checksum verification. Does the error persist after doingsudo port clean --all capstone
?