Opened 3 years ago

Closed 3 years ago

#64885 closed defect (fixed)

libelf: wrong checksum

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: libelf

Description

--->  Checksumming libelf-0.8.13.tar.gz
Error: Checksum (rmd160) mismatch for libelf-0.8.13.tar.gz
Portfile checksum: libelf-0.8.13.tar.gz rmd160 06962fbbcd91da25f02b964ad9513b9536f67baa
Distfile checksum: libelf-0.8.13.tar.gz rmd160 4bc9fd3b9a28048dc92be6c2e8b1a35107cf79ee
Error: Checksum (sha256) mismatch for libelf-0.8.13.tar.gz
Portfile checksum: libelf-0.8.13.tar.gz sha256 591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d
Distfile checksum: libelf-0.8.13.tar.gz sha256 7b69d752e76b6ce80bb8c00139a7a8b9a5cf71eb3d0b7b6d11269c6fc7314705
Error: Checksum (size) mismatch for libelf-0.8.13.tar.gz
Portfile checksum: libelf-0.8.13.tar.gz size 148529
Distfile checksum: libelf-0.8.13.tar.gz size 737280
The correct checksum line may be:
checksums           rmd160  4bc9fd3b9a28048dc92be6c2e8b1a35107cf79ee \
                    sha256  7b69d752e76b6ce80bb8c00139a7a8b9a5cf71eb3d0b7b6d11269c6fc7314705 \
                    size    737280
Error: Failed to checksum libelf: Unable to verify file checksums

Change History (2)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Status: newaccepted

Will fix in a moment. After the fix is committed and you've received the fix by running sudo port selfupdate, run sudo port clean --all libelf (with --all, to delete the bad distfile you received) before trying again.

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 6213133f2e27be0155aaefb2acac3e861e4c5501/macports-ports (master):

libelf: Don't use archive.org for distfile

archive.org decompresses the tar.gz file into a tar file on the fly,
resulting in incorrect checksums.

Closes: #64885

Note: See TracTickets for help on using tickets.