From owner-freebsd-current@FreeBSD.ORG Wed Mar 8 13:53:35 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B7A616A420; Wed, 8 Mar 2006 13:53:35 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id D741C43D55; Wed, 8 Mar 2006 13:53:34 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 845E0209E; Wed, 8 Mar 2006 14:53:29 +0100 (CET) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Learn: ham X-Spam-Score: -2.4/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 71865208E; Wed, 8 Mar 2006 14:53:29 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id 610D733C8B; Wed, 8 Mar 2006 14:53:29 +0100 (CET) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Harti Brandt References: <20060308085714.L10582@beagle.kn.op.dlr.de> Date: Wed, 08 Mar 2006 14:53:28 +0100 In-Reply-To: <20060308085714.L10582@beagle.kn.op.dlr.de> (Harti Brandt's message of "Wed, 8 Mar 2006 09:02:38 +0100 (CET)") Message-ID: <86bqwh59gn.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: deischen@freebsd.org, current@freebsd.org Subject: Re: When will bsnmp stop breaking -current builds X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 13:53:35 -0000 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Harti Brandt writes: > You seem to be the only one having this problem, so this looks like > a problem on your side. Far from it. I had the same problem, and solved it by adding a NO_BSNMP knob (see attached patch). The deeper problem is that gensnmptree is a build tool, but isn't treated as such by the build system, so cross-builds and source updates from older versions are broken. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=no_bsnmp.diff Index: lib/Makefile =================================================================== RCS file: /home/ncvs/src/lib/Makefile,v retrieving revision 1.211 diff -u -r1.211 Makefile --- lib/Makefile 2 Feb 2006 10:05:39 -0000 1.211 +++ lib/Makefile 8 Mar 2006 00:02:43 -0000 @@ -25,7 +25,7 @@ SUBDIR= ${_csu} libbsm libcom_err libcrypt libkvm msun libmd libncurses \ libnetgraph libradius librpcsvc libsbuf libtacplus libutil \ ${_libypclnt} libalias libarchive ${_libatm} \ - libbegemot ${_libbluetooth} libbsnmp libbz2 libc ${_libc_r} \ + libbegemot ${_libbluetooth} ${_libbsnmp} libbz2 libc ${_libc_r} \ libcalendar libcam libcompat libdevinfo libdevstat libdisk \ libedit libexpat libfetch libform libftpio libgeom ${_libgpib} \ libgssapi ${_libio} libipsec \ @@ -57,6 +57,10 @@ _libsdp= libsdp .endif +.if !defined(NO_BSNMP) +_libbsnmp= libbsnmp +.endif + .if ${MACHINE_ARCH} == "i386" _libncp= libncp _libsmb= libsmb Index: usr.sbin/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/Makefile,v retrieving revision 1.346 diff -u -r1.346 Makefile --- usr.sbin/Makefile 27 Feb 2006 16:17:25 -0000 1.346 +++ usr.sbin/Makefile 8 Mar 2006 00:03:42 -0000 @@ -22,7 +22,7 @@ ${_boot0cfg} \ ${_boot98cfg} \ bootparamd \ - bsnmpd \ + ${_bsnmpd} \ ${_btxld} \ burncd \ cdcontrol \ @@ -225,6 +225,10 @@ _bluetooth= bluetooth .endif +.if !defined(NO_BSNMP) +_bsnmpd= bsnmpd +.endif + .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) _keyserv= keyserv .endif --=-=-=--