From nobody@FreeBSD.org  Thu Feb 14 22:16:07 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C352516A421
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Feb 2008 22:16:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id AFA8713C4E1
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Feb 2008 22:16:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1EMDlv2074908
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Feb 2008 22:13:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1EMDlq2074907;
	Thu, 14 Feb 2008 22:13:47 GMT
	(envelope-from nobody)
Message-Id: <200802142213.m1EMDlq2074907@www.freebsd.org>
Date: Thu, 14 Feb 2008 22:13:47 GMT
From: Johan Granath <nollan@phreaker.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: buildworld failes on RC2 / RC1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120679
>Category:       misc
>Synopsis:       buildworld failes on RC2 / RC1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 14 22:20:03 UTC 2008
>Closed-Date:    Fri Feb 15 06:07:06 UTC 2008
>Last-Modified:  Fri Feb 15 06:07:06 UTC 2008
>Originator:     Johan Granath
>Release:        FreeBSD 7.0 RC1
>Organization:
-
>Environment:
fbsdlap# uname -a
FreeBSD fbsdlap.opt.se 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 12:18:24 UTC 2007     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
On 'make buildworld' I got an error. This happened with src's from RELENG_7_0, and I also tried RELENG_7 - same result. Between csups I 'rm /usr/src/*'.

ERROR:

#
echo "NULL};"                                           >> gtyp-gen.h
#
echo "static const char * const lang_dir_names[] = {"   >> gtyp-gen.h
#
echo "\"c\", "                                          >> gtyp-gen.h
#
echo "\"cp\", "                                         >> gtyp-gen.h
#
echo "\"objc\", "                                               >> gtyp-gen.h
#
echo "NULL};"                                           >> gtyp-gen.h
#
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H  -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c
#
In file included from ./tm.h:4,
#
                 from /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c:24:
#
./options.h:901: error: redeclaration of enumerator 'OPT_w'
#
./options.h:899: error: previous definition of 'OPT_w' was here
#
*** Error code 1
#
 
#
Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
#
*** Error code 1
#
 
#
Stop in /usr/src.
#
*** Error code 1
#
 
#
Stop in /usr/src.
#
*** Error code 1
#
 
#
Stop in /usr/src.
#
fbsdlap# 
>How-To-Repeat:
I've repeated it by 'make buildworld' on 7.0 RC1.
>Fix:
None known.

>Release-Note:
>Audit-Trail:

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org, nollan@phreaker.net
Cc:  
Subject: Re: misc/120679: buildworld failes on RC2 / RC1
Date: Fri, 15 Feb 2008 00:20:22 +0100

 Johan,
 
 > Between csups I 'rm /usr/src/*'
 
 has that been a typo? To be extra safe, you can remove compiler output
 by using `rm -r /usr/obj/*' or `cd /usr/src; make clean'
 
 Have you done `mergemaster -p' before running `make buildworld'?
 
 You aren't cross-building, aren't you?
 
 I've checked the tinderbox output of the last few days and found nothing
 wrong in general. I suspect you're having something strange in
 /etc/make.conf?
 
 If the problem persists, please show us your /etc/make.conf or try to
 build even w/o any make.conf.
 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Fri Feb 15 02:50:53 UTC 2008 
State-Changed-Why:  
Note that submitter has been asked for feedback. 

Note that kernel compile failures should generally be posted on the 
mailing lists.  Build failures tend to get fixed very quickly due to 
the high number of developers who track the latest code, and the 
automated tinderboxes that continually run builds.  The fact that 
we're not seeing reports from the tinderboxes suggests that you have 
a local problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120679 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Feb 15 06:06:33 UTC 2008 
State-Changed-Why:  
Volker suggests that this was a local problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120679 
>Unformatted:
