[MacPorts] #66991: restic: Install fails due to checksum mismatch on arm64

MacPorts noreply at macports.org
Fri Feb 24 17:16:53 UTC 2023


#66991: restic: Install fails due to checksum mismatch on arm64
----------------------------+--------------------
 Reporter:  MarcelBochtler  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.8.1
 Keywords:  restic          |       Port:  restic
----------------------------+--------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/66991>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list