* Sébastien Villemot <sebastien@debian.org> [2024-02-13 14:57]:
Le lundi 12 février 2024 à 18:56 +0100, Rafael Laboissière a écrit :I cannot export the upstream tarball in a freshly cloned directory for package dynare: $ gbp clone git@salsa.debian.org:pkg-octave-team/dynare.git gbp:info: Cloning from 'git@salsa.debian.org:pkg-octave-team/dynare.git' $ cd dynare $ gbp export-orig gbp:info: Creating /var/data/rlaboiss/debian/PKGS/dynare/dynare_6.0.orig.tar.xz gbp:error: Error creating dynare_6.0.orig.tar.xz: Pristine-tar couldn't checkout "dynare_6.0.orig.tar.xz": xdelta3: source file too short: XD3_INVALID_INPUT[…] Thanks for noticing.It turns out that the problem comes from the fact that some binary files are stored using Git LFS on Salsa. But git-buildpackage by default disables git attributes, which in particular breaks Git LFS.I’ve enabled option --defuse-gitattributes=off of command gbp clone in debian/gbp.conf. This should fix the problem.Please try to re-clone the repository.
It is still not working : $ gbp clone git@salsa.debian.org:pkg-octave-team/dynare.git gbp:info: Cloning from 'git@salsa.debian.org:pkg-octave-team/dynare.git' $ cd dynare $ gbp export-orig gbp:info: Creating /var/data/rlaboiss/debian/PKGS/dynare/dynare_6.0.orig.tar.xz gbp:error: Error creating dynare_6.0.orig.tar.xz: Pristine-tar couldn't checkout "dynare_6.0.orig.tar.xz": xdelta3: source file too short: XD3_INVALID_INPUT xdelta3: normally this indicates that the source file is incorrect xdelta3: please verify the source file with sha1sum or equivalent xdelta3: source file too short: XD3_INVALID_INPUT xdelta3: normally this indicates that the source file is incorrect xdelta3: please verify the source file with sha1sum or equivalent xdelta3: source file too short: XD3_INVALID_INPUT xdelta3: normally this indicates that the source file is incorrect xdelta3: please verify the source file with sha1sum or equivalent xdelta3: source file too short: 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: source file too short: 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 Best, Rafael