1 .\" dpkg manual page - dpkg-checkbuilddeps(1)
3 .\" Copyright © 2001 Joey Hess <joeyh@debian.org>
4 .\" Copyright © 2007-2013, 2015 Guillem Jover <guillem@debian.org>
5 .\" Copyright © 2008-2011 Raphaël Hertzog <hertzog@debian.org>
7 .\" This is free software; you can redistribute it and/or modify
8 .\" it under the terms of the GNU General Public License as published by
9 .\" the Free Software Foundation; either version 2 of the License, or
10 .\" (at your option) any later version.
12 .\" This is distributed in the hope that it will be useful,
13 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 .\" GNU General Public License for more details.
17 .\" You should have received a copy of the GNU General Public License
18 .\" along with this program. If not, see <https://www.gnu.org/licenses/>.
20 .TH dpkg\-checkbuilddeps 1 "%RELEASE_DATE%" "%VERSION%" "dpkg suite"
23 dpkg\-checkbuilddeps \- check build dependencies and conflicts
26 .B dpkg\-checkbuilddeps
31 This program checks the installed packages in the system against the build
32 dependencies and build conflicts listed in the control file. If any are
33 not met, it displays them and exits with a nonzero return code.
35 By default, \fBdebian/control\fR is read, but an alternate control filename
36 may be specified on the command line.
41 Change the location of the \fBdpkg\fR database (since dpkg 1.14.0).
42 The default location is \fI%ADMINDIR%\fP.
45 Ignore \fBBuild\-Depends\-Arch\fP and \fBBuild\-Conflicts\-Arch\fP
46 lines (since dpkg 1.16.4).
47 Use when only arch-indep packages will be built, or combine with
48 \fB\-B\fP when only a source package is to be built.
51 Ignore \fBBuild\-Depends\-Indep\fP and \fBBuild\-Conflicts\-Indep\fP
52 lines. Use when only arch-dep packages will be built, or combine with
53 \fB\-A\fP when only a source package is to be built.
56 Ignore built-in build depends and conflicts (since dpkg 1.18.2).
57 These are implicit dependencies that are usually required on a specific
58 distribution, the so called Build-Essential package set.
60 .BI "\-d " build-depends-string
62 .BI "\-c " build-conflicts-string
63 Use the given build dependencies/conflicts instead of those contained in the
64 \fIdebian/control\fP file (since dpkg 1.14.17).
67 Check build dependencies/conflicts assuming that the package described in
68 the control file is to be built for the given host architecture instead of
69 the architecture of the current system (since dpkg 1.16.2).
71 .BR "\-P " \fIprofile\fP[ , ...]
72 Check build dependencies/conflicts assuming that the package described
73 in the control file is to be built for the given build profile(s)
75 The argument is a comma-separated list of profile names.
78 Show the usage message and exit.
81 Show the version and exit.
86 If set, it will be used as the active build profile(s) for the package
87 being built. It is a space separated list of profile names. Overridden
88 by the \fB\-P\fP option.