Skip to content

vendor archive not recognized as valid tarball #400

Description

@jpalus

I've started packaging libpathrs for my distribution and stumbled upon error to recognize file format of libpathrs.vendor.tar.zst:

$ tar tf libpathrs.vendor.tar.zst 
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

I thought maybe something is off with my system so double checked in Fedora:

podman run -it --rm fedora sh -c "curl -sL https://github.com/cyphar/libpathrs/releases/download/v0.2.5/libpathrs.vendor.tar.zst|tar t --zstd" 
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

Same outcome. Perhaps openSUSE does something differently:

$ podman run -it --rm opensuse/leap sh -c "zypper -nq install zstd; curl -sL https://github.com/cyphar/libpathrs/releases/download/v0.2.5/libpathrs.vendor.tar.zst|tar t --zstd" 
 
The following NEW package is going to be installed:
  zstd

...

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

As a last resort maybe bsdtar can handle it:

$ bsdtar tf libpathrs.vendor.tar.zst 
bsdtar: Error opening archive: Unrecognized archive format

Any idea what am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions