Just got bitten by this, so note to self:
- the pbuilder image might have installed
iprouteautomatically, due toisc-dhcp-clientdependency, so it's not an entirely clean build environment - if you have a source package which generates both an
arch:anyand anarch:allpackage, make sure to test building “all” packages and only the binary one(s), viapbuilder --binary-arch; otherwise you might get surprises due toBuild-Depends-Indepbeing pulled in by default
Yes, I'm talking about Debian bug #671981. Fun!
cowbuilder --debootstrapopts --variant=buildd
But too many packages is unclean.
Anyonymous 1: I beg to differ. I use pbuilder to ensure that my build-depends are correct; if it fails at that, it's not just "non-minimal", it's actually broken for my purpose. So yes, I consider a non-minimal chroot as "unclean".
Anonymous 2: ah,
--variant buildd. I should try that with pbuilder (when re-creating the chroots), it sounds like a good idea, thanks!Too many packages installed means it might not be suiteable to be checking build depdencies completely. (But note that generating a really minimal build environment is hard, you usually get some unneeded packages like apt and the like).
But unclean originally means a build environment where failing to build a package does not mean it is no bug in the package. (Which is not the case with too many packages installed).