Manpages DPKG-GENBUILDDEPSSection: User Commands (1)Updated: Debian Utilities Index Return to Main Contents NAMEdpkg-genbuilddeps - generate a list of packages used to build this packageSYNOPSISdpkg-genbuilddeps [arg ...]DESCRIPTIONThis 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.BUGSThere 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 ALSOThe Debian Policy Manual, sections on Build-Depends etc., fakeroot(1) and dpkg-depcheck(1).AUTHORThe 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>.
IndexThis document was created by man2html, using the manual pages. Time: 16:22:51 GMT, May 08, 2025 |