.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.48) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "dpkg-checkbuilddeps 1" .TH dpkg-checkbuilddeps 1 2026-09-09 1.23.11-dirty "dpkg suite" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME dpkg\-checkbuilddeps \- check build dependencies and conflicts .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBdpkg\-checkbuilddeps\fR [\fIoption\fR...] [\fIcontrol\-file\fR] .SH DESCRIPTION .IX Header "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. .PP By default, \fBdebian/control\fR is read, but an alternate control filename may be specified on the command line. .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-admindir=\fR\fIdir\fR 4 .IX Item "--admindir=dir" Change the location of the \fBdpkg\fR database. The default location is \fI/var/lib/dpkg\fR. .Sp Supported since dpkg 1.14.0. .IP \fB\-A\fR 4 .IX Item "-A" Ignore \fBBuild\-Depends\-Arch\fR and \fBBuild\-Conflicts\-Arch\fR lines. Use when only arch\-indep packages will be built, or combine with \&\fB\-B\fR when only a source package is to be built. .Sp Supported since dpkg 1.16.4. .IP \fB\-B\fR 4 .IX Item "-B" Ignore \fBBuild\-Depends\-Indep\fR and \fBBuild\-Conflicts\-Indep\fR lines. Use when only arch\-dep packages will be built, or combine with \&\fB\-A\fR when only a source package is to be built. .IP \fB\-I\fR 4 .IX Item "-I" Ignore built\-in build depends and conflicts. These are implicit dependencies that are usually required on a specific distribution, the so called Build\-Essential package set. .Sp Supported since dpkg 1.18.2. .IP "\fB\-d\fR \fIbuild\-depends\-string\fR" 4 .IX Item "-d build-depends-string" .PD 0 .IP "\fB\-c\fR \fIbuild\-conflicts\-string\fR" 4 .IX Item "-c build-conflicts-string" .PD Use the given build dependencies/conflicts instead of those contained in the \&\fIdebian/control\fR file. .Sp Supported since dpkg 1.14.17. .IP "\fB\-a\fR \fIarch\fR" 4 .IX Item "-a 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. .Sp Supported since dpkg 1.16.2. .IP "\fB\-P\fR \fIprofile\fR[\fB,\fR...]" 4 .IX Item "-P profile[,...]" Check build dependencies/conflicts assuming that the package described in the control file is to be built for the given build profile(s). The argument is a comma\-separated list of profile names, without any exclamation marks. .Sp Supported since dpkg 1.17.2. .IP "\fB\-?\fR, \fB\-\-help\fR" 4 .IX Item "-?, --help" Show the usage message and exit. .IP \fB\-\-version\fR 4 .IX Item "--version" Show the version and exit. .SH ENVIRONMENT .IX Header "ENVIRONMENT" .IP \fBDEB_HOST_ARCH\fR 4 .IX Item "DEB_HOST_ARCH" Sets the host architecture. This affects the dependency resolution logic, which might then not match what the system dpkg considers satisfiable. .IP \fBDEB_BUILD_PROFILES\fR 4 .IX Item "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, without any exclamation marks. Overridden by the \fB\-P\fR option. .IP \fBDPKG_COLORS\fR 4 .IX Item "DPKG_COLORS" Sets the color mode. The currently accepted values are: \fBauto\fR (default), \fBalways\fR and \&\fBnever\fR. .Sp Supported since dpkg 1.18.5. .IP \fBDPKG_NLS\fR 4 .IX Item "DPKG_NLS" If set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support. The accepted values are: \fB0\fR and \fB1\fR (default). .Sp Supported since dpkg 1.19.0.