From owner-freebsd-stable@FreeBSD.ORG Mon May 24 12:18:57 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2D5F1065672 for ; Mon, 24 May 2010 12:18:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id C9FD08FC21 for ; Mon, 24 May 2010 12:18:56 +0000 (UTC) Received: from omta24.emeryville.ca.mail.comcast.net ([76.96.30.92]) by qmta10.emeryville.ca.mail.comcast.net with comcast id MPqf1e0031zF43QAAQJxeJ; Mon, 24 May 2010 12:18:57 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta24.emeryville.ca.mail.comcast.net with comcast id MQJx1e0013S48mS8kQJxzV; Mon, 24 May 2010 12:18:57 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 2D4E79B422; Mon, 24 May 2010 05:18:56 -0700 (PDT) Date: Mon, 24 May 2010 05:18:56 -0700 From: Jeremy Chadwick To: Stefan Bethke Message-ID: <20100524121856.GA26479@icarus.home.lan> References: <323EFFEC-C17C-46AF-AF7C-281863F041C3@lassitu.de> <20100524120910.GA25613@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Stable Subject: Re: make world fails in usr.sbin/config? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 12:18:57 -0000 On Mon, May 24, 2010 at 02:12:13PM +0200, Stefan Bethke wrote: > Am 24.05.2010 um 14:09 schrieb Jeremy Chadwick: > > > On Mon, May 24, 2010 at 01:59:14PM +0200, Stefan Bethke wrote: > >> I have a feeling I screwed something up, but I can't find anything wrong locally. > >> ... > >> ===> usr.sbin/config (obj,depend,all,install) > >> /usr/obj/usr/src/tmp/usr/src/usr.sbin/config created for /usr/src/usr.sbin/config > >> yacc -d /usr/src/usr.sbin/config/config.y > >> cp y.tab.c config.c > >> lex -t /usr/src/usr.sbin/config/lang.l > lang.c > >> file2c 'char kernconfstr[] = {' ',0};' < /usr/src/usr.sbin/config/kernconf.tmpl > kernconf.c > >> rm -f .depend > >> mkdep -f .depend -a -I. -I/usr/src/usr.sbin/config -I/usr/obj/usr/src/tmp/legacy/usr/include config.c /usr/src/usr.sbin/config/main.c lang.c /usr/src/usr.sbin/config/mkmakefile.c /usr/src/usr.sbin/config/mkheaders.c /usr/src/usr.sbin/config/mkoptions.c kernconf.c > >> echo config: /usr/lib/libc.a /usr/lib/libl.a /usr/lib/libsbuf.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend > >> cc -O2 -pipe -I. -I/usr/src/usr.sbin/config -I/usr/obj/usr/src/tmp/legacy/usr/include -c config.c > >> config.c:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token > >> config.c:215: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'yyval' > >> config.c:216: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'yylval' > >> config.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token > >> /usr/src/usr.sbin/config/config.y: In function 'yyerror': > >> /usr/src/usr.sbin/config/config.y:312: error: 'yyfile' undeclared (first use in this function) > >> /usr/src/usr.sbin/config/config.y:312: error: (Each undeclared identifier is reported only once > >> /usr/src/usr.sbin/config/config.y:312: error: for each function it appears in.) > >> /usr/src/usr.sbin/config/config.y:312: error: 'yyline' undeclared (first use in this function) > > > > 1) Have you tried rm -fr /usr/obj/* prior to building world? > > /usr/obj is a fresh filesystem (zfs). > > > 2) If you already tried that, can you provide your /etc/make.conf and > > /etc/src.conf contents? > > I have no src.conf, and this is make.conf, unchanged from previous make worlds. > > # > # make world etc. > # > KERNCONF?= DIESEL > #MODULES_WITH_WORLD= true > > BOOT_PXELDR_ALWAYS_SERIAL?= true > BOOT_PXELDR_PROBE_KEYBOARD?= true > > # added by use.perl 2009-07-26 23:56:06 > PERL_VERSION=5.8.9 1) Were you using any "-j" flags during your make? If so, try without it. Sometimes these are known to cause oddities, even if occasionally. 2) Make sure your system clock is correct and isn't drifting badly. Highly recommend you use ntpdate to set the clock initially, then run ntpd at all times. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |