From owner-freebsd-stable@FreeBSD.ORG Sun Jan 4 14:25:11 2009 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 A8F6D106564A for ; Sun, 4 Jan 2009 14:25:11 +0000 (UTC) (envelope-from gavroche@gavroche.pl) Received: from mail.mercom.pl (mail.mercom.pl [195.187.153.4]) by mx1.freebsd.org (Postfix) with ESMTP id 493358FC13 for ; Sun, 4 Jan 2009 14:25:10 +0000 (UTC) (envelope-from gavroche@gavroche.pl) Received: from localhost (unknown [127.0.0.1]) by mail.mercom.pl (Postfix) with ESMTP id 954E9278836; Sun, 4 Jan 2009 15:09:25 +0100 (CET) X-Virus-Scanned: amavisd-new at mercom.pl Received: from mail.mercom.pl ([127.0.0.1]) by localhost (mail.mercom.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5ePwvtIHYobU; Sun, 4 Jan 2009 15:09:05 +0100 (CET) Received: by mail.mercom.pl (Postfix, from userid 1002) id 1D244278834; Sun, 4 Jan 2009 15:09:05 +0100 (CET) Date: Sun, 4 Jan 2009 15:09:05 +0100 From: Dominik =?iso-8859-2?Q?=AFy=B3a?= To: Mattias =?iso-8859-2?Q?Bj=F6rk?= Message-ID: <20090104140905.GA40108@mail.mercom.pl> References: <495D88B9.6060408@sydnet.net> <2D7731A8-9AAC-4F8C-B3A0-01DFBC84E407@gmail.com> <495E706E.40904@sydnet.net> <7d6fde3d0901030249g6535a3bbsceae3a8949a0a536@mail.gmail.com> <496091E0.1070908@sydnet.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <496091E0.1070908@sydnet.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "freebsd-stable@freebsd.org" Subject: Re: Make world builderror on 7.1-BETA2 with latest cvsup 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: Sun, 04 Jan 2009 14:25:12 -0000 On Sun, Jan 04, 2009 at 11:39:28AM +0100, Mattias Björk wrote: > Hello again, > > > Garrett Cooper wrote: > > On Fri, Jan 2, 2009 at 11:52 AM, Mattias Björk wrote: > >> Hello Garrett, > >> > >> > >> Sorry for top posting, but here is the attachment of the log. > >> > >> > >> Garrett Cooper wrote: > >>> On Jan 1, 2009, at 19:23, Mattias Björk wrote: > >>> > >>>> Hello everybody, > >>>> > >>>> First of all, my bad if this get sent two times. > >>>> > >>>> I have a compile error/problem when building world. > >>>> > >>>> My uname -a output is: > >>>> > >>>> FreeBSD barabolaptop 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Thu Dec 4 20:52:35 > >>>> CET 2008 root@barabolaptop:/usr/obj/usr/src/sys/BARABOLAPTOP i386 > >>>> > >>>> My make.conf looks like: > >>>> > >>>> # added by use.perl 2008-12-03 00:58:09 > >>>> PERL_VER=5.8.8 > >>>> PERL_VERSION=5.8.8 > >>>> WRKDIRPREFIX=/var/tmp > >>>> > >>>> > >>>> The options.h file in /usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/options.h > >>>> > >>>> Here are the output of options.h from pastebin: > >>>> > >>>> http://pastebin.com/m254dfedf > >>>> > >>>> > >>>> When I run "make -j1 buildworld" i get the error is as following: > >>>> > >>>> http://pastebin.com/m57738677 > >>>> > >>>> I don't know much of programming (if any), but I have tried to change > >>>> things in (remove OPT_w from both places) options.h and runned > >>>> "make -j1 -DNOCLEAN buildworld" > >>>> > >>>> But that have not solve anything of this, perhaps some can shine some > >>>> light on this or have I missed something trivial? > >>>> I can build ports and so on without any problems. > >>>> > >>>> Thank you. > >>> Not enough data. Please send a full compressed version of the log to me. > >>> Thanks! > >>> -Garrett > > > > That's really odd why the symbol was redefined. Here're the relevant > > sections of the log: > > > > c_tools/../../../../contrib/gcc/gencheck.c > > In file included from ./tm.h:4, > > from > > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c:25: > > ./options.h:901: error: redeclaration of enumerator 'OPT_w' > > ./options.h:899: error: previous definition of 'OPT_w' was here > > *** Error code 1 > > 1 error > > *** Error code 2 > > 1 error > > *** Error code 2 > > 1 error > > *** Error code 2 > > > > Looking back, I'm not sure why OPT_w is printed into the file twice. > > I wonder if you met a rare race condition where options.sh printed out > > that line twice; then again that's unlikely, given the > > reproducibility... I could be wrong however. > > Is your source tree based off of RELENG_7 and what cvsup server is it > > synced against? > > -Garrett > > > I'm using cvsup.se.freebsd.org, cvsup.dk.freebsd.org, > cvsup.no.freebsd.org I have tried to remove /usr/src/* right now and > downloaded it again but it did not help after the build. > > So I have no idea what to do from here. > > But I guess It would be solved sometime in the future. Did you clean your /usr/obj/ directory? -- Dominik ¯y³a If you want a picture of the future, imagine a boot stamping on a human face - for ever..