Make world builderror on 7.1-BETA2 with latest cvsup

Mattias Björk mattias.bjork at sydnet.net
Mon Jan 5 02:26:31 UTC 2009


Dominik Żyła wrote:
> 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 <mattias.bjork at 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 at 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 at 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?
> 

Yes I have also done that, still no luck there.

Thanks anyway.


More information about the freebsd-stable mailing list