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 tarball files can't be extracted with busybox tar command #1631

Closed
muzuiget opened this issue Oct 25, 2021 · 1 comment
Closed

The tarball files can't be extracted with busybox tar command #1631

muzuiget opened this issue Oct 25, 2021 · 1 comment
Labels

Comments

@muzuiget
Copy link

muzuiget commented Oct 25, 2021

I am using ubuntu:20.04 docker image, and install the busybox command.

When extract the nghttp2 tarball file on v1.46.0, I got error.

# busybox wget -q https://github.com/nghttp2/nghttp2/releases/download/v1.46.0/nghttp2-1.46.0.tar.gz -O - | busybox tar xz
wget: note: TLS certificate validation not implemented
tar: invalid tar magic

Downloading the bz2/gz/xz files, also doesn't works.

# busybox tar xzf nghttp2-1.46.0.tar.gz 
tar: invalid tar magic
# busybox tar xJf nghttp2-1.46.0.tar.xz 
tar: invalid tar magic
# busybox tar xjf nghttp2-1.46.0.tar.bz2
tar: invalid tar magic

Here is some work situations:

# GNU tar works
busybox wget -q https://github.com/nghttp2/nghttp2/releases/download/v1.46.0/nghttp2-1.46.0.tar.gz -O - | tar xz
# Github create source tarball works
busybox wget -q https://github.com/nghttp2/nghttp2/archive/refs/tags/v1.46.0.tar.gz -O - | busybox tar xz
# Project create tarball from mongo-c-driver works
busybox wget -q https://github.com/mongodb/mongo-c-driver/releases/download/1.19.1/mongo-c-driver-1.19.1.tar.gz -O - | busybox tar xz

So I think is the nghttp2 create a incompatible tarball.

And I found busybox have a build flag for this issue: http://lists.busybox.net/pipermail/busybox/2010-September/073298.html

But not all busybox distribution will enable this flag. So if nghttp2 can create a compatible tarball if should be good.

Copy link

github-actions bot commented May 4, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label May 4, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant