-
Notifications
You must be signed in to change notification settings - Fork 8
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
Tarball produced by Archive::Tar::Wrapper + GNU tar 1.23 is not readable by HP-UX tar #18
Comments
There are also other systems that will produce PaxHeaders by default. One of my MacOS machines has a uid/gid that doesn't fit in standard ustar headers. Using the |
For tarball releases of perl dists I think setting UID + GID to zero is fine, but I can imagine that for some use cases that may not be acceptable. It is probably therefore best if implemented that this be opt-in. I think supporting GNU tar and bsdtar would probably benefit the majority of users and support for other systems can be added later. |
That falls on the same situation of #16: each OS seems to have their own particular configurations and/or versions of The way to go in this case, as I see, is to create a dispatch table using the OS name as keys just like we are doing for Microsoft Windows and OpenBSD. From there, we would execute a function to return an object configured with any little detail that is required to make the My only concern is that Some refactoring will be required to do that, although. I started doing it in the past, but never finished. Of course, I'm opened to suggestions too. |
@plicease , can you please provide a PR for this tar implementation? |
It was reported by me that one of my tarball dists was not readable by the default HP-UX tar because GNU tar 1.23 uses defaults that do not work with tar implementations that do not support GNU extensions.
PerlAlien/Alien-Build#228
One way to work around this is to use
Archive::Tar
instead, but there isn't a way to disableArchive::Tar::Wrapper
(as far as I can tell) if it happens to be installed.rjbs/Dist-Zilla#662
I am not sure how hard it would be, but it would be nice if
Archive::Tar::Wrapper
could either--format=ustar
option to produce a more backward compatible tarball.The text was updated successfully, but these errors were encountered: