Package: ratt
Version: 0.0~git20150816.0.b060319-1
Severity: wishlist

Hi,

ratt calls sbuild without setting the SBUILD_CONFIG environment variable
which was introduced in sbuild 0.66.0-1.

Without that environment variable, sbuild will use the users subildrc in
~/.sbuildrc which in turn might mean that the build will be carried out
with other options than required by ratt.

When using SBUILD_CONFIG you can instead specify a sane configuration
file.

On top of that you could even then add things like:

$external_commands = {
  'post-build-commands' => [
    ['adt-run', '--changes', '%c', '--no-built-binaries', '--source', '%d', 
'---', 'schroot', 'unstable-amd64-sbuild']
  ]
};

which would run autopkgtests as part of every build. This way, ratt
could not only be used to check whether the reverse build dependencies
FTBFS but would also check whether the produced binary packages pass
their runtime tests!

Thanks!

cheers, josch

Reply via email to