From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 04:44:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DA901065672 for ; Thu, 17 Dec 2009 04:44:31 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 2859B8FC14 for ; Thu, 17 Dec 2009 04:44:31 +0000 (UTC) Received: (qmail 30919 invoked from network); 17 Dec 2009 04:44:30 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Dec 2009 04:44:30 -0000 Message-ID: <4B29B757.8050104@telenix.org> Date: Wed, 16 Dec 2009 23:45:11 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Glen Barber References: <7314e5020912161917s355d02c9l16c996043c753044@mail.gmail.com> <4ad871310912162027l1bfa4fd6i4b445a34b9ab5be@mail.gmail.com> In-Reply-To: <4ad871310912162027l1bfa4fd6i4b445a34b9ab5be@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kevin , freebsd-questions@freebsd.org Subject: Re: portupgrade failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 04:44:31 -0000 Glen Barber wrote: > Hi, > > On Wed, Dec 16, 2009 at 11:19 PM, Warren Block wrote: >> On Wed, 16 Dec 2009, Kevin wrote: >> >> [...] >> >>> The only other symptoms I can identify right now are related to the >>> following entries in my crontab: >>> >>> 0 2 * * 6 /usr/local/sbin/portsclean -DD >>> 0 2 * * 5 /usr/local/sbin/portsclean -C >>> >>> The e-mailed results simply say "env: ruby: No such file or >>> directory". However, these commands seem to run fine from an >>> interactive shell (while logged in). >> Paths. When there's a problem with cron it's (almost) always paths. >> portsclean is a ruby script that starts with this line: >> > > Interestingly, my homemade port rebuild script is recently broken with > similar symptoms, sans the dependencies on ruby. It's a very simple, > low-level "for i in `cat list`" type script which recently has begun > to fail repeatedly on gettext and autoconf dependencies on multiple > machines, when I specifically have them set to be upon the first ports > to build. > > More probably unrelated, but I thought I'd throw this out there just in case. > > Regards, > I don't know if it's of any help, but I had a *somewhat* similar experience, I don't know if this will help, but I'll give it to you for what it's worth: I found in my environment, I had REINPLACE_CMD defined (seemed to be a good value), so (in my shell, tcsh) I removed the REINPLACE_CMD setting with unsetenv, and the problem disappeared. Use either env or printenv to scan your environment for anything to do with sed (as REINP"LACE_CMD does) and try removing it. Oh, BTW, I can't seem to get the -l option to portupgrade to work, any help on that would also be appreciated. I didn't use -L at all.