[buildd-tools-devel] Bug#820977: Bug#820977: sbuild: please log the dpkg-buildpackage command line options

Johannes Schauer josch at debian.org
Thu Apr 28 07:12:22 UTC 2016


Hi,

Quoting Ferenc Wágner (2016-04-28 07:58:35)
> While working on enabling source-only uploads for some packages, several
> times I found myself wondering what type of (failed) build (arch-any/
> arch-all/mixed) a given build log corresponds to.  The dpkg-buildpackage
> options are important (and hopefully not too many), thus I find --debug too
> heavy-handed for this.

aha. So if I understand your situation correctly, you have a directory of build
logs and you now want to figure out which build log corresponds to which
arch-all/arch-any/whatever build?

If that is the case, then this could be fixed by showing the values of

BUILD_ARCH_ALL
BUILD_ARCH_ANY
BUILD_SOURCE

in the log. This would be more readable than printing the dpkg-buildpackage
invocation.

Alternatively, this problem could also be fixed by printing the exact sbuild
invocation into the log. Though that might not be enough because your sbuildrc
might overwrite values.

What do you think?

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160428/2b6f0b2f/attachment-0001.sig>


More information about the Buildd-tools-devel mailing list