Your message dated Thu, 12 Jan 2017 13:57:46 +0100
with message-id <[email protected]>
and subject line Re: Bug#677608: Option --git-pristine-tar fails if package 
version contains the "~" sign
has caused the Debian Bug report #677608,
regarding Option --git-pristine-tar fails if package version contains the "~" 
sign
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
677608: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677608
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.5.10
Severity: minor
Tags: upstream

Hi Guido,

while packaging kiwix we stumbled over an issue with the --git-pristine-tar 
option.

The package version currently is 0.9~beta6.3-1.

git-import-orig works fine with that version (tarball is 0.9~beta6.3). The 
import tag on the upstream branch gets named upstream/0.9_beta6.3.

On git-buildpackage -uc -us the orig tarball gets created from 
upstream/0.9_beta6.3 alright (as kiwix_0.9~beta6.3.orig.tar.gz).

However, if I use git-buildpackage -uc -us --git-pristine-tar, I get the 
following
error:

------8<----
mike@sid:~/tmp/kiwix.b$ git-buildpackage -uc -us --git-pristine-tar
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/home/mike/tmp/kiwix.b'
dh_auto_clean
rm -f ChangeLog INSTALL NEWS config.guess config.sub
make[1]: Leaving directory `/home/mike/tmp/kiwix.b'
   dh_clean
fatal: Path 'kiwix_0.9~beta6.3.orig.tar.gz.delta' does not exist in 
'refs/heads/pristine-tar'
pristine-tar: git show 
refs/heads/pristine-tar:kiwix_0.9~beta6.3.orig.tar.gz.delta failed
gbp:error: Couldn't checkout "kiwix_0.9~beta6.3.orig.tar.gz": 
/usr/bin/pristine-tar returned 128
------>8----

Greets,
Mike

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts            2.10.72            scripts to make the life of a Debi
ii  git [git-core]        1:1.7.10-1~bpo60+1 fast, scalable, distributed revisi
ii  git-core              1:1.7.10-1~bpo60+1 fast, scalable, distributed revisi
ii  python                2.6.6-3+squeeze7   interactive high-level object-orie
ii  python-dateutil       1.4.1-3            powerful extensions to the standar
ii  python-support        1.0.10             automated rebuilding support for P

Versions of packages git-buildpackage recommends:
hi  cowbuilder                    0.62       pbuilder running on cowdancer
ii  pristine-tar                  1.15       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
ii  git-load-dirs                 1.1.8      Import upstream archives into git

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi Mike,
On Sat, Jun 16, 2012 at 06:28:56PM +0200, Guido Günther wrote:
> Hi,
> 
> On Fri, Jun 15, 2012 at 12:21:24PM +0200, Mike Gabriel wrote:
> > Package: git-buildpackage
> > Version: 0.5.10
> > Severity: minor
> > Tags: upstream
> > 
> > Hi Guido,
> > 
> > while packaging kiwix we stumbled over an issue with the --git-pristine-tar 
> > option.
> > 
> > The package version currently is 0.9~beta6.3-1.
> > 
> > git-import-orig works fine with that version (tarball is 0.9~beta6.3). The 
> > import tag on the upstream branch gets named upstream/0.9_beta6.3.
> 
> ...and how does the pristine-tar branch look like?
> 
> > On git-buildpackage -uc -us the orig tarball gets created from 
> > upstream/0.9_beta6.3 alright (as kiwix_0.9~beta6.3.orig.tar.gz).
> 
> It'd shouldn't. It should get created from the pristine tar.
> 
> > 
> > However, if I use git-buildpackage -uc -us --git-pristine-tar, I get the 
> > following
> > error:
> > 
> > ------8<----
> > mike@sid:~/tmp/kiwix.b$ git-buildpackage -uc -us --git-pristine-tar
> > dh clean
> >    dh_testdir
> >    debian/rules override_dh_auto_clean
> > make[1]: Entering directory `/home/mike/tmp/kiwix.b'
> > dh_auto_clean
> > rm -f ChangeLog INSTALL NEWS config.guess config.sub
> > make[1]: Leaving directory `/home/mike/tmp/kiwix.b'
> >    dh_clean
> > fatal: Path 'kiwix_0.9~beta6.3.orig.tar.gz.delta' does not exist in 
> > 'refs/heads/pristine-tar'
> > pristine-tar: git show 
> > refs/heads/pristine-tar:kiwix_0.9~beta6.3.orig.tar.gz.delta failed
> > gbp:error: Couldn't checkout "kiwix_0.9~beta6.3.orig.tar.gz": 
> > /usr/bin/pristine-tar returned 128
> > ------>8----
> > 
> 
> This looks o.k. iff you didn't specify --pristine-tar when importing the
> tarball. Did you do that?

Closing this report since it's lacking data needed to verify. '~' in
version works as expected here. Please reopen and supply the above
information so I can reproduce in case you're still seeing this.
Cheers,
 -- Guido

--- End Message ---

Reply via email to