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

Bug#837395: apt-get build-dep ignores Build-Depends-Arch



Control: severity -1 wishlist
Control: retitle - 1 please support Build-Depends-Arch

On Sun, Sep 11, 2016 at 03:00:51AM -0700, Daniel Schepler wrote:
> root@frobozz:/build/botch-0.17# apt-get build-dep botch=0.17-3
> Reading package lists... Done
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> root@frobozz:/build/botch-0.17# apt-get build-dep /build/botch_0.17-3.dsc
> Note, using file '/build/botch_0.17-3.dsc' to get the build dependencies
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> root@frobozz:/build/botch-0.17# apt-get build-dep /build/botch-0.17/
> Note, using directory '/build/botch-0.17/' to get the build dependencies
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> root@frobozz:/build/botch-0.17# dpkg-checkbuilddeps
> dpkg-checkbuilddeps: error: Unmet build dependencies: cppo
> ocaml-findlib libextlib-ocaml-dev libocamlgraph-ocaml-dev
> libatdgen-ocaml-dev libxmlm-ocaml-dev libparmap-ocaml-dev
> libdose3-ocaml-dev (>= 4.0.1-2) dose-builddebcheck (>= 4.0.1-2)
> dose-extra (>= 4.0.1-2) dctrl-tools aspcud python3-apt python3-debian
> python3-networkx python3-yaml pep8 pyflakes python3-pydot gsfonts
> libgraph-easy-perl

The difference is that dpkg supports and documents it (e.g. in
deb-src-control(5)), but apt doesn't and e.g. policy doesn't document
it. It even goes as far as saying that such a field does not exist [0].
See also #823910.

I am going to write a patch for apt later, but I guess that can't be
considered a bugfix and hence might not be 1.3 material (depending on
how big or not that might turn out to be).


Best regards

David Kalnischkies

[0] file:///usr/share/doc/debian-policy/policy-1.html#f55

Attachment: signature.asc
Description: PGP signature


Reply to: