From des@md5.follo.net  Sat Sep  9 07:35:16 2000
Return-Path: <des@md5.follo.net>
Received: from md5.follo.net (isdn-09.follo.net [195.204.140.98])
	by hub.freebsd.org (Postfix) with ESMTP id 874B437B423
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Sep 2000 07:35:14 -0700 (PDT)
Received: (from des@localhost)
	by md5.follo.net (8.11.0/8.11.0) id e89EXh342945;
	Sat, 9 Sep 2000 16:33:43 +0200 (CEST)
	(envelope-from des)
Message-Id: <200009091433.e89EXh342945@md5.follo.net>
Date: Sat, 9 Sep 2000 16:33:43 +0200 (CEST)
From: des@ofug.org
Sender: des@md5.follo.net
Reply-To: des@ofug.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: 'make includes' clobbers some headers
X-Send-Pr-Version: 3.2

>Number:         21150
>Category:       misc
>Synopsis:       'make includes' clobbers some headers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 09 07:40:00 PDT 2000
>Closed-Date:    Tue Oct 3 02:37:19 PDT 2000
>Last-Modified:  Tue Oct 03 02:39:38 PDT 2000
>Originator:     Dag-Erling Smorgrav
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

src/include/Makefile rev. 1.110 or newer

>Description:

Running 'make includes' with SHARED unset or set to 'copies' clobbers 48
headers in /usr/src/include/{isofs,ufs,dev}. The 'copies' target removes
those directories entirely, and new copies of the headers must then be
installed, causing false negatives when checking dependencies for source
code that includes them.

The reason for removing the directories is allegedely to remove symlinks
placed there by the 'symlinks' target.

>How-To-Repeat:

# cd /usr/src
# make includes SHARED=copies

or

# cd /usr/src/include
# make all install SHARED=copies

>Fix:

Use find(1) to locate and remove symlinks in /usr/src/include instead of
mindlessly clobbering everything that moves and some of what doesn't.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: des 
Responsible-Changed-When: Sat Sep 9 07:45:38 PDT 2000 
Responsible-Changed-Why:  
You broke it, you fix it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21150 
State-Changed-From-To: open->feedback 
State-Changed-By: ru 
State-Changed-When: Thu Sep 14 05:12:52 PDT 2000 
State-Changed-Why:  
Do you feel comfortable with src/include/Makefile,v 1.122? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21150 
State-Changed-From-To: feedback->closed 
State-Changed-By: ru 
State-Changed-When: Tue Oct 3 02:37:19 PDT 2000 
State-Changed-Why:  
Fixed in src/include/Makefile, revisions 1.122 and 1.109.2.6. 

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