$ file zstd-1.3.8.tar.gz
zstd-1.3.8.tar.gz: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT)
seems it is double gzipd... the tar.gz got gzipped again
Confimed! cc @Cyan4973
seems to be fixed now
I'm not sure to understand what's the issue.
file zstd-1.3.8.tar.gz
zstd-1.3.8.tar.gz: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT), original size 1862954
file zstd-1.3.8.tar
zstd-1.3.8.tar: POSIX tar archive
I don't see any double-gzipping here.
These archives were produced by the same script which produced v1.3.7 a few months ago.
I'm seeing the same issue as @fenrus75. On OpenBSD:
$ ftp https://github.com/facebook/zstd/releases/download/v1.3.8/zstd-1.3.8.tar.gz
$ file zstd-1.3.8.tar.gz
zstd-1.3.8.tar.gz: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT)
$ gunzip zstd-1.3.8.tar.gz
$ file zstd-1.3.8.tar
zstd-1.3.8.tar: gzip compressed data, was "zstd-1.3.8.tar", last modified: Thu Dec 27 18:44:03 2018, max compression, from Unix
$ ftp https://github.com/facebook/zstd/releases/download/v1.3.8/zstd-1.3.8.tar.gz
$ ftp https://github.com/facebook/zstd/releases/download/v1.3.8/zstd-1.3.8.tar.gz.sha256
$ sha256 -C zstd-1.3.8.tar.gz.sha256 zstd-1.3.8.tar.gz
(SHA256) zstd-1.3.8.tar.gz: FAILED
$ gunzip zstd-1.3.8.tar.gz && mv zstd-1.3.8.tar zstd-1.3.8.tar.gz
$ sha256 -C zstd-1.3.8.tar.gz.sha256 zstd-1.3.8.tar.gz
(SHA256) zstd-1.3.8.tar.gz: OK
@Cyan4973, guess something happend while uploading the assets to GitHub.
For reference purposes:
$ ftp https://github.com/facebook/zstd/releases/download/v1.3.7/zstd-1.3.7.tar.gz
$ file zstd-1.3.7.tar.gz
zstd-1.3.7.tar.gz: gzip compressed data, was "zstd-1.3.7.tar", last modified: Fri Oct 19 21:39:11 2018, max compression, from Unix
$ ftp https://github.com/facebook/zstd/releases/download/v1.3.7/zstd-1.3.7.tar.gz
$ ftp https://github.com/facebook/zstd/releases/download/v1.3.7/zstd-1.3.7.tar.gz.sha256
$ sha256 -C zstd-1.3.7.tar.gz.sha256 zstd-1.3.7.tar.gz
(SHA256) zstd-1.3.7.tar.gz: OK
Ok, we're not sure what went wrong. But I was able to reproduce the issue.
We've replaced the zstd-1.3.8.tar.gz asset in the release. And I have tried round-tripping it and what I get back from GitHub now hash-matches zstd-1.3.8.tar.gz.sha256 and unpacks correctly.
Most helpful comment
seems it is double gzipd... the tar.gz got gzipped again