Skip Menu |

This queue is for tickets about the Net-Lite-FTP CPAN distribution.

Report information
The Basics
Id: 77089
Status: resolved
Priority: 0/
Queue: Net-Lite-FTP

People
Owner: Nobody in particular
Requestors: svenjoac [...] gmx.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Subroutine Net::Lite::FTP::IP_TOS redefined
Date: Wed, 09 May 2012 18:24:04 +0200
To: bug-Net-Lite-FTP [...] rt.cpan.org
From: Sven Joachim <svenjoac [...] gmx.de>
Hi, running "perl Makefile.PL; make; make test" in Net-Lite-FTP 0.61 gives the following warning: ,---- | PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t | t/Net-Lite-FTP.t .. Subroutine Net::Lite::FTP::IP_TOS redefined at /usr/share/perl/5.14/Exporter.pm line 67. | at /home/sven/tmp/Net-Lite-FTP-0.61/blib/lib/Net/Lite/FTP.pm line 145 | Prototype mismatch: sub Net::Lite::FTP::IP_TOS: none vs () at /usr/share/perl/5.14/Exporter.pm line 67. | at /home/sven/tmp/Net-Lite-FTP-0.61/blib/lib/Net/Lite/FTP.pm line 145 `---- Apparently this causes real problems, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672236#22. Perl is version 5.14.2 as distributed in Debian unstable: ,---- | % perl -v | | This is perl 5, version 14, subversion 2 (v5.14.2) built for i486-linux-gnu-thread-multi-64int `---- Cheers, Sven
Download (untitled)
application/pgp-signature 835b

Message body not shown because it is not plain text.

I think this is resolved by importing IP_TOS from 'new' Socket, IP_TOS was defined for older system lacking this definition.