From owner-freebsd-stable@FreeBSD.ORG Tue Sep 2 19:26:45 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E23C01065679 for ; Tue, 2 Sep 2008 19:26:44 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [75.160.109.226]) by mx1.freebsd.org (Postfix) with ESMTP id 938288FC1C for ; Tue, 2 Sep 2008 19:26:44 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id m82JPqnd099623 for ; Tue, 2 Sep 2008 12:25:58 -0700 (PDT) (envelope-from chris#@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id m82JPqqJ099622 for freebsd-stable@freebsd.org; Tue, 2 Sep 2008 12:25:52 -0700 (PDT) (envelope-from chris#@1command.com) Received: from hitme.hitometer.net (hitme.hitometer.net [75.160.109.235]) by webmail.1command.com (H.R. Communications Messaging System) with HTTP; Tue, 02 Sep 2008 12:25:51 -0700 Message-ID: <20080902122551.jfly404kcg00o40w@webmail.1command.com> Date: Tue, 02 Sep 2008 12:25:51 -0700 From: chris#@1command.com To: freebsd-stable@freebsd.org References: <20080902104943.71ub86qsussgoo80@webmail.1command.com> <20080902190919.GE86609@server.vk2pj.dyndns.org> In-Reply-To: <20080902190919.GE86609@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: H.R. Communications Internet Messaging System (HCIMS) 4.1 Professional (not for redistribution) / FreeBSD-5.5 Subject: Re: Is it safe to delete /bin/[ && /usr/bin/false? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2008 19:26:45 -0000 Hello, and thank you for your reply. Quoting Peter Jeremy : > On 2008-Sep-02 10:49:43 -0700, chris#@1command.com wrote: >> Well, I en devoured to install a copy of 7 as an effort to upgrade >> one of our servers. After installing a few ports, I began to notice: >> [: -le: argument expected messages being emitted during the configure/make >> process. > > This probably indicates badly written configure scripts that have > things like "[ 23 -le $x ]" but don't set $x. The solution is to > write patches for the configure scripts and feed them back upstream. Bummer. > >> I've already invested a fair amount of time on this upgrade, >> and /really/ don't want to wipe the disk(s) and start all over. > > I'm not sure how this will help. Good. Perhaps you (or anyone) can suggest how I might debug /when/where/ these eval are called. I could use /usr/bin/script, but not sure how to (e)grep the culprit(s). > >> This >> issue is not new to me - see thread:[: -le: argument expected for details. > > You haven't mentioned where this thread exists - definitely not here. Ahem... Quoting Jeremy Chadwick : On Fri, Feb 01, 2008 at 10:18:14AM -0800, Chris H. wrote: I wanted to sync up my ports database before hand. So ran a portsdb -uU. ---8<---[huge snip]---8<--- Hello again Jeremy, Well, after carefully examining your reply; emptying /etc/make.conf; searching for any sign of another Apache APR, and finding none.; performing a cvsup -g -L 2 ports-supfile && portsdb -uU && pkgdb -F; which resulted in many [: -le: argument expected's, and [: -eq: argument expected's; I performed a: cd /usr/ports/lang/php5 && make extract; Yep! You guessed it, [: -le: argument expected again! Well, what was expected to be a 3 day affair, has turned into a 2 week affair. At least that's been my past experience with installing a FreeBSD server (3 days). :) Anyway, I've run out of patience (and time) debugging this issue. So I think it would be more expedient to wipe the disk and start anew. :) If I should run into this again on the new install. I guess a send-pr would be in order. Oh, and expect /alot/ of noise in the list. :) Thank you again for your continued (and valued) input. Best wishes. --Chris H [Hide Quoted Text] -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" I didn't mean to sound argumentative but the above was my last posting to the thread: [: -le: argument expected in freebsd-stable on Feb 2008. :) Thanks again for taking the time to respond. --Chris > > -- > Peter Jeremy > Please excuse any delays as the result of my ISP's inability to implement > an MTA that is either RFC2821-compliant or matches their claimed behaviour. >