Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2000 16:33:43 +0200 (CEST)
From:      des@ofug.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/21150: 'make includes' clobbers some headers
Message-ID:  <200009091433.e89EXh342945@md5.follo.net>

next in thread | raw e-mail | index | archive | help

>Number:         21150
>Category:       misc
>Synopsis:       'make includes' clobbers some headers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 09 07:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009091433.e89EXh342945>