From owner-freebsd-current@FreeBSD.ORG Mon Aug 9 09:31:44 2004 Return-Path: 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 05B3816A4CE; Mon, 9 Aug 2004 09:31:44 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2FFD43D1D; Mon, 9 Aug 2004 09:31:43 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Bu6VK-000PHH-KZ; Mon, 09 Aug 2004 12:31:42 +0300 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: "Michael C. Shultz" In-reply-to: Your message of Sun, 8 Aug 2004 09:16:50 -0700 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 09 Aug 2004 12:31:42 +0300 From: Danny Braniss Message-Id: <20040809093143.B2FFD43D1D@mx1.FreeBSD.org> cc: YONETANI Tomokazu cc: harti@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Need help: buildworld for CURRENT while under STABLE is not working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 09 Aug 2004 09:31:44 -0000 > On Sunday 08 August 2004 06:51 am, you wrote: > > > --Boundary-00=_yfRFBa4bKiL1gzl > > > Content-Type: text/plain; > > > charset="us-ascii" > > > Content-Transfer-Encoding: 7bit > > > Content-Disposition: inline > > > > > > I have STABLE on ad0 and a working snapshot of CURRENT on ad1, I am > > > trying to run: > > > > > > make buildworld -DDESTDIR=/ad1 while booted from STABLE and I keep > > > getting the following error: (Note: cvsup'ed just before running make > > > build world still didn't help, neither does cleaning before hand...) > > > I'll attach my make.conf in case that helps... > > > > type > > make buildworld > > then when you are ready to install: > > make installworld DESTDIR=/ad1 > > (notice no -DESTDIR ...) > > > > danny > > OK, I just tried that after cleaning the tree and Igetexaclt y the same > failure: > > ===> usr.sbin/bsnmpd/gensnmptree > /usr/obj/ad1/usr/src/i386/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree created > for /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree > rm -f .depend > mkdep -f .depend -a > -I/ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/lib > -I/usr/obj/ad1/usr/src/i386/legacy/usr/include /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c > /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree/../../../contrib/bsnmp/gensnmptree/gensnmptree.c:66: > stdint.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /ad1/usr/src/usr.sbin/bsnmpd/gensnmptree. > *** Error code 1 > > Stop in /ad1/usr/src. > *** Error code 1 > > Stop in /ad1/usr/src. > *** Error code 1 > > Stop in /ad1/usr/src. > > Now here are the locations of stdint.h on my system: > [mike]/ad1/usr/src>locate stdint.h > /ad1/usr/include/machine/_stdint.h > /ad1/usr/include/stdint.h > /ad1/usr/include/sys/stdint.h > /ad1/usr/src/sys/alpha/include/_stdint.h > /ad1/usr/src/sys/amd64/include/_stdint.h > /ad1/usr/src/sys/arm/include/_stdint.h > /ad1/usr/src/sys/i386/include/_stdint.h > /ad1/usr/src/sys/ia64/include/_stdint.h > /ad1/usr/src/sys/powerpc/include/_stdint.h > /ad1/usr/src/sys/sparc64/include/_stdint.h > /ad1/usr/src/sys/sys/stdint.h > [mike]/ad1/usr/src> > > It wants to pull from /usr/include. I tested this by putting a soft link > from /usr/include/stdint.h to /ad1/usr/include/stdint.h and it got past that > one error to only error on another header file. It is my understanding that > only header files from under (in my case)/ad1/usr/src should be needed to > compile the world correct? > > -Mike after my last cvsupdate, now im also suffering from this :-(, the problem is indeed in /usr/src/usr.sbin/bsnmpd/gensnmptree/gensnmptree.c, i simply removed the offending include and now it's at least cross compiling. danny