Re: Help from Git-buildpackage experts wanted (Was: New upstream version of python-csb)
On 21/12/12 15:19, Andreas Tille wrote:
> Due to your effort now at least the error message has changed:
> $ git-buildpackage
> gbp:info: Orig tarball 'python-csb_1.1.1+dfsg.orig.tar.gz' not found at '../tarballs/'
> tar: /tmp/pristine-tar.rpEhoamtcq/recreatetarball: Wrote only 8192 of 10240 bytes
> tar: Error is not recoverable: exiting now
> pristine-tar: command failed: tar cf /tmp/pristine-tar.rpEhoamtcq/recreatetarball --owner 0 --group 0 --numeric-owner -C /tmp/pristine-tar.rpEhoamtcq/workdir --no-recursion --mode 0644 --files-from /tmp/pristine-tar.rpEhoamtcq/manifest
> pristine-tar: failed to generate tarball
> gbp:error: Couldn't checkout "python-csb_1.1.1+dfsg.orig.tar.gz": /usr/bin/pristine-tar returned 2
I forgot to tell you: I had to remove the "tarball-dir" variable from
both my ~/.gbp.conf and the package's debian/gbp.conf for it to use the
pristine-tar thing. Otherwise it kept looking for it in the specified
"../tarballs" directory, as the error message says. I don't know if
removing that variable from gbp.conf is the correct way to do it, though.
In any case, let me know if not setting "tarball-dir" changes anything
for you, and/or if that's a valid way to solve this.
If this last attempt doesn't work I'll send you the package so you can
upload it. By the way, I wouldn't mind learning your packaging workflow,
if that's possible. I'm sure you work in a lower level, and I'd actually
be curious to see how that's done.