From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 11 18:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BFDBC3C2 for ; Sun, 11 Aug 2013 18:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9EFCA220E for ; Sun, 11 Aug 2013 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7BIe0To070432 for ; Sun, 11 Aug 2013 18:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7BIe0pK070431; Sun, 11 Aug 2013 18:40:00 GMT (envelope-from gnats) Resent-Date: Sun, 11 Aug 2013 18:40:00 GMT Resent-Message-Id: <201308111840.r7BIe0pK070431@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Darren Henderson Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5CFE03A8 for ; Sun, 11 Aug 2013 18:36:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 49E5821FE for ; Sun, 11 Aug 2013 18:36:46 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7BIakGU042409 for ; Sun, 11 Aug 2013 18:36:46 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7BIaknY042402; Sun, 11 Aug 2013 18:36:46 GMT (envelope-from nobody) Message-Id: <201308111836.r7BIaknY042402@oldred.freebsd.org> Date: Sun, 11 Aug 2013 18:36:46 GMT From: Darren Henderson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181229: p5-SNMP_Session-1.13_1 has an undefined subroutine call for pack_sockaddr_in6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 18:40:00 -0000 >Number: 181229 >Category: ports >Synopsis: p5-SNMP_Session-1.13_1 has an undefined subroutine call for pack_sockaddr_in6 >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: Sun Aug 11 18:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Darren Henderson >Release: 9.1-STABLE >Organization: >Environment: FreeBSD zzz.zzz.zzz 9.1-STABLE FreeBSD 9.1-STABLE #0 r249490: Mon Apr 15 09:57:04 EDT 2013 darren@zzz.zzz:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Portupgrade of p5-SNMP_Session to 1.13_1 yesterday resulted in failures of mrtg runs with the following: Undefined subroutine &SNMP_Session::pack_sockaddr_in6 called at /usr/loca/lib/p erl5/site_perl/5.12/SNMP_Session.pm line 150. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.12/SNMP_Se ssion.pm line 154. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.12/SNMP_util.p m line 44. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.12/SNMP_ut il.pm line 44. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.12/MRTG_lib.pm line 662. System had already moved from using the x.xx.xx to the x.xx model lib path for perl. Running perl 5.12.5 >How-To-Repeat: >Fix: Change call of pack_sockaddr_in6 in /usr/local/lib/perl5/site_perl/5.12/Session_SNMP.pm to Socket6::pack_sockaddr_in6 Patch attached with submission follows: --- SNMP_Session.pm.orig 2013-08-11 12:41:21.000000000 -0400 +++ SNMP_Session.pm 2013-08-11 14:09:24.000000000 -0400 @@ -147,7 +147,7 @@ if (eval {local $SIG{__DIE__};require Socket6;} && eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) { Socket6->import(qw(inet_pton inet_ntop getaddrinfo)); - $ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1"))); + $ipv6_addr_len = length(Socket6::pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1"))); $SNMP_Session::ipv6available = 1; } eval 'local $SIG{__DIE__};local $SIG{__WARN__};$dont_wait_flags = MSG_DONTWAIT();'; >Release-Note: >Audit-Trail: >Unformatted: