Skip to content

default in GNU tar header may cause warnings #405

@0-wiz-0

Description

@0-wiz-0

The orjson tarballs have a couple of files that have a timestamp of Jan 1, 1970.
Some tar(1) versions complain about this, since it often points to corruption in the tar file.

Example output:

gtar: orjson-3.10.16/include/pyo3/pyo3-ffi/Cargo.toml: implausibly old time stamp 1970-01-01 00:00:00
gtar: orjson-3.10.16/include/pyo3/pyo3-build-config/Cargo.toml: implausibly old time stamp 1970-01-01 00:00:00
gtar: orjson-3.10.16/Cargo.toml: implausibly old time stamp 1970-01-01 00:00:00

In https://github.com/ijl/orjson/issues/566 I was told that this behaviour comes from maturin.

In PyO3/maturin#2576 I was told this comes from the tar crate.

I'm not sure if this crate should change the default or not, but I thought I'd mention it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions