[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787093: autopkgtest: dpkg-deb chokes with build profiles in Build-Depends:


On Sat, 2015-06-06 at 16:25:17 +0200, Martin Pitt wrote:
> Guillem Jover [2015-05-29  2:52 +0200]:
> > If this is indeed parsing Build-Depends, you probably also want
> > ?build_dep => 1? there.
> It's not in general. Only if this is for expanding @builddeps@ it's
> actually build deps, otherwise it's plain binary depends. The current
> code structure is unsuitable for this: satisfy_dependencies_string()
> in adt-run has lost the information which parts came from build deps
> and which from binary ones, as that's read from the package format
> specific parser in lib/testdesc.py. So we need to move things around
> first.
> What particular effect does build_dep => 1 have? Will this
> disable/break any syntax of binary dependencies, or just enable the
> extra ones for build deps (arch restrictions, build profiles, etc.)?

It enables the build-dependency specific arch-qualifier ":native".
The arch and profile retrictions are selected with other flags. You
can get more details with ?man Dpkg::Deps?.

> But anyway, I think it's better to fix the code properly; in
> particular, this should happen in testdesc.py's
> _debian_build_deps_from_source().

I've not checked that, but I'm always for fixing things properly! :)


Reply to: