#71655 closed defect (fixed)

fastfetch: checksums mismatch

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: Cc: herbygillot (Herby Gillot), jmroot (Joshua Root)
Port: fastfetch

Description

For some reason checksums do not work correctly for a legacy version:

--->  fastfetch-2.29.0.tar.gz does not exist in /opt/local/var/macports/distfiles/fastfetch
--->  Attempting to fetch fastfetch-2.29.0.tar.gz from https://github.com/fastfetch-cli/fastfetch/archive/2.32.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1130k    0 1130k    0     0  1327k      0 --:--:-- --:--:-- --:--:-- 1327k
--->  Verifying checksums for fastfetch
--->  Checksumming fastfetch-2.29.0.tar.gz
Error: Checksum (rmd160) mismatch for fastfetch-2.29.0.tar.gz
Portfile checksum: fastfetch-2.29.0.tar.gz rmd160 e6549efbe91eed77641468535bf3d5bbb86dc60d
Distfile checksum: fastfetch-2.29.0.tar.gz rmd160 f4ce52721c713921055d6ed9fafce5b81a275bd2
Error: Checksum (sha256) mismatch for fastfetch-2.29.0.tar.gz
Portfile checksum: fastfetch-2.29.0.tar.gz sha256 c3fcccf9502e41c76c30e89530820bf1c7719257e5624bfa5fa77e6627ecb602
Distfile checksum: fastfetch-2.29.0.tar.gz sha256 f08efaaffa9f1c58b085105acfc41c65ed8f5721bdc7b1746b80700c727a4f60
Error: Checksum (size) mismatch for fastfetch-2.29.0.tar.gz
Portfile checksum: fastfetch-2.29.0.tar.gz size 1136647
Distfile checksum: fastfetch-2.29.0.tar.gz size 1158012
The correct checksum line may be:
checksums           rmd160  f4ce52721c713921055d6ed9fafce5b81a275bd2 \
                    sha256  f08efaaffa9f1c58b085105acfc41c65ed8f5721bdc7b1746b80700c727a4f60 \
                    size    1158012
Error: Failed to checksum fastfetch: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_fastfetch/fastfetch/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

Change History (2)

comment:1 in reply to:  description Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to barracuda156:

For some reason checksums do not work correctly for a legacy version:

--->  fastfetch-2.29.0.tar.gz does not exist in /opt/local/var/macports/distfiles/fastfetch
--->  Attempting to fetch fastfetch-2.29.0.tar.gz from https://github.com/fastfetch-cli/fastfetch/archive/2.32.1

There is a mismatch between the version number in the distname and the version number in the master_sites URL. This happens because the port calls github.setup twice. The code needs to be rearranged so that github.setup is called only once for any given version.

comment:2 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmroot added
Resolution: → fixed
Status: new → closed
Note: See TracTickets for help on using tickets.