Bug#530675: dh-make-perl: uninit warning building cpan libintl-perl

gregor herrmann gregoa at debian.org
Wed May 27 10:57:19 UTC 2009


On Wed, 27 May 2009 13:18:21 +0300, Damyan Ivanov wrote:

> > >     ( $perlname, $version ) = $self->extract_name_ver();
> > >     $pkgname = lc $perlname;
> > >     $pkgname = 'lib' . $pkgname unless $pkgname =~ /^lib/; <===
> > >     $pkgname .= '-perl'
> > >         unless ( $pkgname =~ /-perl$/
> > >             and $self->cfg->cpan !~ /::perl$/i );

> > Yup, but IIRC (I took a short look yesterday) the warning comes from
> > the line marked with "<==" above, which means that $pkgname is not
> > initialized which means that the problem is with $perlname which
> > means that $self->extract_name_ver() would need some investigation
> > (that's when I went to bed :)).
> I tried again with plain 0.55 frm the archive. Same warning as 
> reported, and lines are:

> 545     $pkgname .= '-perl'
> 546         unless ( $pkgname =~ /-perl$/ and $self->cfg->cpan !~ /::perl$/i );
> 
> Seems you had an off-by-one error :)

Oops, so my decision not to reply yesterday was correct and I should
have sticked to it :)

Sorry for the noise.

Cheers,
gregor
 
-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    You're dead, Jim.  -- McCoy, "Amok Time", stardate 3372.7 





More information about the pkg-perl-maintainers mailing list