Re: When will bsnmp stop breaking -current builds

From: Harti Brandt <hartmut.brandt_at_dlr.de>
Date: Wed, 8 Mar 2006 15:28:28 +0100 (CET)
On Wed, 8 Mar 2006, Daniel Eischen wrote:

DE>On Wed, 8 Mar 2006, Harti Brandt wrote:
DE>
DE>> On Tue, 7 Mar 2006, Daniel Eischen wrote:
DE>>
DE>> DE>We have this problem on 3 different systems.  What's going on.
DE>> DE>Can I please remove bsnmpd from the build????
DE>>
DE>> You seem to be the only one having this problem, so this looks like a
DE>> problem on your side. Generally the gensnmptree tool does not put a
DE>> reference to these functions into tree.c because the MIB variables they
DE>> are attached to are all no-access. So either you use a wrong gensnmptree
DE>> (a very old one), or there is something wrong with
DE>> contrib/bsnmp/snmpd/tree.def.
DE>
DE>The systems having the problem are running from worlds built
DE>within the last couple of weeks.  I've tried manually building
DE>tree.c from both the installed gensnmptree and the new buildworld
DE>gensnmptree (using the gensnmptree from /usr/obj/... after the
DE>world failed).  Both generate the unreferenced functions in
DE>tree.c.

That's very strange. Could you please lookup the Revisions of 
contrib/bsnmp/gensnmptree/gensnmptree.c and contrib/bsnmp/snmpd/tree.def? 
The actual revisions are:

$Begemot: bsnmp/gensnmptree/gensnmptree.c,v 1.44 2006/02/14 09:04:17 brandt_h Exp $
$Begemot: bsnmp/snmpd/tree.def,v 1.38 2004/08/06 08:47:17 brandt Exp $

DE>If I build (buildworld, without installworld) -current on a
DE>6-stable box, the build works and the generated tree.c does
DE>not have the unreferenced fuunctions.  Manually running
DE>gensnmptree from obj/.../bsnmpd/gensnmptree/gensnmptree
DE>on tree.def also does not produce a tree.c with the unreferenced
DE>functions.
DE>
DE>> Could you send me the tree.c from the object
DE>> directory (usr.sbin/bsnmpd/bsnmpd/tree.c)? Do you cross build?
DE>
DE>No, I don't cross build.  CFLAGS=-O -pipe
DE>I'll send that to you when I get back to work.

Ok.

harti
Received on Wed Mar 08 2006 - 13:28:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:53 UTC