Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2006 15:28:28 +0100 (CET)
From:      Harti Brandt <hartmut.brandt@dlr.de>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: When will bsnmp stop breaking -current builds
Message-ID:  <20060308152441.V10582@beagle.kn.op.dlr.de>
In-Reply-To: <Pine.GSO.4.43.0603080815470.13113-100000@sea.ntplx.net>
References:  <Pine.GSO.4.43.0603080815470.13113-100000@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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