1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
# dpkg manual page - dpkg-checkbuilddeps(1)
#
# Copyright © 2001 Joey Hess <joeyh@debian.org>
# Copyright © 2007-2013, 2015 Guillem Jover <guillem@debian.org>
# Copyright © 2008-2011 Raphaël Hertzog <hertzog@debian.org>
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
=encoding utf8
=head1 NAME
dpkg-checkbuilddeps - check build dependencies and conflicts
=head1 SYNOPSIS
B<dpkg-checkbuilddeps>
[I<option>...]
[I<control-file>]
=head1 DESCRIPTION
This program checks the installed packages in the system against the build
dependencies and build conflicts listed in the control file.
If any are
not met, it displays them and exits with a nonzero return code.
By default, B<debian/control> is read, but an alternate control filename
may be specified on the command line.
=head1 OPTIONS
=over
=item B<--admindir=>I<dir>
Change the location of the B<dpkg> database (since dpkg 1.14.0).
The default location is I<%ADMINDIR%>.
=item B<-A>
Ignore B<Build-Depends-Arch> and B<Build-Conflicts-Arch>
lines (since dpkg 1.16.4).
Use when only arch-indep packages will be built, or combine with
B<-B> when only a source package is to be built.
=item B<-B>
Ignore B<Build-Depends-Indep> and B<Build-Conflicts-Indep>
lines.
Use when only arch-dep packages will be built, or combine with
B<-A> when only a source package is to be built.
=item B<-I>
Ignore built-in build depends and conflicts (since dpkg 1.18.2).
These are implicit dependencies that are usually required on a specific
distribution, the so called Build-Essential package set.
=item B<-d> I<build-depends-string>
=item B<-c> I<build-conflicts-string>
Use the given build dependencies/conflicts instead of those contained in the
I<debian/control> file (since dpkg 1.14.17).
=item B<-a> I<arch>
Check build dependencies/conflicts assuming that the package described in
the control file is to be built for the given host architecture instead of
the architecture of the current system (since dpkg 1.16.2).
=item B<-P> I<profile>[B<,>...]
Check build dependencies/conflicts assuming that the package described
in the control file is to be built for the given build profile(s)
(since dpkg 1.17.2).
The argument is a comma-separated list of profile names.
=item B<-?>, B<--help>
Show the usage message and exit.
=item B<--version>
Show the version and exit.
=back
=head1 ENVIRONMENT
=over
=item B<DEB_HOST_ARCH>
Sets the host architecture.
This affects the dependency resolution logic,
which might then not match what the system dpkg considers satisfiable.
=item B<DEB_BUILD_PROFILES>
If set, it will be used as the active build profile(s) for the package
being built.
It is a space separated list of profile names.
Overridden
by the B<-P> option.
=item B<DPKG_COLORS>
Sets the color mode (since dpkg 1.18.5).
The currently accepted values are: B<auto> (default), B<always> and
B<never>.
=item B<DPKG_NLS>
If set, it will be used to decide whether to activate Native Language Support,
also known as internationalization (or i18n) support (since dpkg 1.19.0).
The accepted values are: B<0> and B<1> (default).
=back
|