On Fri, Dec 04, 2009, Artur R. Czechowski wrote: > Let's say it - average developer has installed all needed development > libraries and can compile the maintained software using his normal > environment. The pbuilder is used to check if Build-depends is correct.
That's true in some cases; in other cases, you're working on a random package which you don't upload frequently, e.g. NMU or sponsor upload, and your changes are safe source-wise, but you need to test binary packages. > > One thing which could be done is packing the source with dpkg-source -b > > in the development environment and copying it to the chroot, *then* > > building the source + binaries in the chroot env. > However, if there would be any means to fulfill the other case: rebuild > any package without installing build dependencies on normal environment > and provide such functionality in pbuilder - it would be really nice. yes, that's what dpkg-source allows. I think running clean in the host environment is only needed because of the call to dpkg-buildpackage to build the source package as a transport mechanism into the build env. -- Loïc Minier -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org