From owner-freebsd-current@FreeBSD.ORG Thu Apr 28 15:03:43 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7280716A4CE; Thu, 28 Apr 2005 15:03:43 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83E4943D49; Thu, 28 Apr 2005 15:03:40 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j3SF7oa1023557; Thu, 28 Apr 2005 09:07:51 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4270FA78.6030406@samsco.org> Date: Thu, 28 Apr 2005 09:00:08 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Harti Brandt References: <4270762E.3050508@chuckr.org> <20050428164808.X821@beagle.kn.op.dlr.de> In-Reply-To: <20050428164808.X821@beagle.kn.op.dlr.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: Chuck Robey cc: current Subject: Re: junk after endif X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 15:03:43 -0000 Harti Brandt wrote: > On Thu, 28 Apr 2005, Chuck Robey wrote: > > CR>in making the environment for my new sparc box, I'm building a new buildworld > CR>for the sparc, that that's giving me REAMS of useless errors about "junk at > CR>the end of the line", you know what it is from watching the error come up > CR>from cpp listings...except that these come from make, not from C code... > CR>having this come up in the situation I'm in, with zero (besides merely a > CR>KERNCONF) in the /etc/make.conf, then having this error come up so often it > CR>obscures the real listing is egregiously crazy. > CR> > CR>So, the fix falls into one of these categories: > CR> > CR>1) there is a magic incantation I don't know, and don't have time to hunt > CR>down, that kills this warning in make, and I need to know this, but that's > CR>not the fix ... the fix is (possibly) to make the default action that this is > CR>NOT a warning. > CR> > CR>2) I know that many folks like to do this to endif's, but it's an warning in > CR>C, and we should tell the folks who like it "tough" and take them out. > CR> > CR>However it's decided, to squish the warning or to squish the tags, it's > CR>unacceptable to leave those semantically useless warnings laying about, > CR>hiding real problems. > > These warnings come only if you build with a /usr/share/mk which is not > up-to-date and an up-to-date make. (It may also be that you slipped with > your sources into the small window between the two commits). > > As far as I can see this can legally happen only when building 5.4 or > earlier on a current box (I have committed the fix to /usr/share/mk in > RELENG_5, but cannot do this because this doesn't seem to fall under the > committable categories for RELENG_5_*). > > harti In general, I think that this warning is a bad idea. It (along with the NO_FOO wanrings that are also a bad idea) make it very hard to build prior releases and snapshots from 6-current. I really cannot see how this warning benefits anyone or solves a problem; all it does it create an unneccesary mess. Yes, building things like I've described here isn't "supported", but putting up needless roadblocks and making the definition of "supported" be very narrow makes using FreeBSD very hard. Please eliminate this warning, or put it under a 'pendatic' flag only. Scott