[MacPorts] #57900: port:zstd: different tarballs on distfiles.macports.org and github?!
MacPorts
noreply at macports.org
Wed Jan 16 00:56:19 UTC 2019
#57900: port:zstd: different tarballs on distfiles.macports.org and github?!
---------------------+------------------------
Reporter: RJVB | Owner: seanfarley
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: zstd |
---------------------+------------------------
Comment (by chrstphrchvz):
If I set `macports.conf` to try github.com first, I get the correct
checksums (I am doing this from San Antonio, Texas):
{{{
$ sudo port -d checksum zstd
[…]
---> Fetching distfiles for zstd
[…]
---> zstd-1.3.8.tar.gz does not exist in
/opt/local/var/macports/distfiles/zstd
---> Attempting to fetch zstd-1.3.8.tar.gz from
https://github.com/facebook/zstd/releases/download/v1.3.8
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 607 0 607 0 0 2099 0 --:--:-- --:--:-- --:--:--
2100
100 1819k 100 1819k 0 0 759k 0 0:00:02 0:00:02 --:--:--
1130k
[…]
---> Verifying checksums for zstd
DEBUG: Executing org.macports.checksum (zstd)
---> Checksumming zstd-1.3.8.tar.gz
DEBUG: Calculated (rmd160) is bdd8607b5fa2382290e8b17daf6e8e97c6d1840c
DEBUG: Correct (rmd160) checksum for zstd-1.3.8.tar.gz
DEBUG: Calculated (sha256) is
293fa004dfacfbe90b42660c474920ff27093e3fb6c99f7b76e6083b21d6d48e
DEBUG: Correct (sha256) checksum for zstd-1.3.8.tar.gz
DEBUG: Calculated (size) is 1862954
DEBUG: Correct (size) checksum for zstd-1.3.8.tar.gz
}}}
This matches the published
[https://github.com/facebook/zstd/releases/download/v1.3.8/zstd-1.3.8.tar.gz.sha256
zstd-1.3.8.tar.gz.sha256] file on their fancy (not-automatically-created?)
[https://github.com/facebook/zstd/releases GitHub releases page].
--
Ticket URL: <https://trac.macports.org/ticket/57900#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list