[buildd-tools-devel] Bug#808560: sbuild: Use of uninitialized value $_ in concatenation (.)

Niko Tyni ntyni at debian.org
Mon Dec 21 22:43:24 UTC 2015


Control: block 796345 with -1

On Sun, Dec 20, 2015 at 06:27:09PM -0500, John David Anglin wrote:
> Package: sbuild
> Version: 0.66.0-5
> Severity: normal
> 
> Dear Maintainer,
> 
> After upgrading perl to 5.22.1-2, sbuild fails to move .debs to the upload
> directory.  This can be seen for example in the following build log:
> https://buildd.debian.org/status/fetch.php?pkg=r-cran-ape&arch=hppa&ver=3.4-1&stamp=1450633031
> 
> We have the following errors:
> Use of uninitialized value $_ in concatenation (.) or string at /usr/share/perl5/Sbuild/Build.pm line 1918.

My preliminary findings are that a change in Perl broke the sbuild
parsing of .changes files, in lib/Sbuild/Build.pm:1865 or so.

This has different behaviour on 5.20 and 5.22:

perl -MData::Dumper -e '@a=(split( /\s+/, "foo"))[5]; print Dumper \@a'

which shows an empty array on 5.20 and an array of one undef element
on 5.22.

I'm not yet sure if this is a regression in Perl or a bugfix.
Will follow up later when I know more. Marking this as blocking
the Perl transition to testing for now.
-- 
Niko Tyni   ntyni at debian.org



More information about the Buildd-tools-devel mailing list