[buildd-tools-devel] Bug#519867: [Buildd-tools-devel] Bug#519867: sbuild: run edos-debcheck in case of build failure due to dependency installation

Johannes Schauer josch at debian.org
Tue Jun 7 20:25:32 UTC 2016


Hi,

On Fri, 25 Dec 2015 19:44:09 +0100 Johannes Schauer <josch at debian.org> wrote:
> In summary, the following should work:
> 
> apt-cache dumpavail | dose-debcheck -v -f -e sbuild-build-depends-yourpackage-dummy
> 
> Together with --build-deps-failed-commands you can create a hook which does
> exactly what this bug requests. Would this be sufficient to fix this bug?

thinking about this a bit more, the above should work but requires
dose-debcheck and its dependencies to be installed inside the chroot. But
installing additional packages might influence the result and should thus not
be done.

Instead, the output of "apt-cache dumpavail" inside the chroot should be piped
to dose-debcheck installed outside the chroot. Unfortunately, the
--build-deps-failed-commands are run inside the chroot and do not offer running
anything outside the chroot.

So as originally suggested, it might be necessary to add the functionality to
sbuild itself. Maybe by sbuild opportunistically running dose-debcheck after
dependency installation failed and sbuild sees the dose-debcheck binary on the
host?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160607/1750ac20/attachment.sig>


More information about the Buildd-tools-devel mailing list