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

Attachment: signature.asc
Description: signature

Reply via email to