From owner-freebsd-bugs Fri May 3 5:40:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D415B37B41E for ; Fri, 3 May 2002 05:40:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g43Ce4Z73749; Fri, 3 May 2002 05:40:04 -0700 (PDT) (envelope-from gnats) Date: Fri, 3 May 2002 05:40:04 -0700 (PDT) Message-Id: <200205031240.g43Ce4Z73749@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: John Saunders Subject: Re: bin/37498: buildworld fails due to /usr/src/lib/libc/gen/getpeereid.c Reply-To: John Saunders Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/37498; it has been noted by GNATS. From: John Saunders To: Dima Dorfman Cc: FreeBSD-gnats-submit@FreeBSD.org, imp@village.org Subject: Re: bin/37498: buildworld fails due to /usr/src/lib/libc/gen/getpeereid.c Date: Fri, 3 May 2002 22:33:36 +1000 (EST) Just building -stable on -stable that was built on March the 2nd. Command that I use is "make update" followed by "(make buildworld >BUILD.log 2>&1 &)" from the /usr/src directory. My C options includes "-O -pipe" and my CPU options is "pentiumpro". Like I said, I just rebuilt the includes directory and the problem was fixed. Also it is obvious to see from the example I provided that the correct include path is not being specified to cc, you should see a path that starts with "/usr/obj/..." or "/usr/src/..." if the build system was making some attempt at accessing the new include files. Cheers. On Fri, 3 May 2002, Dima Dorfman wrote: > John Saunders wrote: > > >Description: > > > > When updating your system, buildworld fails due to new function in > > libc called getpeerid. The build environment doesn't include the > > correct -I options to get the new ucred.h file included. > > > > cc -O -pipe -march=pentiumpro -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DINET6 -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP -c /usr/src/lib/libc/../libc/gen/getpeereid.c -o getpeereid.o > > /usr/src/lib/libc/../libc/gen/getpeereid.c: In function `getpeereid': > > /usr/src/lib/libc/../libc/gen/getpeereid.c:41: storage size of `xuc' isn't known > > /usr/src/lib/libc/../libc/gen/getpeereid.c:46: `LOCAL_PEERCRED' undeclared (first use in this function) > > /usr/src/lib/libc/../libc/gen/getpeereid.c:46: (Each undeclared identifier is reported only once > > /usr/src/lib/libc/../libc/gen/getpeereid.c:46: for each function it appears in.) > > /usr/src/lib/libc/../libc/gen/getpeereid.c:49: `XUCRED_VERSION' undeclared (first use in this function) > > If you're using buildworld, I think the right include path should be > set up for you. Since you say you are indeed using buildworld, I'm > not sure what's going on, but since you're the only one to report this > build failure, you must be doing something different from everyone > else building -stable on -stable. Unforunately, I don't know enough > about the buld process to know what that is. > > Is there anything particular about your environment that might be > causing this? It looks like you're just building a new -stable on a > pretty recent -stable; many people have done this successfully (or > they've all been unusually silent since March 9th). > -- +------------------------------------------------------------+ . | John Saunders - mailto:john@nlc.net.au (EMail) | ,--_|\ | - http://www.nlc.net.au/ (WWW) | / Oz \ | - 1300-720-122 or 04-1822-3814 (Phone) | \_,--\_/ | NORTHLINK COMMUNICATIONS P/L - Supplying a professional, | v | and above all friendly, internet connection service. | +------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message