1BUILD-RDEPS(1)                                                  BUILD-RDEPS(1)
2
3
4

NAME

6       build-rdeps - find packages that depend on a specific package to build
7       (reverse build depends)
8

SYNOPSIS

10       build-rdeps package
11

DESCRIPTION

13       build-rdeps searches for all packages that build-depend on the
14       specified package.
15
16       The default behaviour is to just `grep` for the given dependency in the
17       Build-Depends field of apt's Sources files.
18
19       If the package dose-extra >= 4.0 is installed, then a more complete
20       reverse build dependency computation is carried out. In particular,
21       with that package installed, build-rdeps will find transitive reverse
22       dependencies, respect architecture and build profile restrictions, take
23       Provides relationships, Conflicts, Pre-Depends, Build-Depends-Arch and
24       versioned dependencies into account and correctly resolve multiarch
25       relationships for crossbuild reverse dependency resolution.  (This
26       tends to be a slow process due to the complexity of the package
27       interdependencies.)
28

OPTIONS

30       -u, --update
31           Run apt-get update before searching for build-depends.
32
33       -s, --sudo
34           Use sudo when running apt-get update. Has no effect if -u is
35           omitted.
36
37       --distribution
38           Select another distribution, which is searched for build-depends.
39
40       --only-main
41           Ignore contrib and non-free
42
43       --exclude-component
44           Ignore the given component (e.g. main, contrib, non-free).
45
46       --origin
47           Restrict the search to only the specified origin (such as
48           "Debian").
49
50       -m, --print-maintainer
51           Print the value of the maintainer field for each package.
52
53       --host-arch
54           Explicitly set the host architecture. The default is the value of
55           `dpkg-architecture -qDEB_HOST_ARCH`. This option only works if
56           dose-extra >= 4.0 is installed.
57
58       --old
59           Force the old simple behaviour without dose-ceve support even if
60           dose-extra >= 4.0 is installed.  (This tends to be faster.)
61
62           Notice, that the old behaviour only finds direct dependencies,
63           ignores virtual dependencies, does not find transitive dependencies
64           and does not take version relationships, architecture restrictions,
65           build profiles or multiarch relationships into account.
66
67       --build-arch
68           Explicitly set the build architecture. The default is the value of
69           `dpkg-architecture -qDEB_BUILD_ARCH`. This option only works if
70           dose-extra >= 4.0 is installed.
71
72       --quiet
73           Don't print meta information (header, counter). Making it easier to
74           use in scripts.
75
76       -d, --debug
77           Run the debug mode
78
79       --help
80           Show the usage information.
81
82       --version
83           Show the version information.
84

REQUIREMENTS

86       The tool requires apt Sources files to be around for the checked
87       components.  In the default case this means that in /var/lib/apt/lists
88       files need to be around for main, contrib and non-free.
89
90       In practice this means one needs to add one deb-src line for each
91       component, e.g.
92
93       deb-src http://<mirror>/debian <dist> main contrib non-free
94
95       and run apt-get update afterwards or use the update option of this
96       tool.
97

LICENSE

99       This code is copyright by Patrick Schoenfeld <schoenfeld@debian.org>,
100       all rights reserved.  This program comes with ABSOLUTELEY NO WARRANTY.
101       You are free to redistribute this code under the terms of the GNU
102       General Public License, version 2 or later.
103

AUTHOR

105       Patrick Schoenfeld <schoenfeld@debian.org>
106
107
108
109Debian Utilities                  2020-02-06                    BUILD-RDEPS(1)
Impressum