Opened 10 months ago

Closed 7 months ago

#69081 closed defect (fixed)

step-cli @0.25.1: checksum mismatch

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: step-cli

Description

https://build.macports.org/builders/ports-14_arm64-builder/builds/1121/steps/install-port/logs/stdio

--->  Verifying checksums for step-cli
DEBUG: Executing org.macports.checksum (step-cli)
--->  Checksumming cli-0.25.1.tar.gz
Portfile checksum: cli-0.25.1.tar.gz rmd160 76fcea081dc1a6e909d8b7401c7940c7fbb87b3e
Distfile checksum: cli-0.25.1.tar.gz rmd160 28347b37a5e47f1a36cb5f02f75e648d8e2b10ce
DEBUG: Calculated (rmd160) is 28347b37a5e47f1a36cb5f02f75e648d8e2b10ce
Error: Checksum (rmd160) mismatch for cli-0.25.1.tar.gz
DEBUG: Calculated (sha256) is 5bdde44a12e2606d0b5036c4c022fd61a920cd12f989031c64a3f0a279ad25d6
Error: Checksum (sha256) mismatch for cli-0.25.1.tar.gz
Portfile checksum: cli-0.25.1.tar.gz sha256 72629aa3a4a6ec9d3e8488277253e2d23f25eae63bf2e5e1947843a53c05f1aa
Distfile checksum: cli-0.25.1.tar.gz sha256 5bdde44a12e2606d0b5036c4c022fd61a920cd12f989031c64a3f0a279ad25d6
DEBUG: Calculated (size) is 1637953
Error: Checksum (size) mismatch for cli-0.25.1.tar.gz
Portfile checksum: cli-0.25.1.tar.gz size 1638428
Distfile checksum: cli-0.25.1.tar.gz size 1637953
The correct checksum line may be:
checksums           rmd160  28347b37a5e47f1a36cb5f02f75e648d8e2b10ce \
                    sha256  5bdde44a12e2606d0b5036c4c022fd61a920cd12f989031c64a3f0a279ad25d6 \
                    size    1637953
Error: Failed to checksum step-cli: Unable to verify file checksums
DEBUG: Error code: NONE

Change History (2)

comment:1 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

The port uses github.tarball_from archive, so it gets tarballs automatically generated by GitHub.

The difference between the tarball we originally mirrored and the one currently available is:

In the step-cli repository, the .VERSION file contains $Format:%d$, so how this token is expanded whenever GitHub runs git archive could vary.

Updating to 0.25.2 would fix it, but while you're doing that, please also switch to github.tarball_from releases so that this kind of thing won't happen in the future.

Last edited 10 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 7 months ago by herbygillot (Herby Gillot)

Resolution: fixed
Status: assignedclosed

In 5aea74463909d233334024ba35165692b11cbe80/macports-ports (master):

step-cli: update to 0.26.0

  • install shell completions

Fixes: #69081

Note: See TracTickets for help on using tickets.