[buildd-tools-devel] Bug#763635: Bug#763635: sbuild: sbuild-update writes a stray line to stderr

Wookey wookey at wookware.org
Fri Oct 3 13:56:02 UTC 2014


+++ Adam Borowski [2014-10-01 21:45 +0200]:
> On Wed, Oct 01, 2014 at 07:32:26PM +0100, Wookey wrote:
> > The issue is this line in lib/Sbuild/ResolverBase.pm:
> >  $self->log("Initial foreign arches: '@existing_foreign_arches'\n");
> > 
> > Which is a boring $self->log function like many many others. 

> Running with $debug set to 1 confirms that indeed $logfile is not set up
> yet.  So it appears you're calling log() too early.

Thanks for that debug. You are correct. 

This is slightly harder to fix than I was hoping as the original patch
did not properly separate reporting and setup. I hope to upload a
fixed version in the next day or two.

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/



More information about the Buildd-tools-devel mailing list