Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2002 15:08:03 +1000 (EST)
From:      John Saunders <john@nlc.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        imp@village.org
Subject:   bin/37498: buildworld fails due to /usr/src/lib/libc/gen/getpeereid.c
Message-ID:  <200204270508.g3R583Y58873@pacer.pakprotector.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204270508.g3R583Y58873>