On Sun, Mar 17, 2013 at 11:56:13AM +0100, Guido Günther wrote: > Hi, > On Sat, Mar 16, 2013 at 10:30:50PM +0100, Julien Puydt wrote: > > Package: git-buildpackage > > Version: 0.6.0~git20130314 > > > > The following : > > $ git clone git://git.debian.org/git/debian-science/packages/pynac.git > > $ cd pynac > > $ git-buildpackage -us -uc > > > > fails with: > > gbp:error: Couldn't checkout "pynac_0.2.6.orig.tar.gz": > > /usr/bin/pristine-tar returned 128 > > > > and indeed: > > $ pristine-tar checkout /home/jpuydt/Debian/build/pynac_0.2.6.orig.tar.gz > > fatal: Path 'pynac_0.2.6.orig.tar.gz.delta' does not exist in > > 'refs/remotes/origin/pristine-tar' > > pristine-tar: git show > > refs/remotes/origin/pristine-tar:pynac_0.2.6.orig.tar.gz.delta > > failed > > > > but: > > $ pristine-tar checkout /home/jpuydt/Debian/build/pynac_0.2.6.orig.tar.bz2 > > pristine-tar: successfully generated > > /home/jpuydt/Debian/build/pynac_0.2.6.orig.tar.bz2 > > > > So git-buildpackage didn't give the right directions to pristine-tar... > > It does so if it can. If you use gbp-clone it will setup the correct > branch tracking, spot the pristine-tar branch and determine the source > tarball is bz2. If you don't use gbp-clone you have to setup the branch > tracking by hand. As soon as it can find the pristine-tar branch it will > work.
I should add that I've verified that everything works as expected if you eiter use gbp-clone or setup the branch tracking by hand. Sorry for the additional noise. Cheers, -- Guido -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

