From sheldonh@sleepless.iafrica.com  Mon Aug 25 07:05:59 1997
Received: from sleepless.iafrica.com (sleepless.iafrica.com [196.31.1.168])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA12704
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Aug 1997 07:05:54 -0700 (PDT)
Received: (from sheldonh@localhost)
	by sleepless.iafrica.com (8.8.5/8.8.5) id QAA15314;
	Mon, 25 Aug 1997 16:06:20 +0200 (SAT)
Message-Id: <199708251406.QAA15314@sleepless.iafrica.com>
Date: Mon, 25 Aug 1997 16:06:20 +0200 (SAT)
From: Sheldon Hearn <sheldonh@sleepless.iafrica.com>
Reply-To: sheldonh@sleepless.iafrica.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Make world breaks in sbin/ifconfig
X-Send-Pr-Version: 3.2

>Number:         4379
>Category:       bin
>Synopsis:       Make world breaks in sbin/ifconfig
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 25 07:10:01 PDT 1997
>Closed-Date:    Sun Oct 12 14:18:53 MEST 1997
>Last-Modified:  Sun Oct 12 14:19:20 MEST 1997
>Originator:     Sheldon Hearn
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
NYFB
>Environment:

2.2.2-release machine with freshly CVSUP'ed 2.2-STABLE sources.

>Description:

Make world breaks in sbin/ifconfig as certain files are not installed
prior to build. Dependancies are broken.

>How-To-Repeat:

1) Load 2.2.2
2) CVSUP latest sources on RELENG_2_2 branch
3) Make world

>Fix:

cd ${SRC}/sbin/ifconfig and apply the following patch:
	
--- Makefile.ORIG	Mon Aug 25 15:54:01 1997
+++ Makefile	Mon Aug 25 15:52:03 1997
@@ -6,7 +6,7 @@
 
 #comment out to exclude SIOC[GS]IFMEDIA support
 SRCS+=	ifmedia.c
-CFLAGS+=-DUSE_IF_MEDIA
+CFLAGS+=-DUSE_IF_MEDIA -I${.CURDIR}/../../sys
 
 MAN8=	ifconfig.8
 DPADD=	${LIBIPX}

>Release-Note:
>Audit-Trail:

From: j@uriah.heep.sax.de (J Wunsch)
To: sheldonh@sleepless.iafrica.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/4379: Make world breaks in sbin/ifconfig
Date: Sun, 12 Oct 1997 12:01:31 +0200

 As Sheldon Hearn wrote:
 
 > Make world breaks in sbin/ifconfig as certain files are not installed
 > prior to build. Dependancies are broken.
 > 
 > >How-To-Repeat:
 > 
 > 1) Load 2.2.2
 > 2) CVSUP latest sources on RELENG_2_2 branch
 > 3) Make world
 
 Well, i don't have the resources to try the above right now, but i'm
 wondering why and where this happens?  I've examined the Makefile, and
 can't seem to find why ifconfig should be attempted to build before
 the new .h files are in place.  It's none of the bootstrap tools that
 are built before.
 
 Can you confirm this would still happen?
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Oct 12 14:18:53 MEST 1997 
State-Changed-Why:  

I can't seem to find a bug right there, and Wolfgang also reports 
success. 
>Unformatted:
