Re: Unable to build world since early June

From: Eirik Oeverby <ltning_at_anduin.net>
Date: Mon, 13 Sep 2004 11:02:38 +0200
Ruslan Ermilov wrote:
> 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.
> 

This is the error I get when I do a 'make' from /usr/src/lib/libc. The 
'make buildworld' from /usr/src (which is what I did at first, but it 
hides many of the error messages, therefore I tried 'make' in lib/libc). 
The exact output of 'make buildworld' (from the time of the error) is:

cc -fpic -DPIC -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 crypt_xdr.c -o crypt_xdr.So
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 nslexer.c
cc -fpic -DPIC -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 nslexer.c -o nslexer.So
/dev/stdout: In function `_nsyylex':
/dev/stdout:711: warning: label `find_rule' defined but not used
/usr/src/lib/libc/net/nslexer.l: At top level:
/dev/stdout:1678: warning: 'yy_flex_realloc' defined but not used
*** Error code 1
/dev/stdout: In function `_nsyylex':
/dev/stdout:711: warning: label `find_rule' defined but not used
/usr/src/lib/libc/net/nslexer.l: At top level:
/dev/stdout:1678: warning: 'yy_flex_realloc' defined but not used
*** Error code 1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error

As to which stage this is I don't know - it has been building for quite 
a while when this happens. I'm running another buildworld now, dumping 
the output to files. Let me know if you need these.

My make.conf looks like this:

# -- use.perl generated deltas -- #
# Created: Tue Jun 15 19:14:25 2004
# Setting to use base perl from ports:
PERL_VER=5.8.4
PERL_VERSION=5.8.4
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

# Enable 'make update' in /usr/src and /usr/ports
SUP_UPDATE=     yes
SUP=            /usr/local/bin/cvsup
SUPFLAGS=       -g -L 2
SUPHOST=        cvsup.de.FreeBSD.org
#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
SUPFILE=        /usr/share/examples/cvsup/stable-supfile
PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile


So far that's what I've got for you.

Thanks,
/Eirik

> 
>>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,
Received on Mon Sep 13 2004 - 07:02:00 UTC

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