[buildd-tools-devel] Bug#637931: Bug#637931: results obtained with the perl debugger

Roger Leigh rleigh at codelibre.net
Mon Aug 15 23:02:44 UTC 2011


On Tue, Aug 16, 2011 at 12:33:03AM +0200, Michael Karcher wrote:
> Some hints to the reported bug: I ran the perl debugger on Adrian's
> machine investigating the issue a bit, but did not do a full
> investigation. This is what I came up with:
> 
> The download step crashes (i.e. the exec dies) at the point the
> "downloading" message is printed to to stdout (Utility.pm:206), because
> $stdout is undef at that point. It has been set to undef by the
> preparation of the download restoring $stdout from $saved_stdout, the
> latter being undefined. A breakpoint to open_log which should initialize
> $saved_stdout did not trigger, so open_log was not called.
> 
> I did not investigate further why there was no call to open_log.

Many thanks for doing this.

It's probably due to the removal of the "main log" (as opposed to
"package log") with the removal of "batch mode" in 0.62.4-1.  It
may be that the download routine is making use of a variable that
is now undef where it previously wasn't.  It should be easily
corrected.


Thanks again,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110816/cd0b7f99/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list