Bug#559195: Cannot build the source package in clean chroot, unable to pdebbuild the package.

Loïc Minier lool at dooz.org
Fri Dec 4 14:46:15 UTC 2009


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



More information about the Pbuilder-maint mailing list