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

gregor herrmann gregoa at debian.org
Sat Jun 4 22:42:40 UTC 2016


Control: tag -1 + patch

On Thu, 26 May 2016 23:35:55 +0300, Niko Tyni wrote:

> 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
> 

This is also https://rt.cpan.org/Public/Bug/Display.html?id=106756
(already forwarded) which points to a patch:
http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/BioPerl-1.006924-RT106756.patch

I haven't tested it but it is more than trivial :)


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Diana Krall: Isn't This A Lovely Day
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160605/d5f467f8/attachment-0001.sig>


More information about the Debian-med-packaging mailing list