From nobody@FreeBSD.org  Tue May 27 11:11:09 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 957E8106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2008 11:11:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 851D48FC27
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2008 11:11:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4RB9XNZ049153
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 May 2008 11:09:33 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m4RB9XAH049152;
	Tue, 27 May 2008 11:09:33 GMT
	(envelope-from nobody)
Message-Id: <200805271109.m4RB9XAH049152@www.freebsd.org>
Date: Tue, 27 May 2008 11:09:33 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 'cd .../usr.bin && make clean' fails
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         124028
>Category:       misc
>Synopsis:       [build] 'cd .../usr.bin && make clean' fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 11:20:01 UTC 2008
>Closed-Date:    Tue Jun 10 07:47:15 UTC 2008
>Last-Modified:  Sun Feb 03 22:27:37 UTC 2013
>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@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@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:
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Tue May 27 13:50:40 UTC 2008 
State-Changed-Why:  
Unable to reproduce 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124028 

From: Kris Kennaway <kris@FreeBSD.org>
To: Garrett Cooper <yaneurabeya@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/124028: 'cd .../usr.bin && make clean' fails
Date: Tue, 27 May 2008 15:50:29 +0200

 Garrett Cooper wrote:
 > I've continually resynced my tree via cvs(1) and I'm coming across the following issue:
 > 
 > [root@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@optimus /devel/ncvs/src/usr.bin]# pwd
 > /devel/ncvs/src/usr.bin
 
 Again, I am unable to reproduce:
 
 # make -d v -d f clean 2>&1 | grep "Malformed"
 # pwd
 /usr/src/usr.bin
 
 > By the way, usr.bin/tip is busted in HEAD.
 
 Please explain what you mean by "busted".  I think the explanation for 
 both of your problems is likely to be that your cvs tree is not, in 
 fact, synchronized.
 
 Kris
 

From: "Garrett Cooper" <gcooper@FreeBSD.org>
To: kris@freebsd.org
Cc: bug-followup@freebsd.org
Subject: Re: misc/124028: 'cd .../usr.bin && make clean' fails
Date: Tue, 27 May 2008 16:36:22 -0700

 ------=_Part_19684_27233228.1211931382293
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 On Tue, May 27, 2008 at 6:50 AM, <kris@freebsd.org> wrote:
 
 > Synopsis: 'cd .../usr.bin && make clean' fails
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: kris
 > State-Changed-When: Tue May 27 13:50:40 UTC 2008
 > State-Changed-Why:
 > Unable to reproduce
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=124028
 >
 
 make clean failed with some sort of make error early this morning... I'll
 dig up the error when I get back hoe and post it in a reply.
 
 Have you tried running make clean out of some other directory other than
 /usr/src, in particular with a cvsup/csup'ed directory that ISN'T compatible
 / out of sync with a CVS directory sitting elsewhere?
 
 Someone also may have fixed the issue between when I originally posted the
 PR and now, or it may not have been included in the anoncvs1 sync that
 occurred earlier...
 
 Thanks,
 -Garrett
 
 ------=_Part_19684_27233228.1211931382293
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 On Tue, May 27, 2008 at 6:50 AM,  &lt;<a href="mailto:kris@freebsd.org">kris@freebsd.org</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 <div class="Ih2E3d">Synopsis: &#39;cd .../usr.bin &amp;&amp; make clean&#39; fails<br>
 <br>
 </div>State-Changed-From-To: open-&gt;feedback<br>
 State-Changed-By: kris<br>
 State-Changed-When: Tue May 27 13:50:40 UTC 2008<br>
 State-Changed-Why:<br>
 Unable to reproduce<br>
 <div><div></div><div class="Wj3C7c"><br>
 <a href="http://www.freebsd.org/cgi/query-pr.cgi?pr=124028" target="_blank">http://www.freebsd.org/cgi/query-pr.cgi?pr=124028</a><br>
 </div></div></blockquote></div><br>make clean failed with some sort of make error early this morning... I&#39;ll dig up the error when I get back hoe and post it in a reply.<br><br>Have you tried running make clean out of some other directory other than /usr/src, in particular with a cvsup/csup&#39;ed directory that ISN&#39;T compatible / out of sync with a CVS directory sitting elsewhere?<br>
 <br>Someone also may have fixed the issue between when I originally posted the PR and now, or it may not have been included in the anoncvs1 sync that occurred earlier...<br><br>Thanks,<br>-Garrett<br>
 
 ------=_Part_19684_27233228.1211931382293--

From: Kris Kennaway <kris@FreeBSD.org>
To: Garrett Cooper <yaneurabeya@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: misc/124028: 'cd .../usr.bin && make clean' fails
Date: Wed, 28 May 2008 01:58:58 +0200

 Garrett Cooper wrote:
 > On Tue, May 27, 2008 at 6:50 AM, <kris@freebsd.org 
 > <mailto:kris@freebsd.org>> wrote:
 > 
 >     Synopsis: 'cd .../usr.bin && make clean' fails
 > 
 >     State-Changed-From-To: open->feedback
 >     State-Changed-By: kris
 >     State-Changed-When: Tue May 27 13:50:40 UTC 2008
 >     State-Changed-Why:
 >     Unable to reproduce
 > 
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=124028
 > 
 > 
 > make clean failed with some sort of make error early this morning... 
 > I'll dig up the error when I get back hoe and post it in a reply.
 > 
 > Have you tried running make clean out of some other directory other than 
 > /usr/src, in particular with a cvsup/csup'ed directory that ISN'T 
 > compatible / out of sync with a CVS directory sitting elsewhere?
 
 I don't know what you mean by this.  I tried your instructions from your 
 PR and they worked as expected.
 
 > Someone also may have fixed the issue between when I originally posted 
 > the PR and now, or it may not have been included in the anoncvs1 sync 
 > that occurred earlier...
 
 In general we don't encourage users to file PRs based on build breakage, 
 because it's usually transient and is fixed within minutes/hours.
 
 Kris

From: "Garrett Cooper" <yanefbsd@gmail.com>
To: bug-followup@FreeBSD.org, gcooper@FreeBSD.org
Cc:  
Subject: Re: misc/124028: [build] 'cd .../usr.bin &amp;&amp; make clean' fails
Date: Mon, 9 Jun 2008 23:43:22 -0700

 This no longer occurs after properly syncing the /usr/src tree with
 csup. I believe the issue was out of sync files in both the /devel cvs
 tree and possibly my /usr/src tree, probably at fault because of the
 cvs issues that were being experienced 2-3 weeks ago until the
 clear-up and transition over to svn recently. However, it appears to
 be corrected now.
 
 Feel free to close this bug please.
 
 -Garrett
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jun 10 07:46:53 UTC 2008 
State-Changed-Why:  
Issue now believed to have been an out-of-sync repo. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124028 
>Unformatted:
