On Tue, Aug 23, 2011 at 09:39:41AM +0200, Guido Günther wrote:
> On Mon, Aug 22, 2011 at 01:24:38PM +0900, Norbert Preining wrote:
> [..snip..] 
> > $ git-buildpackage -us -uc -rfakeroot -S
> > ....
> > fatal: Path 'maildir-utils_0.9.6.99.orig.tar.gz.delta' does not exist in 
> > 'refs/heads/pristine-tar'
> > pristine-tar: git show 
> > refs/heads/pristine-tar:maildir-utils_0.9.6.99.orig.tar.gz.delta failed
> > gbp:error: /usr/bin/pristine-tar returned 128
> > gbp:error: Couldn't run '/usr/bin/pristine-tar'
> > $
> 
> I wonder what we could do to give a better hint what's failing here?
> Maybe if pristine-tar printed something like:
> 
> # pristine-tar: Couldn't find pristine-tar data for 
> maildir-utils_0.9.6.99.orig.tar.gz
> 
> instead of the rather git specific:
> 
> # pristine-tar: git show 
> refs/heads/pristine-tar:maildir-utils_0.9.6.99.orig.tar.gz.delta failed
> 
> would do any good (the later could still be printed in verbose mode
> since it's helpful when debugging)?

Git-buildpackage was supposed to print a better error message but didn't
due to a typo:

        
http://anonscm.debian.org/gitweb/?p=users/agx/git-buildpackage.git;a=blobdiff;f=gbp/command_wrappers.py;h=6b1c83447cb3cc2dfec0a4a2100ff03788982c50;hp=aa1683da9f3351bc356b4306bcf9d4eb64408411;hb=3588d88e0382114e375bdce126293e135d09bb14;hpb=01a47943ab31a105753e3aaac888e42b64629824

It should now more obvious what's failing:

        gbp:info: Orig tarball 'libvirt_0.9.4.1.orig.tar.gz' not found at 
'../tarball-dir'
        fatal: Path 'libvirt_0.9.4.1.orig.tar.gz.delta' does not exist in 
'refs/heads/pristine-tar'
        /usr/bin/pristine-tar: git show 
refs/heads/pristine-tar:libvirt_0.9.4.1.orig.tar.gz.delta failed
        gbp:error: /usr/bin/pristine-tar returned 128
        gbp:error: Couldn't checkout "libvirt_0.9.4.1.orig.tar.gz"

Cheers,
 -- Guido


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110823075058.ga11...@bogon.sigxcpu.org

Reply via email to