tar 1.35: --delete creates tarfiles with duplicate file paths

2023-08-10 Thread Ed Santiago
The --delete flag in 1.35 can generate a tarball that is unreadable by podman and possibly other tools using the Go tar library: $ podman create --name a quay.io/libpod/testimage:20221018 $ podman export a >/tmp/a.tar $ tar --delete -f /tmp/a.tar home/podman/pause $ podman import /

Re: tar 1.35: --delete creates tarfiles with duplicate file paths

2023-08-10 Thread Paul Eggert
On 2023-08-10 08:56, Ed Santiago wrote: I've tried to git-bisect but am embarrassed to say I can't even get tar to compile from git, not with gcc 12 or 13, due to warnings being treated as fatal. Try "make WERROR_CFLAGS=".

Re: tar 1.35: --delete creates tarfiles with duplicate file paths

2023-08-10 Thread Ed Santiago
On Thu, Aug 10, 2023 at 10:29:17AM -0700, Paul Eggert wrote: > On 2023-08-10 08:56, Ed Santiago wrote: > > I've tried to git-bisect but am embarrassed to say I can't even > > get tar to compile from git, not with gcc 12 or 13, due to warnings > > being treated as fatal. > > Try "make WERROR_CFLAGS

Re: tar 1.35: --delete creates tarfiles with duplicate file paths

2023-08-10 Thread Sergey Poznyakoff
Hi Ed, > The --delete flag in 1.35 can generate a tarball that is > unreadable by podman and possibly other tools using the > Go tar library: Unfortunately I cannot reproduce it, > $ podman create --name a quay.io/libpod/testimage:20221018 > $ podman export a >/tmp/a.tar > $ tar --de