You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it turns out that tar version apparently uses a "GNU Sparse File extension", which tar-rs does not currently support. The result is that extraction spits out a "GNUSparseFile.0" directory containing corrupted archive files.
The text was updated successfully, but these errors were encountered:
Phault
changed the title
starbase_archive cannot extract tar.gz created on using macos' tar
starbase_archive cannot extract tar.gz created using macos' tar
Mar 3, 2024
I'm trying to create a proto plugin for ruff, but hit a snag with the Mac releases. The tar files for Mac are created using the inbuilt tar of the macos-latest runner.
But it turns out that tar version apparently uses a "GNU Sparse File extension", which tar-rs does not currently support. The result is that extraction spits out a "GNUSparseFile.0" directory containing corrupted archive files.
There is an old PR lying around to fix this, but it has been stale for 2 years.. The cargo-binstall guys created a temporary fork with the fix, while they wait for the PR to get merged. So that's one way to go at least.
You can test it yourself on a Mac using https://github.com/Phault/proto-toml-plugins/tree/main/ruff
The text was updated successfully, but these errors were encountered: