[buildd-tools-devel] Bug#763635: patch

Dima Kogan dima at secretsauce.net
Tue Oct 7 07:38:03 UTC 2014


Here's a candidate patch. Sbuild works in stages, and each stage gets
its own object. Each object in turn has a set of properties, such as a
'Log Stream' to log to. Here we were trying to use a Resolver's Log
Stream before one was created. In such a case the attached patch
attempts to use the Session's Log Stream and then the Host's Log Stream.
Those are parent objects that are initialized earlier, and their Log
Streams should be set up.

My perl-fu is sufficient, but I don't have an intimate knowledge of
sbuild. This patch works, but I don't know enough to claim this is the
"right" way to do this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Sbuild-Base-log-now-tries-harder-to-find-a-valid-Log.patch
Type: text/x-diff
Size: 1313 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20141007/a4fc669a/attachment.patch>


More information about the Buildd-tools-devel mailing list