From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 21 20:10:18 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 348EB16A41F for ; Sat, 21 Jan 2006 20:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42CA043D5D for ; Sat, 21 Jan 2006 20:10:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0LKAAM7037429 for ; Sat, 21 Jan 2006 20:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0LKAAjI037428; Sat, 21 Jan 2006 20:10:10 GMT (envelope-from gnats) Resent-Date: Sat, 21 Jan 2006 20:10:10 GMT Resent-Message-Id: <200601212010.k0LKAAjI037428@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, Martin Jackson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D457616A41F for ; Sat, 21 Jan 2006 20:07:14 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D79343D48 for ; Sat, 21 Jan 2006 20:07:14 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0LK7E9g086477 for ; Sat, 21 Jan 2006 20:07:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k0LK7Efu086476; Sat, 21 Jan 2006 20:07:14 GMT (envelope-from nobody) Message-Id: <200601212007.k0LK7Efu086476@www.freebsd.org> Date: Sat, 21 Jan 2006 20:07:14 GMT From: Martin Jackson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/92109: py24-yapsnmp: python module fails to load X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2006 20:10:18 -0000 >Number: 92109 >Category: ports >Synopsis: py24-yapsnmp: python module fails to load >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 21 20:10:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Martin Jackson >Release: 6.0-RELEASE-p1 >Organization: >Environment: FreeBSD glamdring.minas.tirith 6.0-RELEASE-p1 FreeBSD 6.0-RELEASE-p1 #1: Sun Dec 25 22:27:11 CST 2005 root@glamdring.minas.tirith:/usr/obj/usr/src/sys/SERVER i386 >Description: [glamdring] ~# python Python 2.4.2 (#2, Nov 27 2005, 11:17:01) [GCC 3.4.4 [FreeBSD] 20050518] on freebsd6 Type "help", "copyright", "credits" or "license" for more information. >How-To-Repeat: python: import yapsnmp >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: >>> import yapsnmp Traceback (most recent call last): File "", line 1, in ? File "/usr/local/lib/python2.4/site-packages/yapsnmp.py", line 13, in ? import netsnmp, socket, string File "/usr/local/lib/python2.4/site-packages/netsnmp.py", line 4, in ? import _netsnmp ImportError: /usr/local/lib/python2.4/site-packages/_netsnmp.so: Undefined symbol "snmp_get_fd_for_session" SWIG complains a bit during the build phase: swig -python -shadow -I/usr/local/include/net-snmp/library net-snmp.i /usr/local/include/net-snmp/library/snmp.h:309: Warning(305): Bad constant value (ignored). /usr/local/include/net-snmp/library/snmp.h:310: Warning(305): Bad constant value (ignored). /usr/local/include/net-snmp/library/snmp.h:311: Warning(305): Bad constant value (ignored). /usr/local/include/net-snmp/library/snmp.h:312: Warning(305): Bad constant value (ignored). /usr/local/include/net-snmp/library/snmp.h:313: Warning(305): Bad constant value (ignored). mib.h:37: Warning(305): Bad constant value (ignored). net-snmp.i:38: Warning(113): %addmethods is now %extend net-snmp.i:61: Warning(113): %addmethods is now %extend net-snmp.i:125: Warning(119): %typemap(ignore) has been replaced by %typemap(in,numinputs=0). net-snmp.i:129: Warning(450): Deprecated typemap feature ($source/$target). net-snmp.i:129: Warning(450): The use of $source and $target in a typemap declaration is deprecated. For typemaps related to argument input (in,ignore,default,arginit,check), replace $source by $input and $target by $1. For typemaps related to return values (out, argout,ret,except), replace $source by $1 and $target by $result. See the file Doc/Manual/Typemaps.html for complete details. net-snmp.i:133: Warning(450): Deprecated typemap feature ($source/$target). net-snmp.i:151: Warning(450): Deprecated typemap feature ($source/$target). I'm using net-snmp-5.2.2 (from ports), python-2.4.2 (from ports), and swig-1.3.27 (from ports).