[pkg-go] Bug#801595: ratt calls sbuild in a way that uses the user's sbuildrc

Johannes Schauer josch at debian.org
Mon Oct 12 11:19:29 UTC 2015

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


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

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!


cheers, josch

More information about the Pkg-go-maintainers mailing list