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

Re: Help needed for "gbp:error: upstream/2.3.0 is not a valid treeish" (Was: Please finalise new version of ncbi-blast+ since build system is quite tricky)



Hello, 

Am Dienstag, den 12.04.2016, 17:42 +0200 schrieb Andreas Tille:
> Hi Olivier,
> 
> On Tue, Apr 12, 2016 at 03:33:43PM +0000, olivier sallou wrote:
> > 
> > > 
> > > I imported the new upstream version and I **hope** I refreshed
> > > the quilt
> > > patches correctly.  However, even the build system has changed a
> > > bit -
> > > for instance c++/src/build was moved to c++/src/build-
> > > system.  For me at
> > > this point it is enough fiddling around with things I'm not
> > > sufficiently
> > > educated and I wonder whether you want to take over at this
> > > point.
> > > Hopefully its only a small thing to change.
> > > 
> > some branches might be missing
Did you use debcheckout with the "--git-track '*'"? This usually takes
care that all branches are locally visible. Otherwise you can also
manually checkout branches and then they become locally visible. 

> > 
> > 
> > and a build gives error:
> > 
> > $gbp buildpackage -rfakeroot
> > 
> > gbp:error: upstream/2.3.0 is not a valid treeish

The solution is to add a gbp.conf files to debian/ that contains 

[DEFAULT]
pristine-tar = True

It may also be possible to set the --pristin-tar option on the gbp
command line or in one of its local configuration files. I prefer the
option to be provided by the packaging repo itself, just so everybody
working with the repo doesn't have to think about it.

Best, 
Gert 




Reply to: