misc/124028: 'cd .../usr.bin && make clean' fails

Garrett Cooper gcooper at FreeBSD.org
Tue May 27 11:20:01 UTC 2008


>Number:         124028
>Category:       misc
>Synopsis:       'cd .../usr.bin && make clean' fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 11:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        CURRENT
>Organization:
n/a
>Environment:
>Description:
I've continually resynced my tree via cvs(1) and I'm coming across the following issue:

[root at optimus /devel/ncvs/src/usr.bin]# make -d v -d f clean 2>&1 | grep MK_INSTALLLIB       
"Makefile", line 9: Malformed conditional (${MK_INSTALLLIB} != "no")
[root at optimus /devel/ncvs/src/usr.bin]# pwd
/devel/ncvs/src/usr.bin

bsd.own.mk defines this variable, but according to the output above, it's not being evaluated when executed from the usr.bin leaf directory...

_However_ this is properly done when executed from the top-level directory (I'm omitting the output because there is a LOT)...

By the way, usr.bin/tip is busted in HEAD.
>How-To-Repeat:
cvs up -A; cvs up -Pd; cd /path/to/ncvs_src; cd usr.bin; make clean
>Fix:
(Workaround) run make clean from top-level dir.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list