Manpages

Manpage of DPKG-GENBUILDDEPS

DPKG-GENBUILDDEPS

Section: User Commands (1)
Updated: Debian Utilities
Index
Return to Main Contents
 

NAME

dpkg-genbuilddeps - generate a list of packages used to build this package  

SYNOPSIS

dpkg-genbuilddeps [arg ...]  

DESCRIPTION

This program is run from the top of a Debian build tree. It calls dpkg-buildpackage with any arguments given on the command line, and by tracing the execution of this, it determines which non-essential packages were used during the package building. This can be useful in determining what the Build-Depends control fields should contain. It does not determine which packages were used for the arch independent parts of the build and which for the arch dependent parts, not does it attempt to determine which versions of packages are required. It should be able to run under fakeroot rather than being run as root, as fakeroot dpkg-genbuilddeps, or dpkg-genbuilddeps -rfakeroot.  

BUGS

There is a bug in strace on the i386 architecture (and possibly on others), see http://bugs.debian.org/109656, which causes it to hang which tracing dpkg --build. If dpkg-genbuilddeps hangs, this could well be the problem. In such a case, try using dpkg-depcheck(1) instead, running it on only the build target of debian/rules.  

SEE ALSO

The Debian Policy Manual, sections on Build-Depends etc., fakeroot(1) and dpkg-depcheck(1).  

AUTHOR

The original dpkg-genbuilddeps was written by Ben Collins <bcollins@debian.org>. The current version is a simple wrapper around dpkg-depcheck written by Bill Allombert <ballombe@debian.org>. This manual page was written by Julian Gilbey <jdg@debian.org>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
BUGS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 00:39:07 GMT, April 20, 2024