From owner-freebsd-current@FreeBSD.ORG Mon Sep 13 09:02:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F120616A4CE for ; Mon, 13 Sep 2004 09:01:59 +0000 (GMT) Received: from anduin.net (anduin.net [212.12.46.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8206F43D48 for ; Mon, 13 Sep 2004 09:01:59 +0000 (GMT) (envelope-from ltning@anduin.net) Received: from mailnull by anduin.net with spam-scanned (Exim 4.34; FreeBSD) id 1C6mhA-000JuB-VF for current@FreeBSD.org; Mon, 13 Sep 2004 11:00:21 +0200 Received: from eirik.unicore.no ([213.225.74.166] helo=[10.0.16.10]) by anduin.net with esmtp (Exim 4.34; FreeBSD) id 1C6mh8-000JtR-TC; Mon, 13 Sep 2004 11:00:19 +0200 Message-ID: <4145622E.7040405@anduin.net> Date: Mon, 13 Sep 2004 11:02:38 +0200 From: Eirik Oeverby User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040709) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <414557C3.9020101@anduin.net> <20040913085359.GA31628@ip.net.ua> In-Reply-To: <20040913085359.GA31628@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on anduin.net X-Spam-Level: X-Spam-Status: No, hits=0.0 required=7.5 tests=none autolearn=no version=2.63 cc: current@FreeBSD.org Subject: Re: Unable to build world since early June X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 09:02:00 -0000 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,