[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Jordi Gutiérrez Hermoso <jordigh@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
http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594

Attachment: pgp9NdXLJoePz.pgp
Description: PGP signature


Reply to: