Bug#900593: diffoscope: GNU tar xattrs result in: libarchive: Ignoring malformed pax extended attribute

2018-12-15 Thread Chris Lamb
forwarded 900593 https://salsa.debian.org/reproducible-builds/diffoscope/issues/5 thanks I've forwarded this upstream here: https://salsa.debian.org/reproducible-builds/diffoscope/issues/5 Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org /

Bug#900593: diffoscope: GNU tar xattrs result in: libarchive: Ignoring malformed pax extended attribute

2018-06-11 Thread Tianon Gravi
On Mon, 11 Jun 2018 at 01:29, Chris Lamb wrote: > > Chris Lamb wrote: > > > Glad I could resolve your use-case. However, I assume there is still a > > diffoscope bug here? > > > > ie. We certainly shouldn't be emitting "Ignoring malformed pax > > extended attribute" to stderr and — as a possible

Bug#900593: diffoscope: GNU tar xattrs result in: libarchive: Ignoring malformed pax extended attribute

2018-06-11 Thread Chris Lamb
Chris Lamb wrote: > Glad I could resolve your use-case. However, I assume there is still a > diffoscope bug here? > > ie. We certainly shouldn't be emitting "Ignoring malformed pax > extended attribute" to stderr and — as a possible improvement — we > should be emitting that as part of the

Bug#900593: diffoscope: GNU tar xattrs result in: libarchive: Ignoring malformed pax extended attribute

2018-06-08 Thread Chris Lamb
Hi Tianon, > > Oh, neat! Hm, can you try: > > > > --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0 > > Hey, that's snazzy! That gives me a reproducible result. :) "It's so simple!" >.> Glad I could resolve your use-case. However, I assume there is still a diffoscope bug here? ie. We

Bug#900593: diffoscope: GNU tar xattrs result in: libarchive: Ignoring malformed pax extended attribute

2018-06-07 Thread Tianon Gravi
On Fri, 1 Jun 2018 at 14:16, Chris Lamb wrote: > Oh, neat! Hm, can you try: > > --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0 Hey, that's snazzy! That gives me a reproducible result. :) Without: $ sudo tar --create --directory wtf --numeric-owner --transform 's,^./,,' --sort name

Bug#900593: diffoscope: GNU tar xattrs result in: libarchive: Ignoring malformed pax extended attribute

2018-06-01 Thread Chris Lamb
Hi Tianon, > It gets worse -- apparently any combination of "--xattrs" (with or > without "--xattrs-include" values) makes GNU tar's output completely > unreproducible (running it on the same directory twice will provide a > different result). Oh, neat! Hm, can you try:

Bug#900593: diffoscope: GNU tar xattrs result in: libarchive: Ignoring malformed pax extended attribute

2018-06-01 Thread Tianon Gravi
On Fri, 1 Jun 2018 12:25:15 -0700 Tianon Gravi wrote: > The context for this bug is in [1]. The basic gist is that I need to > preserve extended attributes to get the proper capabilities on > "/bin/ping" inside a rootfs tarball, so I updated my GNU tar invocation > to include "--xattrs",

Bug#900593: diffoscope: GNU tar xattrs result in: libarchive: Ignoring malformed pax extended attribute

2018-06-01 Thread Tianon Gravi
Package: diffoscope Version: 95 Severity: normal First, thanks for diffoscope; it's the best. :) The context for this bug is in [1]. The basic gist is that I need to preserve extended attributes to get the proper capabilities on "/bin/ping" inside a rootfs tarball, so I updated my GNU tar