Bug#580189: libdbm-deep-perl: FTBFS with Perl 5.12.0: lc warning breaks tests

Niko Tyni ntyni at debian.org
Tue May 4 06:33:40 UTC 2010


Package: libdbm-deep-perl
Version: 1.0022-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.12-transition
Tags: patch

This package fails to build with perl_5.12.0-1 from experimental:

  t/01_basic.t .................... ok
  Use of uninitialized value $_ in lc at /build/niko-libdbm-deep-perl_1.0022-1-i386-4RBZoH/libdbm-deep-perl-
  1.0022/blib/lib/DBM/Deep/Storage/DBI.pm line 60.
  # Tests were run but no plan was declared and done_testing() was not seen.
  t/02_hash.t ..................... 
  Dubious, test returned 255 (wstat 65280, 0xff00)
  All 50 subtests passed 
  [...]
  
Apparently Test::More gives up because of the warning. The attached
rather hackish patch fixes the immediate problem.
-- 
Niko Tyni   ntyni at debian.org


More information about the pkg-perl-maintainers mailing list