Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 12:26:57 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jedgar@fxp.org
Subject:   ports/64256: [patch] irc/p5-IRC: does not work with base perl on -STABLE
Message-ID:  <200403141126.i2EBQvoZ062601@menelaos.informatik.rwth-aachen.de>
Resent-Message-ID: <200403141130.i2EBUA01060124@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         64256
>Category:       ports
>Synopsis:       [patch] irc/p5-IRC: does not work with base perl on -STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 14 03:30:10 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Mon Dec 8 15:14:27 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
p5-IRC doesn't seem to work with base-perl (5.005) on -STABLE although
CPAN claims that it should.

This breaks e.g. the nethirc-port which tries to run the test shown below.

It looks like you're supposed to simply 'use IO::Socket;' to get IO::Socket::INET
with our perl. Unluckily, I don't know how to conduct a more functional test.
>How-To-Repeat:
This is perl, version 5.005_03 built for i386-freebsd

p5-IRC@menelaos [12:20:49]> perl -MNet::IRC -e0
Can't locate IO/Socket/INET.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 57.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 57.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/Net/IRC.pm line 21.
BEGIN failed--compilation aborted.

>Fix:
The following patch-file might or might not help:

--- p5-IRC begins here ---
--- Connection.pm.orig	Sun Mar 14 12:17:39 2004
+++ Connection.pm	Sun Mar 14 12:16:30 2004
@@ -54,7 +54,7 @@
 use Net::IRC::DCC;
 use Sys::Hostname ();
 use IO::Socket;
-use IO::Socket::INET;
+# use IO::Socket::INET;
 use Symbol;
 use Carp;
 
--- p5-IRC ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403141126.i2EBQvoZ062601>