From nobody@FreeBSD.org  Thu Dec 29 06:07:51 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 522E8106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Dec 2011 06:07:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3B8518FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Dec 2011 06:07:51 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBT67pGc089621
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Dec 2011 06:07:51 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pBT67pqr089620;
	Thu, 29 Dec 2011 06:07:51 GMT
	(envelope-from nobody)
Message-Id: <201112290607.pBT67pqr089620@red.freebsd.org>
Date: Thu, 29 Dec 2011 06:07:51 GMT
From: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 10.0-CURRENT/amd64: Set WITH_BIND_LIBS=YES does even allow "make delete-old-files" to delete headers and libraries 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163690
>Category:       conf
>Synopsis:       FreeBSD 10.0-CURRENT/amd64: Set WITH_BIND_LIBS=YES does even allow "make delete-old-files" to delete headers and libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 29 06:10:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64 and FreeBSD 9.0-PRERELEASE/amd64
>Organization:
FU Berlin
>Environment:
>Description:
When compiling FreeBSD with setting in /etc/src.conf for BIND like

WITH_BIND_LIBS=         YES

installed header files and libraries do not get recognized as part of the system when performing 

make delete-old-[files|libs]

in /usr/src.

Even with 

WITH_BIND_LIBS=         YES

enabled and performing then "make delete-old-[files|libs]" in /usr/src gives the opportunity to delete the following header files and libraries:

>How-To-Repeat:
Make world and installword with "WITH_BIND_LIBS=YES" set in /etc/src.conf. After reboot and relying on installed libs, try doing "make delete-old-files" in /usr/src. The delete-old-script now targets the ISC headers and libraries installed by the above set option as "old" and offers them to be deleted. If someone is not aware about this bug, this could lead to buildworld malfunctions.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> Removing old files (only deletes safe to delete libs)
 remove /usr/lib/libisc.a? 
 remove /usr/lib/libisc.so? 
 remove /usr/lib/libisc_p.a? 
 remove /usr/include/isc/assertions.h? 
 remove /usr/include/isc/heap.h? 
 remove /usr/include/isc/list.h? 
 
 Those files shouldn't be treated as old files when "WITH_BIND_LIBS=         YES" is enabled in /etc/src.conf.
 
 
 
 
