[buildd-tools-devel] Bug#844267: Bug#844267: sbuild: Support for blhc

Johannes Schauer josch at debian.org
Mon Nov 14 07:30:58 UTC 2016


Hi,

Quoting Paul Wise (2016-11-14 08:12:03)
> I haven't yet found a way to resolve recommends to a definitive list of
> package=version tuples

why do you have to supply the exact version as well?

> and that would probably be undesirable anyway, so the WIP patch creates a
> fake .dsc containing a Build-Depends line with the requested check
> dependencies in it and passes that to apt build-dep, but unfortunately that
> installs build-essential, which would be too much in situations where
> build-essential isn't installed yet.
> 
> https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git/commit/?h=wip/install&id=1271658cf0e143fb6da6fff96219ecb2ff42b2ed

you could do it like sbuild and instead of assembling a .dsc, create a dummy
binary package. Either using equivs or by manually creating DEBIAN/control and
then running dpkg-deb. This would avoid the build-essential dependency. Here is
how sbuild does it:

http://sources.debian.net/src/sbuild/0.72.0-2/lib/Sbuild/ResolverBase.pm/#L947

Alternatively, sbuild would be happy with parsing the .dsc you already provide
and pass the contents of the Build-Depends field to apt.

Thanks!

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


More information about the Buildd-tools-devel mailing list