[Debian-med-packaging] Bug#825429: bioperl: FTBFS with Perl 5.24: Can't redeclare "my" in "my" at Bio/Tools/Alignment/Consed.pm

Niko Tyni ntyni at debian.org
Thu May 26 20:35:55 UTC 2016


Package: bioperl
Version: 1.6.924-3
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.24-transition

This package fails to build with Perl 5.24 (currently in experimental):

  #   Failed test 'use Bio::Tools::Alignment::Consed;'
  #   at t/Tools/Alignment/Consed.t line 19.
  #     Tried to use 'Bio::Tools::Alignment::Consed'.
  #     Error:  Can't redeclare "my" in "my" at Bio/Tools/Alignment/Consed.pm line 1712, at end of line
  # Compilation failed in require at t/Tools/Alignment/Consed.t line 19.
  # BEGIN failed--compilation aborted at t/Tools/Alignment/Consed.t line 19.
  # Looks like you failed 1 test of 15.
 
The corresponding line is
    my ($r_source,my $r_destination) = @_;

and it looks like Perl has become stricter about this particular error,
as documented in
 http://search.cpan.org/~rjbs/perl-5.24.0/pod/perldiag.pod#Can%27t_redeclare_%22%s%22_in_%22%s%22

-- 
Niko Tyni   ntyni at debian.org



More information about the Debian-med-packaging mailing list