Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 16:51:31 -0500 (EST)
From:      Trevor Johnson <trevor@jpj.net>
To:        Wim Livens <wim@livens.net>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: sphinx-2.0.2
Message-ID:  <20020318163909.G1191-100000@blues.jpj.net>
In-Reply-To: <20020318203524.GA58968@krijt.livens.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> On a 4.3-RELEASE system I did cvsup the ports tree yesterday (2002-03-18)
> Trying to build audio/sphinx gives following weird error:
>
> /data1/ports/audio/sphinx# make
> ===>  Extracting for sphinx-2.0.4
> >> Checksum OK for sphinx2-0.4.tar.gz.
> ===>   sphinx-2.0.4 depends on executable: gmake - found
> ===>   sphinx-2.0.4 depends on executable: libtool - found
> ===>  Patching for sphinx-2.0.4
> /data1/ports/audio/sphinx/work/sphinx2-0.4 -type f -exec /usr/bin/perl
> -pi -e  "s:<malloc.h>:<stdlib.h>:g" {} \;
> /data1/ports/audio/sphinx/work/sphinx2-0.4: permission denied
> *** Error code 126
>
> Stop in /data1/ports/audio/sphinx.
> *** Error code 1
>
> I'm not at all familiar with the ports mechanism but it's like the
> find command is defined as the empty string somewhere.
>
> I found this line in /data1/ports/Mk/bsd.port.mk:
> FIND?=              /usr/bin/find

That line looks fine.

> To see if it's not a generic ports problem I tried building some other
> ports.  No problems, but maybe they don't use find.
>
> Any hints are greatly appreciated.

My only guesses are that you've set FIND in your /etc/make.conf or in your
environment.  Try looking at that file or doing "env|grep FIND" to see.
Normally, FIND is set in neither place. If you can't, um, find the
problem, you might try adding a line

	FIND=/usr/bin/find

to /etc/make.conf.

For this particular port, you could just delete that section of the port
skeleton.  It's only important for users of -CURRENT.  However, you might
not want to waste any more time on this port, because it's broken for
another reason.  I've been meaning to either fix it or mark it broken.
-- 
Trevor Johnson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020318163909.G1191-100000>