single (debug) binaries from base source tree install fails (/usr/bin/true)

Gary Jennejohn gary.jennejohn at freenet.de
Fri Jan 22 10:33:25 UTC 2010


On Fri, 22 Jan 2010 09:09:58 +0100
Harald Schmalzbauer <h.schmalzbauer at omnilan.de> wrote:

> I try to install a DEBUG_FLAGS=-g version of top since it core dumps on 
> my 8.0-RELEASE box.
> Compiling works with warnings, but installing fails with superfluous 
> "/usr/bin/true" after install:
> 
> install /usr/bin/true -o root -g wheel -m 555   top /usr/bin
> install: -o: No such file or director
> 
> Can someone please tell me how to correctly replace single binaries in 
> the base system with debug versions?
> 

Simply overwrite it with the binary from /usr/obj//usr/src/usr.bin/top.
top is not schg (see chflgas(1)), so this will work.

---
Gary Jennejohn


More information about the freebsd-current mailing list