Bug#677608: Option --git-pristine-tar fails if package version contains the "~" sign
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Fri Jun 15 10:21:24 UTC 2012
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 at 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
More information about the Debian-edu-pkg-team
mailing list