Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 13:27:48 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/176292: /usr/src: delete-old-files tries to delete usr/lib/libisc.a, usr/lib/libisc.so, /usr/lib/libisc_p.a et cetera even if WITH_BIND_LIBS= YES enabled in /etc/src.conf 
Message-ID:  <201302201327.r1KDRm8O006983@red.freebsd.org>
Resent-Message-ID: <201302201330.r1KDU02U073597@freefall.freebsd.org>

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

>Number:         176292
>Category:       misc
>Synopsis:       /usr/src: delete-old-files tries to delete usr/lib/libisc.a, usr/lib/libisc.so, /usr/lib/libisc_p.a et cetera even if WITH_BIND_LIBS= YES enabled in /etc/src.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 20 13:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64 and FreeBSD 9.1-STABLE/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Having the following parameters set in /etc/src.conf

WITH_BIND_LIBS=         YES
WITH_BIND_SIGCHASE=     YES
WITH_BIND_LARGE_FILE=   YES

results in the below shown attempt to delete libs and files when doing "make delete-old-files" in /usr/src.

Since this should be prohibited when the above knobs are set in /etc/src.conf, this is considered a bug.

root@gate [src] make delete-old-files
>How-To-Repeat:
Enable in /etc/src.conf

WITH_BIND_LIBS=         YES
WITH_BIND_SIGCHASE=     YES
WITH_BIND_LARGE_FILE=   YES

build world and restart box. The try to issue

make delete-old-files in /usr/src
>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? 



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