Bug 90917

Summary: 6.0-STABLE builworld fails
Product: Base System Reporter: Eugene Grosbein <ports>
Component: binAssignee: Xin LI <delphij>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Eugene Grosbein 2005-12-26 10:50:06 UTC
	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.

Fix: 

Unknown.
How-To-Repeat: 	
	Get 6.0-RC1, update sources to RELENG_6,
	insert MODULES_WITH_WORLD=yes into /etc/make.conf,
	run make buildworld.
Comment 1 edwin 2005-12-26 11:00:06 UTC
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/
Comment 2 Eugene Grosbein 2005-12-26 15:17:42 UTC
>> 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
Comment 3 edwin 2005-12-26 21:13:04 UTC
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/
Comment 4 Gleb Smirnoff freebsd_committer freebsd_triage 2005-12-27 08:49:25 UTC
Responsible Changed
From-To: freebsd-bugs->delphij

Afaik, Xin has fixed this recently. Let him close PR.
Comment 5 Eugene Grosbein 2005-12-27 14:46:45 UTC
Today I updates sources one again, got your latets patch
and buildworld has completed successfully. Please close this PR,
thank you.

Eugene Grosbein
Comment 6 Xin LI freebsd_committer freebsd_triage 2005-12-27 16:12:48 UTC
State Changed
From-To: open->closed

Submitter confirmed that sys/modules/de/Makefile,v 1.3.8.1 has fixed 
the issue.  Thanks for pointing this out!