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

Ferenc Wágner wferi at niif.hu
Fri Apr 29 13:47:27 UTC 2016


Johannes Schauer <josch at debian.org> writes:

> 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?

That is a good approximation, yes.

> 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.

Yes.

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

I'm not sure about this one.  Maybe more readable and also less useful...

> 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.

That's exactly why I didn't propose logging the sbuild invocation.
Sbuild has too many knobs, which are also often tweaked, but are also
fairly obvious from the build log.
-- 
Regards,
Feri



More information about the Buildd-tools-devel mailing list