From owner-freebsd-bugs Sat Sep 9 7:40: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C901137B423 for ; Sat, 9 Sep 2000 07:40:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA78325; Sat, 9 Sep 2000 07:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from md5.follo.net (isdn-09.follo.net [195.204.140.98]) by hub.freebsd.org (Postfix) with ESMTP id 874B437B423 for ; 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 Reply-To: des@ofug.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/21150: 'make includes' clobbers some headers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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