From owner-freebsd-stable@FreeBSD.ORG Fri May 7 19:43:02 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3F301065670 for ; Fri, 7 May 2010 19:43:02 +0000 (UTC) (envelope-from steinex@nognu.de) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7AF8FC1C for ; Fri, 7 May 2010 19:43:02 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so20019fge.13 for ; Fri, 07 May 2010 12:42:56 -0700 (PDT) Received: by 10.86.6.37 with SMTP id 37mr4679330fgf.7.1273261376623; Fri, 07 May 2010 12:42:56 -0700 (PDT) Received: from haydn.nognu.de (haydn.nognu.de [81.169.170.112]) by mx.google.com with ESMTPS id 1sm4889324fks.24.2010.05.07.12.42.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 May 2010 12:42:56 -0700 (PDT) Date: Fri, 7 May 2010 21:42:54 +0200 From: Frank Steinborn To: Jeremy Chadwick Message-ID: <20100507194254.GB46463@haydn.nognu.de> References: <20100507182801.GA46463@haydn.nognu.de> <20100507192924.GB62650@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20100507192924.GB62650@icarus.home.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: Regression in PORTS_MODULES (make.conf)? 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: Fri, 07 May 2010 19:43:02 -0000 Jeremy Chadwick wrote: > On Fri, May 07, 2010 at 08:28:01PM +0200, Frank Steinborn wrote: > > Hello, > >=20 > > I have the following in /etc/make.conf: > >=20 > > PORTS_MODULES=3D sysutils/fusefs-kmod \ > > emulators/virtualbox-ose-kmod > >=20 > > On buildworld, it claims: > >=20 > > env: ruby: not found=20 > >=20 > > However, ruby is installed and in PATH. I've seen a similar issue > > lately but wasn't sure if it's just a problem in my configuration. > >=20 > > Do you think this is PR-worthy? >=20 > I'm not familiar with the above make.conf variable (I'm sure others > are), but the "env" error you see is likely because the underlying > sub-shell that's spawned is /bin/sh, and the default PATH for that shell > probably doesn't include /usr/local/bin. >=20 > I'm also unsure what ruby has to do with buildworld. (I don't see > anything relevant in /usr/share/mk or /usr/src). Thanks for your reply. PORTS_MODULES is a list of ports you wish to rebuild every time the kernel is build (so it happened on 'make kernel' BTW, not buildworld - my bad). ruby has nothing to do with it, but it's needed by the sysutils/fusefs-kmod port it seems. It may be a PATH-issue but I think it should include /usr/local/bin then again, because I definitely remember it to work (but that really was years ago). Otherwise that option would be useless. Thanks, Frank