Bug#352009: [Pbuilder-maint] Bug#352009: pbuilder doesn't support Build-Depends-Indep

Junichi Uekawa dancer at netfort.gr.jp
Fri Feb 10 10:40:43 UTC 2006


Hi,

> The next version of the mapserver package builds documentation in
> build-indep using python-docutils, putting the results in an arch: all
> package. However, when I try to build it in pbuilder, it FTBFS because
> pbuilder doesn't install python-docutils, which is listed in
> Build-Depends-Indep in debian/control.
> 
> I currently work around this using a hook running before the build-dep
> resolution giving me a shell from which I install Build-Depends-Indep
> packages.

It should be supported.


function checkbuilddep () {
    # call satisfydepends
    local BUILDOPT="--binary-all"
    case "${BINARY_ARCH}" in
        yes) BUILDOPT="--binary-arch";;
        *) ;;
    esac
    if /usr/lib/pbuilder/pbuilder-satisfydepends --control "$1" --internal-chrootexec "${CHROOTEXEC}" "${BUILDOPT}" ; then
        :

Show me your control file.


regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list