From owner-freebsd-ports@FreeBSD.ORG Mon Jan 12 20:49:05 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DA451065674 for ; Mon, 12 Jan 2009 20:49:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 127538FC23 for ; Mon, 12 Jan 2009 20:49:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n0CKn4su012238; Mon, 12 Jan 2009 13:49:04 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n0CKn3Fc012235; Mon, 12 Jan 2009 13:49:03 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 12 Jan 2009 13:49:03 -0700 (MST) From: Warren Block To: Garrett Cooper In-Reply-To: <7d6fde3d0901121214u251702a8r1b655f6eea920233@mail.gmail.com> Message-ID: References: <7d6fde3d0901121214u251702a8r1b655f6eea920233@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (wonkity.com [127.0.0.1]); Mon, 12 Jan 2009 13:49:04 -0700 (MST) Cc: ports@freebsd.org Subject: Re: Dependent ports get "does not exist" errors X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 20:49:06 -0000 On Mon, 12 Jan 2009, Garrett Cooper wrote: > On Mon, Jan 12, 2009 at 11:36 AM, Warren Block wrote: >> >> Here's the problem: ports that depend on other ports will occasionally >> install those ports and then not find them. For example, installing gimp: >> >> cd /usr/ports/graphics/gimp >> make install >> [...] >> ===> Compressing manual pages for bash-3.2.48_1 >> ===> Registering installation for bash-3.2.48_1 >> ===> Returning to build of rarian-0.8.1 >> Error: file "bash" does not exist >> *** Error code 1 >> >> Stop in /usr/ports/textproc/rarian >> [...] >> Stop in /usr/ports/graphics/gimp >> >> Doing just "make install" again will find bash and continue. > > Stale $PATH (hash -r / rehash)? It's tempting; I thought of it but disregarded it because: A) No rehash is necessary to fix it, just do "make install" again. B) Wouldn't it fail on *all* just-built dependencies instead of a few? C) I can't believe the ports scripts would use csh rather than sh. The xorg upgrade mergebase.sh was run at some point, but that doesn't seem likely either. -Warren Block * Rapid City, South Dakota USA