bzr get-orig-source

Jelmer Vernooij jelmer at canonical.com
Tue Oct 4 10:55:28 UTC 2011


On 10/04/2011 12:48 PM, Jonathan Riddell wrote:
> On Tue, Oct 04, 2011 at 12:30:54PM +0200, Jelmer Vernooij wrote:
>> I think Jonathan means that if you use -nc (no cleanup of build
>> directory), you have to cd ../build-area/mypkg-1.0 to get to the build
>> directory.
> Yes, and then copy any changes to packaging back manually.
I guess we could improve this workflow too - e.g. by having bzr-builddeb
not chdir back after a build has failed. Though with "bzr
get-orig-source" in place that's not really important anymore.
>
>> Personally, I just use "bzr bd" / "bzr pbd", then fixup whatever is
>> wrong, then "bzr bd" again - no changing of directories involved.
> Using bzr builddeb assumes you can find out what is wrong just from
> the build logs, maybe you need to update the .symbols files, you need
> the build tree around for that.  Also restarting the build from
> scratch takes a long time for large packages, e.g. Qt takes well over an
> hour to build each time.
dpkg-gensymbols spits out a diff which I usually use to update the
symbols file (after careful reviewing, of course).

Fortunately, my packages (even Samba and Heimdal) build in roughly 10
minutes on my machine so I don't care that much about starting from
scratch each time.
>
> What is  bzr pbd?
charis:~/lp% bzr alias
bzr alias autobuild="dpush
git+ssh://sn-devel/home/jelmer/autobuild/samba-autobuild"
bzr alias commit="commit --strict"
bzr alias pbd="bd --builder="pdebuild --buildresult
/home/jelmer/buildresult""

Cheers,

Jelmer



More information about the ubuntu-distributed-devel mailing list