Zstd: 1.3.8 tar file is broken

Created on 28 Dec 2018  路  7Comments  路  Source: facebook/zstd

$ file zstd-1.3.8.tar.gz
zstd-1.3.8.tar.gz: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT)

Most helpful comment

seems it is double gzipd... the tar.gz got gzipped again

All 7 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robert3005 picture robert3005  路  4Comments

itsnotvalid picture itsnotvalid  路  3Comments

planet36 picture planet36  路  3Comments

AbdulrahmanAltabba picture AbdulrahmanAltabba  路  3Comments

ga92yup picture ga92yup  路  3Comments