Regression in PORTS_MODULES (make.conf)?

Frank Steinborn steinex at nognu.de
Fri May 7 19:43:02 UTC 2010


Jeremy Chadwick wrote:
> On Fri, May 07, 2010 at 08:28:01PM +0200, Frank Steinborn wrote:
> > Hello,
> > 
> > I have the following in /etc/make.conf:
> > 
> > PORTS_MODULES=	sysutils/fusefs-kmod \
> > 		emulators/virtualbox-ose-kmod
> > 
> > On buildworld, it claims:
> > 
> > env: ruby: not found 
> > 
> > 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.
> > 
> > Do you think this is PR-worthy?
> 
> 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.
> 
> 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


More information about the freebsd-stable mailing list