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       --build-arch
59           Explicitly set the build architecture. The default is the value of
60           `dpkg-architecture -qDEB_BUILD_ARCH`. This option only works if
61           dose-extra >= 4.0 is installed.
62
63       --no-arch-all, --no-arch-any
64           Ignore Build-Depends-Indep or Build-Depends-Arch while looking for
65           reverse dependencies.
66
67       --old
68           Force the old simple behaviour without dose-ceve support even if
69           dose-extra >= 4.0 is installed.  (This tends to be faster.)
70
71           Notice, that the old behaviour only finds direct dependencies,
72           ignores virtual dependencies, does not find transitive dependencies
73           and does not take version relationships, architecture restrictions,
74           build profiles or multiarch relationships into account.
75
76       --quiet
77           Don't print meta information (header, counter). Making it easier to
78           use in scripts.
79
80       -d, --debug
81           Run the debug mode
82
83       --help
84           Show the usage information.
85
86       --version
87           Show the version information.
88

REQUIREMENTS

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

LICENSE

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

AUTHOR

109       Patrick Schoenfeld <schoenfeld@debian.org>
110
111
112
113Debian Utilities                  2021-08-19                    BUILD-RDEPS(1)
Impressum