[buildd-tools-devel] Bug#570807: sbuild: Use of uninitialized value in unlink at /usr/bin/sbuild line 335.

Philipp Kern pkern at debian.org
Sun Feb 21 15:13:26 UTC 2010


Package: sbuild

When running sbuild from buildd git[1] I get the following when terminating
sbuild with a signal in batch mode:

Use of uninitialized value in unlink at /usr/bin/sbuild line 335.

The lines in question:

sub shutdown ($) {
[...]
  331         $jobs{$current_job}->close_build_log();
  332         $jobs{$current_job}->set('binNMU Name', undef);
  333     }
  334     close_log($conf);
>>335     unlink( $jobs{$current_job}->get('Jobs File') ) if $conf->get('BATCH_MODE');
  336     $? = 0; $! = 0;
  337     if ($conf->get('SBUILD_MODE') eq "user") {
  338         exit 1;
  339     }
  340 
[...]
}

I don't know what the logic of the Jobs File should be, currently.
It would be nice if that could be fixed by someone who does.  :)

Kind regards,
Philipp Kern

[1] rev b1c2b28f1046b3ae8156d23f4ae723d3e7a72103
-- 
 .''`.  Philipp Kern                        Debian Developer
: :' :  http://philkern.de                         Stable Release Manager
`. `'   xmpp:phil at 0x539.de                         Wanna-Build Admin
  `-    finger pkern/key at db.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100221/038c4ed3/attachment.pgp>


More information about the Buildd-tools-devel mailing list