[buildd-tools-devel] Bug#655215: sbuild: Do not do run "fakeroot ./debian/rules clean" before building source

Wookey wookey at wookware.org
Mon Jan 9 14:15:05 UTC 2012


+++ Daniel Dehennin [2012-01-09 12:00 +0100]:
> Package: sbuild
> Version: 0.62.6-1
> Severity: wishlist
> 
> Dear Maintainer,
> 
> I setup a LVM based sbuild in a kvm wheezy as a replacement of
> cowbuilder.
> 
> I use it to build my personal packages but I run into troubles: the kvm
> is minimal, it does not have any build package and sbuild does a
> "fakeroot debian/rules clean"[1] before building the source.
> 
> This may require several packages to add in my kvm wheezy, like cdbs for
> packages using it.

Just to clarify (roger has explained the mechanics well), the clean
rules can require quite a large number of packages. I've run into this
doing pbuilder cross-builds for exactly the same reason.
All of these packages have been needed outside the chroot for
generating the clean source:
cdbs quilt, dpatch, dh_autoreconf, gnome-pkg-tools, dh-apport
(ubuntu), hardening-includes, mozilla-devscripts.
There are no doubt many more, and there is no way to predict which
might be needed so if you do have to build from an unpacked source dir then
having a way to skip the clean, or ensure that it is only run after
all the build-deps are installed, would be really useful. 

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/



More information about the Buildd-tools-devel mailing list