[buildd-tools-devel] Bug#589615: wanna-build: failure at startup
Marc Dequènes (Duck)
duck at duckcorp.org
Mon Jul 19 09:47:48 UTC 2010
Package: wanna-build
Version: 0.60.0-1~bpo50+1
Severity: important
Tags: patch
Coin,
I'm trying to use wanna-build on a Lenny system using bpo packages.
I've run into this problem:
Can't use an undefined value as a HASH reference at
/usr/share/perl5/Sbuild/ConfBase.pm line 98.
According to changelog entry 0.57.2-1:
* lib/Sbuild/Conf.pm: Don't require $mailto to be set if not running in
a buildd environment (Closes: #478045). Thanks to Martin F Krafft.
but the $mailto hash is not checked for being defined later on.
The following patch solves it:
--- /usr/share/perl5/Sbuild/ConfBase.pm.orig 2010-07-19
11:08:56.000000000 +0200
+++ /usr/share/perl5/Sbuild/ConfBase.pm 2010-07-19 11:09:25.000000000 +0200
@@ -98,6 +98,7 @@
if (!$self->get('MAILTO_FORCED_BY_CLI')
&& defined($self->get('DISTRIBUTION'))
&& $self->get('DISTRIBUTION')
+ && defined($self->get('MAILTO_HASH'))
&&
$self->get('MAILTO_HASH')->{$self->get('DISTRIBUTION')}) {
$self->set('MAILTO',
$self->get('MAILTO_HASH')->{$self->get('DISTRIBUTION')});
Regards.
--
Marc Dequènes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100719/8a490d1d/attachment.pgp>
More information about the Buildd-tools-devel
mailing list