On Thu, 2020-11-19 at 13:23 +0000, Luca Boccassi wrote:
> 
> On Mon, 18 Mar 2019 09:51:39 -0300 Antonio Terceiro <[email protected]> 
> wrote:
> > Control: tag -1 + moreinfo
> > 
> > On Mon, Mar 18, 2019 at 11:25:33AM +0100, Andreas Beckmann wrote:
> > > Package: pristine-tar
> > > Version: 1.46
> > > Severity: important
> > > 
> > > In this repository:
> > > 
> > > 
> https://salsa.debian.org/python-team/modules/python-django.git
> 
> > > $ pristine-tar checkout python-django_1.11.20.orig.tar.gz
> > > xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> > > xdelta3: normally this indicates that the source file is incorrect
> > > xdelta3: please verify the source file with sha1sum or equivalent
> > > xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> > > xdelta3: normally this indicates that the source file is incorrect
> > > xdelta3: please verify the source file with sha1sum or equivalent
> > > xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> > > xdelta3: normally this indicates that the source file is incorrect
> > > xdelta3: please verify the source file with sha1sum or equivalent
> > > xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> > > xdelta3: normally this indicates that the source file is incorrect
> > > xdelta3: please verify the source file with sha1sum or equivalent
> > > xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> > > xdelta3: normally this indicates that the source file is incorrect
> > > xdelta3: please verify the source file with sha1sum or equivalent
> > > pristine-tar: Failed to reproduce original tarball. Please file a bug
> > > report.
> > > pristine-tar: failed to generate tarball
> > 
> > Interesting, it just worked for me on a fresh git clone:
> > 
> > python-django (debian/sid) $ pristine-tar checkout 
> > python-django_1.11.20.orig.tar.gz
> > pristine-tar: successfully generated python-django_1.11.20.orig.tar.gz
> > 
> > Do you have anything locally that is not also in the remote repository?
> 
> I can reproduce now with python-azure. Tarball committed on my buster system 
> with git and pristine-tar from buster-backports:
> 
> $ apt-cache policy pristine-tar git xdelta xdelta3
> pristine-tar:
>   Installed: 1.47~bpo10+1
>   Candidate: 1.47~bpo10+1
>   Version table:
>  *** 1.47~bpo10+1 100
>         100 https://deb.debian.org/debian buster-backports/main amd64 Packages
>         100 /var/lib/dpkg/status
>      1.46 500
>         500 https://deb.debian.org/debian buster/main amd64 Packages
> git:
>   Installed: 1:2.27.0-1~bpo10+1
>   Candidate: 1:2.27.0-1~bpo10+1
>   Version table:
>  *** 1:2.27.0-1~bpo10+1 100
>         100 https://deb.debian.org/debian buster-backports/main amd64 Packages
>         100 /var/lib/dpkg/status
>      1:2.20.1-2+deb10u3 500
>         500 https://deb.debian.org/debian buster/main amd64 Packages
>         500 http://security.debian.org/debian-security buster/updates/main 
> amd64 Packages
> xdelta:
>   Installed: 1.1.3-9.2
>   Candidate: 1.1.3-9.2
>   Version table:
>  *** 1.1.3-9.2 500
>         500 https://deb.debian.org/debian buster/main amd64 Packages
>         100 /var/lib/dpkg/status
> xdelta3:
>   Installed: 3.0.11-dfsg-1+b1
>   Candidate: 3.0.11-dfsg-1+b1
>   Version table:
>  *** 3.0.11-dfsg-1+b1 500
>         500 https://deb.debian.org/debian buster/main amd64 Packages
>         100 /var/lib/dpkg/status
> 
> Can check it out just fine on my buster machine, but checkout fails in a sid 
> chroot - both on my machine and on Salsa CI.
> 
> # pristine-tar checkout python-azure_20201118+git.orig.tar.xz
> xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> xdelta3: normally this indicates that the source file is incorrect
> xdelta3: please verify the source file with sha1sum or equivalent
> xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> xdelta3: normally this indicates that the source file is incorrect
> xdelta3: please verify the source file with sha1sum or equivalent
> xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> xdelta3: normally this indicates that the source file is incorrect
> xdelta3: please verify the source file with sha1sum or equivalent
> xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> xdelta3: normally this indicates that the source file is incorrect
> xdelta3: please verify the source file with sha1sum or equivalent
> xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> xdelta3: normally this indicates that the source file is incorrect
> xdelta3: please verify the source file with sha1sum or equivalent
> xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
> xdelta3: normally this indicates that the source file is incorrect
> xdelta3: please verify the source file with sha1sum or equivalent
> pristine-tar: Failed to reproduce original tarball. Please file a bug report.
> pristine-tar: failed to generate tarball
> 
> Repo:
> 
> https://salsa.debian.org/bluca/python-azure.git

Re-committing the same tarball seems to fix the issue. Left the old,
broken commit on a specific branch if needed for future inspection and
repro:

https://salsa.debian.org/bluca/python-azure/-/tree/pristine-tar-broken

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to