workflow advice for bzr builder + pbuilder

James Westby jw+debian at jameswestby.net
Thu Apr 26 21:40:30 UTC 2012


On Thu, 26 Apr 2012 23:30:07 +0200, Tim Michelsen <timmichelsen at gmx-topmail.de> wrote:
> > If you grab the text of your recipe from Launchpad and save it in a text
> > file then you can run
> >
> >    bzr dailydeb<that file>
> 
> It says now:
> 
> bzr: ERROR: No such tag: upstream-0.8.0phase:adding file 10/15
> 
> While my recipe reads: # bzr-builder format 0.3 deb-version 
> 0.8.0-ubuntu1~{revno}
> 
> If I change to # bzr-builder format 0.3 deb-version 0.8.0 then it runs 
> well and without problems.
> 
> Why that?

It's trying to create an orig.tar.gz for the package. The latter version
number is native, so it isn't needed.

The other option than changing the version number would be passing
--allow-fallback-to-native, which I believe LP uses which is why you saw
the difference.

>  >   pbuilder<package>.dsc
> This does not work straightaway. I needed to change to:
> sudo pbuilder --build ./*.dsc

Apologies for forgetting the pbuilder interface.

Thanks,

James



More information about the bazaar mailing list