ports/157278: "Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/local/lib/perl5/5.14.0/Exporter.pm line 67. at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21" error message starting spamd

Marco mbeis at xs4all.nl
Mon May 23 19:30:13 UTC 2011


>Number:         157278
>Category:       ports
>Synopsis:       "Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/local/lib/perl5/5.14.0/Exporter.pm line 67.  at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21" error message starting spamd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 23 19:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Marco
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD yokozuna.lan 8.2-STABLE FreeBSD 8.2-STABLE #5: Fri Feb 25 19:21:11 CET 2011     root at yokozuna.lan:/usr/obj/usr/src/sys/YOKOZUNA  i386
>Description:
When spamd is started it gives an error message:
..
/usr/local/etc/rc.d/sa-spamd restart
Stopping spamd.
Waiting for PIDS: 44108.
Starting spamd.
Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
 at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21
..
>How-To-Repeat:
Just restart spamd after the perl upgrade.
>Fix:
On the freebsd-ports mailing list (thread "net/sendemail" fails after updating Perl) I received a patch from Hajimu UMEMOTO. This patches the offending port /usr/ports/net/p5-IO-Socket-INET6. The error went away after the patch.

Patch attached with submission follows:

Index: Makefile
diff -u Makefile.orig Makefile
--- Makefile.orig	2010-08-10 01:17:30.000000000 +0900
+++ Makefile	2011-05-23 20:05:47.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	IO-Socket-INET6
-PORTVERSION=	2.65
+PORTVERSION=	2.67
 CATEGORIES=	net perl5 ipv6
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
Index: distinfo
diff -u distinfo.orig distinfo
--- distinfo.orig	2011-03-21 03:44:26.000000000 +0900
+++ distinfo	2011-05-23 20:06:02.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (IO-Socket-INET6-2.65.tar.gz) = 05aeeb3effaa1f9f3fa07410a5b2cfc3d07aa366327028ffa427f5c0b2bfb925
-SIZE (IO-Socket-INET6-2.65.tar.gz) = 17686
+SHA256 (IO-Socket-INET6-2.67.tar.gz) = dd90e417cbd37047b71469ec99e79fe89a3bb5103769fc9c76b3c87d8cb019b2
+SIZE (IO-Socket-INET6-2.67.tar.gz) = 18096


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list