make delete-old question (removing old binaries)

Bruce Cran bruce at cran.org.uk
Sun Apr 4 08:14:07 UTC 2010


On Saturday 03 April 2010 11:04:37 Ihsan Junaidi Ibrahim wrote:
> Hi folks,
> 
> I've rebuild my world with NO_MAIL (in src.conf) and a few other NO_
> options however I noticed that related binaries are not removed
> entirely i.e. mailwrapper when I ran make delete-old /
> delete-old-libs. I can see that the old binaries have a timestamp
> older than the binaries rebuilt by the make world process.
> 
> [anggerik:/usr/sbin]# ls -l mailwrapper
> -r-xr-xr-x  1 root  wheel  7808 Nov 21 22:31 mailwrapper
> [anggerik:/usr/sbin]# ls -l trac
> traceroute*  traceroute6*
> [anggerik:/usr/sbin]# ls -l traceroute
> -r-sr-xr-x  1 root  wheel  28240 Apr  3 08:54 traceroute
> 
> Is this simply a cosmetic issue and I can just remove those binaries
> manually or if not so, is there a special configs needed to remove
> them.
> 
> Apologize if this question has been asked before.

You should  be using WITHOUT_ versions of the options - see src.conf(5). Files 
won't be removed unless they're listed in ObsoleteFiles.inc, and it's 
typically not been kept up-to-date. This is being fixed in -CURRENT but for 
just now you can remove the binaries manually.

-- 
Bruce Cran


More information about the freebsd-questions mailing list