From nobody@FreeBSD.org  Tue Jan  3 01:11:11 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8E82116A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 Jan 2006 01:11:11 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 49EB043D5D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 Jan 2006 01:11:11 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k031BA0O008752
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 3 Jan 2006 01:11:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k031BAMH008751;
	Tue, 3 Jan 2006 01:11:10 GMT
	(envelope-from nobody)
Message-Id: <200601030111.k031BAMH008751@www.freebsd.org>
Date: Tue, 3 Jan 2006 01:11:10 GMT
From: Florian Heigl <freebsd_floh@deranfangvomen.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: make buildworld netgraph/build.c failure
X-Send-Pr-Version: www-2.3

>Number:         91250
>Category:       i386
>Synopsis:       make buildworld netgraph/build.c failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 03 01:20:08 GMT 2006
>Closed-Date:    Fri Jan 13 06:07:14 GMT 2006
>Last-Modified:  Fri Jan 13 06:07:14 GMT 2006
>Originator:     Florian Heigl
>Release:        6.0-RELEASE #0
>Organization:
>Environment:
FreeBSD carryall.intern.blutmeer.de 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I cvsupped sources as of today, and tried running a make buildworld,
which will repeatedly break in libnetgraph/debug.c.
The system was installed from 6.0-RELEASE install iso and this is the first 
update for it.


error message:

===> lib/libnetgraph (all)
cc -O2 -fno-strict-aliasing -pipe  -Wsystem-headers -Werror -Wall -Wno-format-y2
k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar
ith -Wno-uninitialized -c /usr/src/lib/libnetgraph/sock.c
cc -O2 -fno-strict-aliasing -pipe  -Wsystem-headers -Werror -Wall -Wno-format-y2
k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar
ith -Wno-uninitialized -c /usr/src/lib/libnetgraph/msg.c
cc -O2 -fno-strict-aliasing -pipe  -Wsystem-headers -Werror -Wall -Wno-format-y2
k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar
ith -Wno-uninitialized -c /usr/src/lib/libnetgraph/debug.c
/usr/src/lib/libnetgraph/debug.c:161: error: `NGM_SPLIT_COOKIE' undeclared here 
(not in a function)
/usr/src/lib/libnetgraph/debug.c:161: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:161: error: (near initialization for `cookies[3
3].cookie')
/usr/src/lib/libnetgraph/debug.c:161: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:161: error: (near initialization for `cookies[3
3]')
/usr/src/lib/libnetgraph/debug.c:162: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:162: error: (near initialization for `cookies[3
4]')
/usr/src/lib/libnetgraph/debug.c:163: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:163: error: (near initialization for `cookies[3
5]')
/usr/src/lib/libnetgraph/debug.c:164: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:164: error: (near initialization for `cookies[3
6]')
/usr/src/lib/libnetgraph/debug.c:165: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:165: error: (near initialization for `cookies[3
7]')
/usr/src/lib/libnetgraph/debug.c:166: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:166: error: (near initialization for `cookies[3
8]')
/usr/src/lib/libnetgraph/debug.c:167: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:167: error: (near initialization for `cookies[3
9]')
/usr/src/lib/libnetgraph/debug.c:174: error: initializer element is not constant
/usr/src/lib/libnetgraph/debug.c:174: error: (near initialization for `cookies[4
0]')
*** Error code 1

Stop in /usr/src/lib/libnetgraph.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

>How-To-Repeat:
  unknown, but please note that there was one mail about the very same error message to the freebsd lists in
 november already (by a different person).

See http://www.nabble.com/make-buildworld-error-with-libnetgraph-p1509798.html
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Jan 13 06:05:40 UTC 2006 
State-Changed-Why:  
Please ask questions involving build failures on the appropriate mailing 
list (in this case, freebsd-stable).  They tend to get caught and fixed 
far more quickly than PRs can get handled. 

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