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, non-free and non-free-firmware.
42
43       --exclude-component
44           Ignore the given component (e.g. main, contrib, non-free, non-free-
45           firmware).
46
47       --origin
48           Restrict the search to only the specified origin (such as
49           "Debian").
50
51       -m, --print-maintainer
52           Print the value of the maintainer field for each package.
53
54       --host-arch
55           Explicitly set the host architecture. The default is the value of
56           `dpkg-architecture -qDEB_HOST_ARCH`. This option only works if
57           dose-extra >= 4.0 is installed.
58
59       --build-arch
60           Explicitly set the build architecture. The default is the value of
61           `dpkg-architecture -qDEB_BUILD_ARCH`. This option only works if
62           dose-extra >= 4.0 is installed.
63
64       --no-arch-all, --no-arch-any
65           Ignore Build-Depends-Indep or Build-Depends-Arch while looking for
66           reverse dependencies.
67
68       --old
69           Force the old simple behaviour without dose-ceve support even if
70           dose-extra >= 4.0 is installed.  (This tends to be faster.)
71
72           Notice, that the old behaviour only finds direct dependencies,
73           ignores virtual dependencies, does not find transitive dependencies
74           and does not take version relationships, architecture restrictions,
75           build profiles or multiarch relationships into account.
76
77       -q, --quiet
78           Don't print meta information (header, counter). Making it easier to
79           use in scripts.
80
81       -d, --debug
82           Run the debug mode
83
84       --help
85           Show the usage information.
86
87       --version
88           Show the version information.
89

REQUIREMENTS

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

LICENSE

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

AUTHOR

112       Patrick Schoenfeld <schoenfeld@debian.org>
113
114
115
116Debian Utilities                  2023-07-19                    BUILD-RDEPS(1)
Impressum