Date: Fri, 3 May 2002 05:40:04 -0700 (PDT) From: John Saunders <john@nlc.net.au> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/37498: buildworld fails due to /usr/src/lib/libc/gen/getpeereid.c Message-ID: <200205031240.g43Ce4Z73749@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/37498; it has been noted by GNATS.
From: John Saunders <john@nlc.net.au>
To: Dima Dorfman <dima@trit.org>
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 <john@nlc.net.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205031240.g43Ce4Z73749>
