Bug#787093: autopkgtest: dpkg-deb chokes with build profiles in Build-Depends:
guillem at debian.org
Tue Jun 9 00:23:38 UTC 2015
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
> 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
I've not checked that, but I'm always for fixing things properly! :)
More information about the autopkgtest-devel