Opened 6 years ago
Closed 5 years ago
#57900 closed defect (invalid)
port:zstd: different tarballs on distfiles.macports.org and github?!
Reported by: | RJVB (René Bertin) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | chrstphrchvz (Christopher Chavez), kurthindenburg (Kurt Hindenburg) | |
Port: | zstd |
Description
Not sure where to report this and if it's not somehow related to where I connect from:
https://github.com/facebook/zstd/tarball/v1.3.8/zstd-1.3.8.tar.gz
:
checksums rmd160 c38a816a365566ebe86be35113e31830c4532b09 \ sha256 0012ee7b1f385a34cae12afe09c74b1c3f90afd00fadfcff3092d7bbc02b840c \ size 1875516
https://distfiles.macports.org/zstd/zstd-1.3.8.tar.gz
:
checksums rmd160 bdd8607b5fa2382290e8b17daf6e8e97c6d1840c \ sha256 293fa004dfacfbe90b42660c474920ff27093e3fb6c99f7b76e6083b21d6d48e \ size 1862954
If github has a habit of re-generating tarballs maybe the github PG should fetch from there first before falling back to the mirrors?
Change History (7)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Cc: | seanfarley removed |
---|---|
Owner: | set to seanfarley |
Status: | new → assigned |
comment:2 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
comment:3 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:4 Changed 6 years ago by mf2k (Frank Schima)
Owner: | seanfarley deleted |
---|
comment:5 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
I now spot the discrepancy here: the reporter's machine used a tags tarball URL (and I confirm it produces the alternative checksums the reporter observed), but the portfile has specified to use a releases tarball URL since it was updated to 1.3.7.
Why was the reporter's machine using a tags tarball URL and not the release tarball URL? The GitHub portgroup was last changed months prior to the update to zstd
.
comment:6 Changed 6 years ago by RJVB (René Bertin)
Good eye. I have a local clone of port:zstd which I thought identical in the crucial parts (it supposed to add only tweaks the AR, NM and RANLIB env. variables). I must have missed the tarball_from
change after I forked the port. Sorry for the noise.
comment:7 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|---|
Resolution: | → invalid |
Status: | assigned → closed |
closing per comments
If I set
macports.conf
to try github.com first, I get the correct checksums (I am doing this from San Antonio, Texas):This matches the published zstd-1.3.8.tar.gz.sha256 file on their fancy (not-automatically-created?) GitHub releases page.