From owner-freebsd-bugs Fri Apr 26 22:10:10 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 BAA0037B41E for ; Fri, 26 Apr 2002 22:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3R5A1V91631; Fri, 26 Apr 2002 22:10:01 -0700 (PDT) (envelope-from gnats) Received: from pacer.pakprotector.com (c19316.carlnfd1.nsw.optusnet.com.au [210.49.146.152]) by hub.freebsd.org (Postfix) with ESMTP id 7905937B419 for ; Fri, 26 Apr 2002 22:08:06 -0700 (PDT) Received: (from john@localhost) by pacer.pakprotector.com (8.11.6/8.11.6) id g3R583Y58873; Sat, 27 Apr 2002 15:08:03 +1000 (EST) (envelope-from john) Message-Id: <200204270508.g3R583Y58873@pacer.pakprotector.com> Date: Sat, 27 Apr 2002 15:08:03 +1000 (EST) From: John Saunders Reply-To: John Saunders To: FreeBSD-gnats-submit@FreeBSD.org Cc: imp@village.org X-Send-Pr-Version: 3.113 Subject: bin/37498: buildworld fails due to /usr/src/lib/libc/gen/getpeereid.c 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 >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