Re: Unable to build world since early June

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Mon, 13 Sep 2004 11:53:59 +0300
On Mon, Sep 13, 2004 at 10:18:11AM +0200, Eirik Oeverby wrote:
> Hi all,
> 
> I have tried - and failed - repeatedly since end of May/early June to 
> build world on my amd64 system. Since the instability issues 
> (amd64-specific and others) surfaced early June I haven't been overly 
> concerned about this, since I luckily found a 'sweet spot' of relative 
> stability back then and haven't needed to upgrade.
> 
> Now that 5.3 is getting near, though, I am trying to build world again, 
> to prepare for an upgrade. After removing /usr/obj and all subdirs of 
> /usr/src plus running a cvsup against RELENG_5 (which I assume is what I 
> need to get the latest 5-branch code), I am still unable to compile 
> world (fails in lib/libc - following is the output of a 'make' in that 
> directory):
> 
Hmm, from the output below, it looks like you're trying to just "make"
while in src/ rather than doing a full "make buildworld".  Don't do
that -- you need a new toolchain (including the compiler) to understand
a new syntax like the "__pure" keyword.  buildworld will take care of
upgrading the compiler and binutils for you, and use them to compile
the rest of the world.

If you still see an error while doing "make buildworld", please provide
me with more information, such as which stage of buildworld it breaks,
the contents of your /etc/make.conf, etc.

> cc -O -pipe  -I/usr/src/lib/libc/include 
> -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 
> -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
> -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale 
> -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP 
> -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k 
> -Wno-uninitialized -c /usr/src/lib/libc/net/getaddrinfo.c
> In file included from /usr/src/include/string.h:49,
>                  from /usr/src/lib/libc/net/getaddrinfo.c:89:
> /usr/src/include/strings.h:41: error: syntax error before "__pure"
> /usr/src/include/strings.h:50: error: syntax error before "__pure"
> /usr/src/include/strings.h:51: error: syntax error before "__pure"
> /usr/src/include/strings.h:52: error: syntax error before "__pure"
> /usr/src/include/strings.h:53: error: syntax error before "__pure"
> In file included from /usr/src/lib/libc/net/getaddrinfo.c:89:
> /usr/src/include/string.h:61: error: syntax error before "__pure"
> /usr/src/include/string.h:62: error: syntax error before "__pure"
> /usr/src/include/string.h:68: error: syntax error before "__pure"
> /usr/src/include/string.h:71: error: syntax error before "__pure"
> /usr/src/include/string.h:72: error: syntax error before "__pure"
> /usr/src/include/string.h:75: error: syntax error before "__pure"
> /usr/src/include/string.h:87: error: syntax error before "__pure"
> /usr/src/include/string.h:92: error: syntax error before "__pure"
> /usr/src/include/string.h:95: error: syntax error before "__pure"
> /usr/src/include/string.h:97: error: syntax error before "__pure"
> /usr/src/include/string.h:98: error: syntax error before "__pure"
> /usr/src/include/string.h:103: error: syntax error before "__pure"
> /usr/src/include/string.h:104: error: syntax error before "__pure"
> /usr/src/lib/libc/net/getaddrinfo.c: In function `explore_numeric_scope':
> /usr/src/lib/libc/net/getaddrinfo.c:1271: warning: implicit declaration 
> of function `strchr'
> /usr/src/lib/libc/net/getaddrinfo.c: In function `get_canonname':
> /usr/src/lib/libc/net/getaddrinfo.c:1315: warning: implicit declaration 
> of function `strlen'
> /usr/src/lib/libc/net/getaddrinfo.c: In function `getanswer':
> /usr/src/lib/libc/net/getaddrinfo.c:1790: warning: implicit declaration 
> of function `strcasecmp'
> /usr/src/lib/libc/net/getaddrinfo.c: In function `_gethtent':
> /usr/src/lib/libc/net/getaddrinfo.c:2073: warning: implicit declaration 
> of function `strpbrk'
> *** Error code 1
> 
> Stop in /usr/src/lib/libc.
> 
> 
> Anyone? Did I miss some important information? Did I forget to RTFM or 
> something?


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Mon Sep 13 2004 - 06:54:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC