[Pkg-octave-devel] How do you build the package?

Sébastien Villemot sebastien.villemot at ens.fr
Mon Feb 20 18:58:24 UTC 2012

Jordi Gutiérrez Hermoso <jordigh at octave.org> writes:

> I thought the whole point of keeping the package under git was to use
> git-buildpackage.
> However, after cloning the alioth repo and running "git-buildpackage", I get:
>     fatal: Not a valid object name upstream/3.4.3
>     octave_3.4.3.orig.tar.gz does not exist, creating from 'upstream'
>     fatal: Not a valid object name upstream
> How am I supposed to build the package?

I think this is because you did not create local branches for upstream
and pristine-tar. Do the following in your local repo:

 git branch upstream origin/upstream
 git branch pristine-tar origin/pristine-tar

I don't know if there is an automated way of doing this.

Also don't forget to use the --git-pristine-tar option of
git-buildpackage (you can put it in ~/.gbp.conf).

Sébastien Villemot
Researcher in Economics & Debian Maintainer
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20120220/0f1328a5/attachment.pgp>

More information about the Pkg-octave-devel mailing list