[buildd-tools-devel] Bug#589615: Bug#589615: wanna-build: failure at startup
Roger Leigh
rleigh at codelibre.net
Tue Dec 7 21:02:58 UTC 2010
tags 589615 + fixed-upstream pending
thanks
On Mon, Jul 19, 2010 at 11:47:48AM +0200, Marc Dequènes (Duck) wrote:
> 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')});
Many thanks for the patch, and apologies for the delay. I've applied
this to git master, and it will be in the next release.
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: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101207/4734747a/attachment.pgp>
More information about the Buildd-tools-devel
mailing list