From owner-freebsd-stable@FreeBSD.ORG Sun Jan 4 10:40:43 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 6390F106564A for ; Sun, 4 Jan 2009 10:40:43 +0000 (UTC) (envelope-from mattias.bjork@sydnet.net) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8078FC08 for ; Sun, 4 Jan 2009 10:40:42 +0000 (UTC) (envelope-from mattias.bjork@sydnet.net) Received: from ironport2.bredband.com (195.54.101.122) by proxy1.bredband.net (7.3.127) id 494BF21C00382C2C for freebsd-stable@freebsd.org; Sun, 4 Jan 2009 11:40:41 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Avg1AAohYElT412MPGdsb2JhbACBa5IIAQEBAR4XCy60I4Vy Received: from c-8c5de353.649-1-64736c10.cust.bredbandsbolaget.se (HELO c210.a119.gbg.bahnhof.net) ([83.227.93.140]) by ironport2.bredband.com with SMTP; 04 Jan 2009 11:40:41 +0100 Received: (qmail 43580 invoked from network); 4 Jan 2009 10:41:09 -0000 Received: from unknown (HELO ?192.168.10.204?) (192.168.10.204) by ns.birch.se with SMTP; 4 Jan 2009 10:41:09 -0000 Message-ID: <496091E0.1070908@sydnet.net> Date: Sun, 04 Jan 2009 11:39:28 +0100 From: =?ISO-8859-1?Q?Mattias_Bj=F6rk?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: "freebsd-stable@freebsd.org" References: <495D88B9.6060408@sydnet.net> <2D7731A8-9AAC-4F8C-B3A0-01DFBC84E407@gmail.com> <495E706E.40904@sydnet.net> <7d6fde3d0901030249g6535a3bbsceae3a8949a0a536@mail.gmail.com> In-Reply-To: <7d6fde3d0901030249g6535a3bbsceae3a8949a0a536@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 10:40:43 -0000 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. Thanks so far :)