Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2011 06:07:51 GMT
From:      Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/163690: FreeBSD 10.0-CURRENT/amd64: Set WITH_BIND_LIBS=YES does even allow "make delete-old-files" to delete headers and libraries 
Message-ID:  <201112290607.pBT67pqr089620@red.freebsd.org>
Resent-Message-ID: <201112290610.pBT6ADN5018205@freefall.freebsd.org>

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

>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.
 
 
 
 



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