dpkg-checkbuilddeps.man 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .\" dpkg manual page - dpkg-checkbuilddeps(1)
  2. .\"
  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>
  6. .\"
  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.
  11. .\"
  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.
  16. .\"
  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/>.
  19. .
  20. .TH dpkg\-checkbuilddeps 1 "%RELEASE_DATE%" "%VERSION%" "dpkg suite"
  21. .nh
  22. .SH NAME
  23. dpkg\-checkbuilddeps \- check build dependencies and conflicts
  24. .
  25. .SH SYNOPSIS
  26. .B dpkg\-checkbuilddeps
  27. .RI [ option ...]
  28. .RI [ control-file ]
  29. .
  30. .SH DESCRIPTION
  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.
  34. .P
  35. By default, \fBdebian/control\fR is read, but an alternate control filename
  36. may be specified on the command line.
  37. .
  38. .SH OPTIONS
  39. .TP
  40. .BI \-\-admindir= dir
  41. Change the location of the \fBdpkg\fR database (since dpkg 1.14.0).
  42. The default location is \fI%ADMINDIR%\fP.
  43. .TP
  44. .B \-A
  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.
  49. .TP
  50. .B \-B
  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.
  54. .TP
  55. .B \-I
  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.
  59. .TP
  60. .BI "\-d " build-depends-string
  61. .TP
  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).
  65. .TP
  66. .BI "\-a " arch
  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).
  70. .TP
  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)
  74. (since dpkg 1.17.2).
  75. The argument is a comma-separated list of profile names.
  76. .TP
  77. .BR \-? ", " \-\-help
  78. Show the usage message and exit.
  79. .TP
  80. .BR \-\-version
  81. Show the version and exit.
  82. .
  83. .SH ENVIRONMENT
  84. .TP
  85. .B DEB_BUILD_PROFILES
  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.