Package: git-buildpackage
Version: 0.6.31
Severity: minor
First, please DO NOT CLOSE THIS until it is fully clarified. Just don't!
It's insulting, even if you know immediately what the problem is; if
your docs don't make it clear to the user then your docs suck.
I tried to follow
file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.UPSTREAM-GIT
and switched from the old tar-imported upstream branch to upstream
repository on Github (upstream author moved a few months ago).
Checking the documentation, I figured it's a good idea to add:
git-upstream-tag='v%(version)s'
to debian/gbp.conf in order to not write it down again and again.
Result:
$ gbp buildpackage --git-pristine-tar --git-pristine-tar-commit
...
gbp:info: Orig tarball 'encfs_1.8.1.orig.tar.xz' not found at '../tarballs/'
gbp:warning: Pristine-tar branch "pristine-tar" not found
gbp:error: Pristine-tar couldn't checkout "encfs_1.8.1.orig.tar.xz": fatal:
Path 'encfs_1.8.1.orig.tar.xz.delta' does not exist in
'refs/remotes/origin/pristine-tar'
pristine-tar: git show
refs/remotes/origin/pristine-tar:encfs_1.8.1.orig.tar.xz.delta failed
gbp:error: upstream/1.8.1 is not a valid treeish
I tried this and that and couldn't see the reason. The message is IMHO
kinda pointless; why does it not simply commit as it's told by the
command line? As the final guess I added
--git-upstream-tag='v%(version)s' to the command line and it suddenly
worked. So it looks like the option is not read from gbp.conf. How
should I know that? gbp.conf(5) does not tell me which ones are valid
there and which are not.
Out of blue, I added git-pristine-tar and git-pristine-tar-commit there
and got:
gbp:error: File contains parsing errors:
/home/user/debian/dev/encfs/debian/gbp.conf
[line 5]: 'git-pristine-tar\n'
[line 6]: 'git-pristine-tar-commit\n'
PARSING ERRORS? Seriously?
Or maybe something is not applicable in the DEFAULT section? Even if
that assumption is correct, the message should be something meaningful
and not a bogus "parsing error".
Regards,
Eduard.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.1+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages git-buildpackage depends on:
ii devscripts 2.15.5
ii git 1:2.1.4-2.1
ii man-db 2.7.0.2-5
ii python 2.7.9-1
ii python-dateutil 2.2-2
ii python-pkg-resources 17.0-1
ii python-six 1.9.0-3
Versions of packages git-buildpackage recommends:
ii cowbuilder 0.73
ii pristine-tar 1.33
ii python-requests 2.7.0-3
Versions of packages git-buildpackage suggests:
ii python-notify 0.1.1-4
ii unzip 6.0-17
-- Configuration Files:
/etc/git-buildpackage/gbp.conf changed:
[DEFAULT]
cleaner = debuild clean
pristine-tar = True
[buildpackage]
[import-orig]
postimport = git-dch -N%(version)s -S -a --debian-branch=$GBP_BRANCH
[import-dsc]
[dch]
[pq]
[clone]
[pull]
[create-remote-repo]
[remote-config pkg-libvirt]
remote-url-pattern = ssh://git.debian.org/git/pkg-libvirt/%(pkg)s
template-dir =
/srv/alioth.debian.org/chroot/home/groups/pkg-libvirt/git-template
-- no debconf information
--
<Salz> FAQ steht für _häufig_ gestellte Fragen, nicht für Antwort auf ALLES
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]