Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2009 22:26:08 +0300
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        FreeBSD <freebsd-stable@freebsd.org>
Subject:   Re: bsnmpd problems during buildworld
Message-ID:  <867i15x5in.fsf@kopusha.onet>
In-Reply-To: <49F5ED6E.6080000@ibctech.ca> (Steve Bertrand's message of "Mon\, 27 Apr 2009 13\:37\:50 -0400")
References:  <49F5ED6E.6080000@ibctech.ca>

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

On Mon, 27 Apr 2009 13:37:50 -0400 Steve Bertrand wrote:

 SB> Hi all,

 SB> I'm running into an issue during a buildworld. I noticed this problem
 SB> early last week, and also after another csup as of this morning.

 SB> I've rm'd everything in /usr/obj, but the problem persists. If anyone
 SB> could provide info on how I can avoid this, I'd appreciate it:

 SB> ===> usr.sbin/bsnmpd/modules/snmp_bridge (depend)
 SB> cat /usr/src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_tree.def |
 SB> gensnmptree -e dot1dBridge newRoot topologyChange begemotBridgeNewRoot
 SB> begemotBridgeTopologyChange begemotBridgeBaseName > bridge_oid.h
 SB> line 31: '(' expected at begin of node
 SB> context: " TruthValue ENUM (
 SB> *** Error code 1

 SB> Stop in /usr/src/usr.sbin/bsnmpd/modules/snmp_bridge.
 SB> *** Error code 1

 SB> Stop in /usr/src/usr.sbin/bsnmpd/modules.
 SB> *** Error code 1

 SB> Stop in /usr/src/usr.sbin/bsnmpd.
 SB> *** Error code 1

 SB> Stop in /usr/src/usr.sbin.
 SB> *** Error code 1

 SB> Stop in /usr/src.
 SB> *** Error code 1

 SB> Stop in /usr/src.
 SB> *** Error code 1

 SB> Stop in /usr/src.

What version of FreeBSD are you trying to build on what host version?

I see that gensnmptree from 6.2 has the problems with bridge_tree.def:

kopusha:/tmp% uname -a
FreeBSD kopusha.onet 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Mar 31 23:57:19 EEST 2008     root@kopusha.onet:/usr/obj/usr/src/sys/KOPUSHA  i386
kopusha:/tmp% cat bridge_tree.def| gensnmptree -e dot1dBridge newRoot topologyChange begemotBridgeNewRoot begemotBridgeTopologyChange begemotBridgeBaseName
line 31: '(' expected at begin of node
context: " TruthValue ENUM (

kopusha:/tmp% ident `which gensnmptree`
/usr/sbin/gensnmptree:
     $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06 dfr Exp $
     $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06 dfr Exp $
     $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter Exp $
     $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.14 2005/05/19 07:36:07 dfr Exp $

According to man this version does not support ENUM type.

gensnmptree from 6.3 works ok.

-- 
Mikolaj Golub



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