Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The precompiled release for macOS can't be uncompressed by GNU gzip 1.8 #180

Closed
chdiza opened this issue Oct 8, 2017 · 1 comment
Closed

Comments

@chdiza
Copy link

chdiza commented Oct 8, 2017

Just FYI, if I try to gunzip the precompiled binary for macOS, gzip thinks the file is invalidly compressed and will not produce an uncompressed tarball:

$ gunzip -kvv dart-sass-1.0.0-beta.2-macos-x64.tar.gz
dart-sass-1.0.0-beta.2-macos-x64.tar.gz:
gzip: dart-sass-1.0.0-beta.2-macos-x64.tar.gz: invalid compressed data--crc error

gzip: dart-sass-1.0.0-beta.2-macos-x64.tar.gz: invalid compressed data--length error

If it helps, it's gzip 1.8, built from the GNU sources, and not the modified version that comes with macOS:

$ gzip -V
gzip 1.8
Copyright (C) 2016 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.

But for the record, the archive is corrupt even according to the Apple-modified, built-in gzip on macOS:

$ /usr/bin/gzip -V
Apple gzip 264.50.1
$ /usr/bin/gzip  -dkvv dart-sass-1.0.0-beta.2-macos-x64.tar.gz
gzip: invalid compressed data--crc error
gzip: dart-sass-1.0.0-beta.2-macos-x64.tar.gz: uncompress failed

Strangely, doing the entire archive all at once with the built-in tar on macOS has worked:

$ /usr/bin/tar --v
bsdtar 2.8.3 - libarchive 2.8.3
$ /usr/bin/tar -xf dart-sass-1.0.0-beta.2-macos-x64.tar.gz
$ ls
dart-sass                   dart-sass-1.0.0-beta.2-macos-x64.tar.gz

...But the same operation with GNU tar built from source fails with the same error as in the first pasting from above.

@nex3
Copy link
Contributor

nex3 commented Oct 12, 2017

Looks like this is caused by brendan-duncan/archive#41; our tar generation was broken by the latest version of the archive package. I'll rebuild the affected packages and tether us to an earlier version.

@nex3 nex3 closed this as completed in d390608 Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants