Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jan 2009 11:39:28 +0100
From:      =?ISO-8859-1?Q?Mattias_Bj=F6rk?= <mattias.bjork@sydnet.net>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Make world builderror on 7.1-BETA2 with latest cvsup
Message-ID:  <496091E0.1070908@sydnet.net>
In-Reply-To: <7d6fde3d0901030249g6535a3bbsceae3a8949a0a536@mail.gmail.com>
References:  <495D88B9.6060408@sydnet.net>	 <2D7731A8-9AAC-4F8C-B3A0-01DFBC84E407@gmail.com>	 <495E706E.40904@sydnet.net> <7d6fde3d0901030249g6535a3bbsceae3a8949a0a536@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello again,


Garrett Cooper wrote:
> On Fri, Jan 2, 2009 at 11:52 AM, Mattias Björk <mattias.bjork@sydnet.net> 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 <mattias.bjork@sydnet.net> 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 :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496091E0.1070908>