Bug#809092: libnet-inet6glue-perl: warns on usage with Perl 5.22

Niko Tyni ntyni at debian.org
Thu Jan 14 20:58:31 UTC 2016


On Wed, Dec 30, 2015 at 09:41:23PM +0200, Niko Tyni wrote:
> On Sun, Dec 27, 2015 at 01:06:00PM +0200, Niko Tyni wrote:
> > Package: libnet-inet6glue-perl
> > Version: 0.603-1
> > User: debian-perl at lists.debian.org
> > Usertags: autopkgtest perl-5.22-transition
> > 
> > This package now warns on usage:
> > 
> >  % perl -we 'use Net::INET6Glue'
> >  Not tested with Net::FTP version 3.05 at /usr/share/perl5/Net/INET6Glue/FTP.pm line 15.
> >  somebody else already implements FTP IPv6 support - skipping Net::INET6Glue::FTP
> 
> Upstream seems to consider this a feature, and has rejected
>  https://rt.cpan.org/Public/Bug/Display.html?id=110677
> 
> with
> 
> >> The goal of Net::INET6Glue::FTP is to provide IPv6 support for older
> >> versions of Net::FTP which don't have this support native. Since IPV6
> >> support was added for Net::FTP with versions 3.x Net::INET6Glue::FTP is
> >> no longer needed and this is was this message is about.
> 
> I think I'm going to fix this by removing the 'use Net::INET6Glue::FTP'
> call from Net::INET6Glue, and adding a dependency on perl (>= 5.21.5).
> I'm also considering removing Net::INET6Glue::FTP from the binary package
> altogether, but I suppose that's not really necessary.

I proposed this upstream and got this:

   The documentation for Net::INET6Glue states that using this module
   will include all submodules, so patching Net::INET6Glue would make the
   module behave different to what originally was intended. If you only
   want INET_is_INET6 then you should include Net::INET6Glue::INET_is_INET6
   only and not Net::INET6Glue. 
   
   The warning is there because these modules
   are just an ugly hack to make older modules aware of IPv6 and the hack
   should be removed as soon one uses a module with native support for IPv6.

My motivation for touching anything here is quite low, but it would be
nice to get the autopkgtest suite to pass. I see four reverse dependencies:
  debmirror
  fex-utils
  ikiwiki-hosting-web
  ikiwiki

ikiwiki and fex-utils only use Net::INET6Glue::INET_is_INET6 so that's fine.

ikiwiki-hosting-web seems not to use it at all; #811021 filed.

debmirror is the only package that probably uses it for Net::FTP; #811020
filed.

I'm going to close this bug by disabling the use.t check for the
Net::INET6Glue and Net::INET6Glue::FTP.
-- 
Niko Tyni   ntyni at debian.org




More information about the pkg-perl-maintainers mailing list