sbuild
Build a Debian binary package in a clean chroot environment. tldr-pages
On several platforms
Several platforms
Build the package in the current directory
sbuildIdentifyBuild the given package
sbuild packageIdentifyBuild for a certain distribution
sbuild --dist distributionIdentifyBuild using custom dependencies (if a directory is passed, all files ending with .deb are used)
sbuild --extra-package path/to/file_or_directoryIdentifyRun a shell in case of build failure to further investigate
sbuild --build-failed-commands=%SBUILD_SHELLIdentifyCross build for a certain architecture
sbuild --host architectureIdentifyBuild for the given native architecture
sbuild --arch architectureIdentify