From eugen@ws092.svzserv.kemerovo.su  Mon Dec 26 10:48:25 2005
Return-Path: <eugen@ws092.svzserv.kemerovo.su>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 70FE216A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Dec 2005 10:48:25 +0000 (GMT)
	(envelope-from eugen@ws092.svzserv.kemerovo.su)
Received: from ws092.svzserv.kemerovo.su (kost.svzserv.kemerovo.su [213.184.65.82])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ABCA943D5D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Dec 2005 10:48:24 +0000 (GMT)
	(envelope-from eugen@ws092.svzserv.kemerovo.su)
Received: from ws092.svzserv.kemerovo.su (localhost [127.0.0.1])
	by ws092.svzserv.kemerovo.su (8.13.4/8.13.4) with ESMTP id jBQAlYrN082614;
	Mon, 26 Dec 2005 17:47:34 +0700 (KRAT)
	(envelope-from eugen@ws092.svzserv.kemerovo.su)
Received: (from root@localhost)
	by ws092.svzserv.kemerovo.su (8.13.4/8.13.3/Submit) id jBQAlYSr082613;
	Mon, 26 Dec 2005 17:47:34 +0700 (KRAT)
	(envelope-from eugen)
Message-Id: <200512261047.jBQAlYSr082613@ws092.svzserv.kemerovo.su>
Date: Mon, 26 Dec 2005 17:47:34 +0700 (KRAT)
From: Eugene Grosbein <eugen@kuzbass.ru>
To: FreeBSD-gnats-submit@freebsd.org
Subject: 6.0-STABLE builworld fails
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         90917
>Category:       bin
>Synopsis:       6.0-STABLE builworld fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 26 10:50:06 GMT 2005
>Closed-Date:    Tue Dec 27 16:14:26 GMT 2005
>Last-Modified:  Tue Dec 27 16:14:26 GMT 2005
>Originator:     Eugene Grosbein
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
Svyaz Service JSC
>Environment:
System: FreeBSD ws092.svzserv.kemerovo.su 6.0-RC1 FreeBSD 6.0-RC1 #5: Mon Dec 26 11:52:51 KRAT 2005 root@ws092.svzserv.kemerovo.su:/usr/obj/usr/src/sys/TEST i386

>Description:
	Today I tried to upgrade 6.0-RC1 to 6.0-STABLE,
	updated sources using stable-supfile and ran make buildworld,
	I have MODULES_WITH_WORLD=yes in my /etc/make.conf.

	It breaks on sys/modules/de:

===> sys/modules/de (depend)
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include /usr/src/sys/modules/de/../../pci/if_de.c
/usr/src/sys/modules/de/../../pci/if_de.c:43:21: opt_ddb.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/de.
*** Error code 1

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

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

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

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

Stop in /usr/src.

	I tried to update again (got a couple of new commits) and
	ran this again. Same thing.

>How-To-Repeat:
	
	Get 6.0-RC1, update sources to RELENG_6,
	insert MODULES_WITH_WORLD=yes into /etc/make.conf,
	run make buildworld.

>Fix:

	Unknown.
>Release-Note:
>Audit-Trail:

From: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/90917: 6.0-STABLE builworld fails
Date: Mon, 26 Dec 2005 22:00:06 +1100

 On Mon, Dec 26, 2005 at 05:47:34PM +0700, Eugene Grosbein wrote:
 > mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include /usr/src/sys/modules/de/../../pci/if_de.c
 > /usr/src/sys/modules/de/../../pci/if_de.c:43:21: opt_ddb.h: No such file or directory
 
 What is the output of "grep FreeBSD /usr/src/sys/modules/de/../../pci/if_de.c" ?
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/

From: Eugene Grosbein <eugen@kuzbass.ru>
To: bug-followup@freebsd.org
Cc: Edwin Groothuis <edwin@mavetju.org>
Subject: Re: bin/90917: 6.0-STABLE builworld fails
Date: Mon, 26 Dec 2005 22:17:42 +0700

 >> mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include /usr/src/sys/modules/de/../../pci/if_de.c
 >> /usr/src/sys/modules/de/../../pci/if_de.c:43:21: opt_ddb.h: No such file or directory
  
 > What is the output of "grep FreeBSD /usr/src/sys/modules/de/../../pci/if_de.c" ?
 
 This file had commit (for RELENG_6) more than 3 weeks ago, so it should be
 $FreeBSD: /repoman/r/ncvs/src/sys/pci/if_de.c,v 1.162.2.6 2005/11/28 19:43:57 jhb Exp $
 
 I cannot check right now for sure, will check tomorrow.
 
 Eugene

From: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@freebsd.org>
Cc:  
Subject: Re: bin/90917: 6.0-STABLE builworld fails
Date: Tue, 27 Dec 2005 08:13:04 +1100

 On Mon, Dec 26, 2005 at 03:20:07PM +0000, Eugene Grosbein wrote:
 >  $FreeBSD: /repoman/r/ncvs/src/sys/pci/if_de.c,v 1.162.2.6 2005/11/28 19:43:57 jhb Exp $
 
 Also see the thread[sp] in freebsd-stable with the subject:
 6-BETA3 -> 6-STABLE: sys/modules/de: opt_ddb.h: No such file or directory
 
 "Yes, this is longstanding bug. You need to MFC rev. 1.5 of
  sys/modules/de/Makefile to unbreak standalone build of if_de.ko
 "
 
 Edwin
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/
Responsible-Changed-From-To: freebsd-bugs->delphij 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Tue Dec 27 08:49:25 UTC 2005 
Responsible-Changed-Why:  
Afaik, Xin has fixed this recently. Let him close PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90917 

From: Eugene Grosbein <eugen@kuzbass.ru>
To: bug-followup@freebsd.org
Cc: delphij@freebsd.org
Subject: Re: bin/90917: 6.0-STABLE builworld fails
Date: Tue, 27 Dec 2005 21:46:45 +0700

 Today I updates sources one again, got your latets patch
 and buildworld has completed successfully. Please close this PR,
 thank you.
 
 Eugene Grosbein
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Tue Dec 27 16:12:48 UTC 2005 
State-Changed-Why:  
Submitter confirmed that sys/modules/de/Makefile,v 1.3.8.1 has fixed 
the issue.  Thanks for pointing this out! 

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