Opened 2 years ago

Last modified 2 years ago

#66339 assigned defect

p5.34-test-cpan-meta-json @0.160.0 checksum mismatch

Reported by: agallenne (Alex) Owned by: cardi (calvin ardi)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5-test-cpan-meta-json

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am on MacOS Ventura 13.0.1. I did a sudo port selfupdate without problem, and then sudo port upgrade outdated, but it fails with the following error:

(base) MacBook-Pro-de-alex:BISTRO alex$ sudo port upgrade outdated
--->  Computing dependencies for p5.34-test-cpan-meta-json
--->  Fetching archive for p5.34-test-cpan-meta-json
--->  Attempting to fetch p5.34-test-cpan-meta-json-0.160.0_0.darwin_22.noarch.tbz2 from https://packages.macports.org/p5.34-test-cpan-meta-json
--->  Attempting to fetch p5.34-test-cpan-meta-json-0.160.0_0.darwin_22.noarch.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/p5.34-test-cpan-meta-json
--->  Attempting to fetch p5.34-test-cpan-meta-json-0.160.0_0.darwin_22.noarch.tbz2 from https://mse.uk.packages.macports.org/p5.34-test-cpan-meta-json
--->  Verifying checksums for p5.34-test-cpan-meta-json
Error: Checksum (rmd160) mismatch for Test-CPAN-Meta-JSON-0.16.tar.gz
Error: Checksum (sha256) mismatch for Test-CPAN-Meta-JSON-0.16.tar.gz
Error: Failed to checksum p5.34-test-cpan-meta-json: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-test-cpan-meta-json/p5.34-test-cpan-meta-json/main.log for details.
Error: Problem while installing p5.34-test-cpan-meta-json
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Change History (4)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to cardi
Port: p5-test-cpan-meta-json added; p5.34-test-cpan-meta-json removed
Status: newassigned
Summary: upgrade outdated failed for p5.34-test-cpan-meta-jsonp5.34-test-cpan-meta-json @0.160.0 checksum mismatch

Works OK for me. Which mirror did your download come from? (The distfile appears to have been downloaded prior to the command that you've shown.)

comment:2 Changed 2 years ago by agallenne (Alex)

I do not know, just installed from Macport (seems to be from https://mse.uk.packages.macports.org/p5.34-test-cpan-meta-json according to what I posted)

comment:3 Changed 2 years ago by jmroot (Joshua Root)

There is no distfile download in the output you quoted. The archive fails to download from 3 mirrors, so MacPorts falls back to building from source, and the checksum phase fails immediately without running the fetch phase, which means fetch was already completed previously.

The log file may contain the previous attempt, so please attach it. If it doesn't, run sudo port clean --dist p5.34-test-cpan-meta-json and then try the upgrade again, and attach the log if it fails.

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.