#66991 closed defect (fixed)

restic @0.15.1: Checksum mismatch

Reported by: MarcelBochtler (Marcel Bochtler) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: restic

Description

Hardware information: macOS 13.2.1 22D68 arm64 Xcode 14.1 14B47b

Error description: restic fails to install with a checksum mismatch:

--->  Fetching distfiles for restic
--->  Verifying checksums for restic
--->  Checksumming restic-0.15.1.tar.gz
Error: Checksum (rmd160) mismatch for restic-0.15.1.tar.gz
Portfile checksum: restic-0.15.1.tar.gz rmd160 f20402d959b36c98a217219811c5325bd0c7408b
Distfile checksum: restic-0.15.1.tar.gz rmd160 1d21459e774b4030ea49830ee0920ba7798d8d57
Error: Checksum (sha256) mismatch for restic-0.15.1.tar.gz
Portfile checksum: restic-0.15.1.tar.gz sha256 4e3d27dfda89388bd20eff24a61e3ea961248849c38ea22de44763a1027570e1
Distfile checksum: restic-0.15.1.tar.gz sha256 fce382fdcdac0158a35daa640766d5e8a6e7b342ae2b0b84f2aacdff13990c52
Error: Checksum (size) mismatch for restic-0.15.1.tar.gz
Portfile checksum: restic-0.15.1.tar.gz size 23926678
Distfile checksum: restic-0.15.1.tar.gz size 23920501
The correct checksum line may be:
checksums           rmd160  1d21459e774b4030ea49830ee0920ba7798d8d57 \
                    sha256  fce382fdcdac0158a35daa640766d5e8a6e7b342ae2b0b84f2aacdff13990c52 \
                    size    23920501
Error: Failed to checksum restic: Unable to verify file checksums

I tried changing the checksums in the Portfile to the printed ones, then I'm able to install restic.

Attachments (1)

restic-build.log (6.2 KB) - added by MarcelBochtler (Marcel Bochtler) 21 months ago.
Restic build log

Download all attachments as: .zip

Change History (6)

Changed 21 months ago by MarcelBochtler (Marcel Bochtler)

Attachment: restic-build.log added

Restic build log

comment:1 Changed 21 months ago by MarcelBochtler (Marcel Bochtler)

Keywords: restic removed

comment:2 Changed 21 months ago by MarcelBochtler (Marcel Bochtler)

Owner: set to herbygillot
Status: newassigned

comment:3 Changed 21 months ago by MarcelBochtler (Marcel Bochtler)

Summary: restic: Install fails due to checksum mismatch on arm64restic @0.15.1: Install fails due to checksum mismatch on arm64

comment:4 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: restic @0.15.1: Install fails due to checksum mismatch on arm64restic @0.15.1: Checksum mismatch

This port was last updated on January 30 therefore see https://lists.macports.org/pipermail/macports-dev/2023-February/044930.html

comment:5 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.