[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Failure on export-orig in dynare



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.

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org

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


Reply to: