From owner-freebsd-ports Mon Mar 18 13:51:46 2002 Delivered-To: freebsd-ports@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.6]) by hub.freebsd.org (Postfix) with ESMTP id 7BD2937B402 for ; Mon, 18 Mar 2002 13:51:35 -0800 (PST) Received: from localhost (trevor@localhost) by blues.jpj.net (8.11.6/8.11.6) with ESMTP id g2ILpWG15150; Mon, 18 Mar 2002 16:51:32 -0500 (EST) Date: Mon, 18 Mar 2002 16:51:31 -0500 (EST) From: Trevor Johnson To: Wim Livens Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: sphinx-2.0.2 In-Reply-To: <20020318203524.GA58968@krijt.livens.net> Message-ID: <20020318163909.G1191-100000@blues.jpj.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 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:::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