From owner-freebsd-bugs Mon Apr 29 2:52:51 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 C4EF837B427 for ; Mon, 29 Apr 2002 02:50:26 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3T9oQB16559; Mon, 29 Apr 2002 02:50:26 -0700 (PDT) (envelope-from gnats) Date: Mon, 29 Apr 2002 02:50:26 -0700 (PDT) Message-Id: <200204290950.g3T9oQB16559@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: John Saunders Subject: 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: FreeBSD-gnats-submit@FreeBSD.org Cc: imp@village.org Subject: bin/37498: buildworld fails due to /usr/src/lib/libc/gen/getpeereid.c Date: Sat, 27 Apr 2002 15:08:03 +1000 (EST) >Number: 37498 >Category: bin >Synopsis: buildworld fails due to /usr/src/lib/libc/gen/getpeereid.c >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 26 22:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: John Saunders >Release: FreeBSD 4.5-STABLE i386 >Organization: Northlink Communications Pty Ltd >Environment: System: FreeBSD pacer.pakprotector.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Mar 2 23:29:47 EST 2002 root@pacer.pakprotector.com:/usr/obj/usr/src/sys/PACER i386 Any system prior to March the 9th inclusion of getpeerid. >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) >How-To-Repeat: Try to buildworld on source that inclues getpeerid on a system that doesn't have getpeerid and >Fix: To work around this problem do a "make includes" from /usr/src before trying to buildworld. Although this problem highlights a general problem with the build system accessing out of date include files. It is likely to bite again in the future. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message