Confused about building OpenStack Packages?
Solution 1:
sbuild
builds a package in an isolated environment using schroot
. In this environment, only the build dependencies declared by the source package are installed, and nothing else. This helps ensure that the build isn't influenced by the developer or CI environment it is run from. For example, without sbuild, the presence of a package in the CI environment might make it appear that the build succeeds when in fact it was an undeclared build dependency and so fails everywhere else. For reproducibility and stability reasons, it is better to use sbuild.