FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 08-22-2011, 04:24 AM
Norbert Preining
 
Default git-build-package broken? pristine-tar broken?

Hi,

I hope there is someone who can explain me this behaviour, because I am
getting crazy:

$ git-import-orig --pristine-tar ../orig-tar/mu-0.9.6.99.1.tar.gz
What is the upstream version? [0.9.6.99.1]
gbp:info: Importing '../orig-tar/mu-0.9.6.99.1.tar.gz' to branch 'upstream'...
gbp:info: Source package is maildir-utils
gbp:info: Upstream version is 0.9.6.99.1
pristine-tar: committed maildir-utils_0.9.6.99.1.orig.tar.gz.delta to branch pristine-tar
gbp:info: Merging to 'master'
Removing src/mu-output.c
Removing src/mu-output.h
Auto-merging toys/mug/mug.c
Auto-merging toys/mug2/mug.c
Merge made by recursive.
gbp:info: Successfully imported version 0.9.6.99.1 of ../orig-tar/mu-0.9.6.99.1.tar.gz
$

Now that looks fine .... but then ...

$ 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'
$

Soooooo yeah ... this is what is supposed to be?

Thanks for any enlightment. I slowly think that the move to git is becoming
more pain than fun, using svn and svn-b-p was much easier AFAIR.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
LOCHRANZA (n.)
The long unaccomplished wail in the middle of a Scottish folk song
where the pipes nip around the corner for a couple of drinks.
--- Douglas Adams, The Meaning of Liff


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110822042438.GF18908@gamma.logic.tuwien.ac.at">h ttp://lists.debian.org/20110822042438.GF18908@gamma.logic.tuwien.ac.at
 
Old 08-22-2011, 04:28 AM
Samuel Thibault
 
Default git-build-package broken? pristine-tar broken?

Norbert Preining, le Mon 22 Aug 2011 13:24:38 +0900, a écrit :
> $ git-import-orig --pristine-tar ../orig-tar/mu-0.9.6.99.1.tar.gz
> fatal: Path 'maildir-utils_0.9.6.99.orig.tar.gz.delta' does not exist in 'refs/heads/pristine-tar'

0.9.6.99.1
0.9.6.99

?

Samuel


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110822042810.GX6004@type.famille.thibault.fr">ht tp://lists.debian.org/20110822042810.GX6004@type.famille.thibault.fr
 
Old 08-22-2011, 04:29 AM
Norbert Preining
 
Default git-build-package broken? pristine-tar broken?

On Mo, 22 Aug 2011, Samuel Thibault wrote:
> 0.9.6.99.1
> 0.9.6.99

Uggg yes ... grrrrrrr ... thanks...

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
SCRONKEY (n.)
Something that hits the window as a result of a violent sneeze.
--- Douglas Adams, The Meaning of Liff


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110822042921.GG18908@gamma.logic.tuwien.ac.at">h ttp://lists.debian.org/20110822042921.GG18908@gamma.logic.tuwien.ac.at
 
Old 08-23-2011, 07:39 AM
Guido Günther
 
Default git-build-package broken? pristine-tar broken?

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)?
Cheers,
-- Guido

>
> Soooooo yeah ... this is what is supposed to be?
>
> Thanks for any enlightment. I slowly think that the move to git is becoming
> more pain than fun, using svn and svn-b-p was much easier AFAIR.
>
> Best wishes
>
> Norbert
> ------------------------------------------------------------------------
> Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
> JAIST, Japan TeX Live & Debian Developer
> DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
> ------------------------------------------------------------------------
> LOCHRANZA (n.)
> The long unaccomplished wail in the middle of a Scottish folk song
> where the pipes nip around the corner for a couple of drinks.
> --- Douglas Adams, The Meaning of Liff
>
>
> --
> To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20110822042438.GF18908@gamma.logic.tuwien.ac.at
>


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110823073941.GA10989@bogon.sigxcpu.org">http://lists.debian.org/20110823073941.GA10989@bogon.sigxcpu.org
 
Old 08-23-2011, 07:50 AM
Guido Günther
 
Default git-build-package broken? pristine-tar broken?

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=6b1c83447cb3cc2dfec0a4a2100f f03788982c50;hp=aa1683da9f3351bc356b4306bcf9d4eb64 408411;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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110823075058.GA11418@bogon.sigxcpu.org">http://lists.debian.org/20110823075058.GA11418@bogon.sigxcpu.org
 
Old 08-23-2011, 09:40 AM
Norbert Preining
 
Default git-build-package broken? pristine-tar broken?

On Di, 23 Aug 2011, Guido Günther wrote:
> gbp:error: Couldn't checkout "libvirt_0.9.4.1.orig.tar.gz"

Ah great, thanks.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
NEEN SOLLARS (pl.n.)
Any ensemble of especially unflattering and particular garments worn
by a woman which tell you that she is right at the forefront of
fashion.
--- Douglas Adams, The Meaning of Liff


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110823094051.GA26025@gamma.logic.tuwien.ac.at">h ttp://lists.debian.org/20110823094051.GA26025@gamma.logic.tuwien.ac.at
 

Thread Tools




All times are GMT. The time now is 06:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org