[maemo-developers] Clean build environment

From: Graham Cobb g+770 at cobb.uk.net
Date: Wed Jul 8 19:20:09 EEST 2009
On Wednesday 08 July 2009 12:35:35 Ed Bartosh wrote:
> There is such a tool and autobuilder is uses it.
> It's called sbdmock and you can find it here:
> http://github.com/kad/sbdmock/tree/master
>
> To build the package the same way as autobuilder does you just need to
> run 'sbdmock -r <target> -u <your .dsc file>'
> where target is the name of sbdmock target and -u option is for
> creating new scratchbox target for the build, AFAIK.
>
> You can find Chinook target configs here:
> http://github.com/kad/sbdmock/tree/186e27cacd6149170df456007f98ddb646dc980a
>/etc
>
> And I can put Diablo and Fremantle configs somewhere if needed.

Thanks Ed.

Is there somewhere to discuss sbdmock?  Or, at least, to find out more about 
it?

I thought it was just a build tool -- can it also be used to provide an 
environment where the developer can sit in a scratchbox target which has been 
cleanly created and test things out from a command line (e.g. try a build, 
then look for the missing files configure is complaining about, try manually 
installing something and see if that fixes the problem, etc, etc?).

It may be that all we need to do is to create a Wiki page telling people how 
to install and use sbdmock for testing and debugging their build problems.  
Or it may be that some additional scripts and packaging would be useful.

It would be great if you could maintain and make available sbdmock target 
configs that correspond to the various versions of the autobuilder and we 
could put them somewhere easy for people to find (probably on maemo.org).

Graham


More information about the maemo-developers mailing list