Opened 18 months ago

Closed 3 months ago

#66142 closed defect (fixed)

hackrf @2021.03.1 checksum mismatch

Reported by: madjuju (Julien CADIOU) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: hackrf

Description (last modified by jmroot (Joshua Root))

❯ sudo port install SDRPlusPlus
--->  Computing dependencies for SDRPlusPlus
The following dependencies will be installed: 
 hackrf
 hamlib
 libusb-compat
 limesuite
 makeicns
 portaudio
 rtl-sdr
 wxWidgets-3.2
 wxWidgets-common
 wxWidgets_select
Continue? [Y/n]: y
--->  Fetching archive for hackrf
--->  Attempting to fetch hackrf-2021.03.1_0.darwin_22.arm64.tbz2 from https://packages.macports.org/hackrf
--->  Attempting to fetch hackrf-2021.03.1_0.darwin_22.arm64.tbz2 from https://nue.de.packages.macports.org/hackrf
--->  Attempting to fetch hackrf-2021.03.1_0.darwin_22.arm64.tbz2 from https://fra.de.packages.macports.org/hackrf
--->  Verifying checksums for hackrf
Error: Checksum (rmd160) mismatch for hackrf-2021.03.1.tar.gz
Error: Checksum (sha256) mismatch for hackrf-2021.03.1.tar.gz
Error: Checksum (size) mismatch for hackrf-2021.03.1.tar.gz
Error: Failed to checksum hackrf: Unable to verify file checksums
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hackrf/hackrf/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port SDRPlusPlus failed

Change History (4)

comment:1 Changed 18 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to michaelld
Port: hackrf added
Status: newassigned
Summary: Verifying checksums for hackrfhackrf @2021.03.1 checksum mismatch

Please attach a log showing where the file was downloaded from. wiki:FAQ#checksums

comment:2 Changed 18 months ago by jmroot (Joshua Root)

Looks like it's the file generated by GitHub that changed due to the repo moving from mossmann to greatscottgadgets.

comment:3 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

Use github.tarball_from archive to avoid this problem in the future (or, better yet, github.tarball_from releases if supported by the repository, which in this case it is).

comment:4 Changed 3 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 52320d4fe41da6cd550b5167f1690d9363e8248a/macports-ports (master):

hackrf: use release tarball

Also use github archive tarball for hackrf-devel.

Closes: #66142

Note: See TracTickets for help on using tickets.