From owner-freebsd-ports@FreeBSD.ORG Tue Aug 22 13:43:23 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8863E16A4DD for ; Tue, 22 Aug 2006 13:43:23 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE55D43D55 for ; Tue, 22 Aug 2006 13:43:21 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Tue, 22 Aug 2006 09:43:21 -0400 id 00056417.44EB09F9.0000D35C Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 22 Aug 2006 09:36:51 -0400 Date: Tue, 22 Aug 2006 09:43:20 -0400 From: Bill Moran To: Brooks Davis Message-Id: <20060822094320.a1a9f0da.wmoran@collaborativefusion.com> In-Reply-To: <20060821213022.GA3666@lor.one-eyed-alien.net> References: <20060821170759.dcd369f0.wmoran@collaborativefusion.com> <20060821213022.GA3666@lor.one-eyed-alien.net> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: "make fetch" refuses because dependencies aren't installed? 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: Tue, 22 Aug 2006 13:43:23 -0000 In response to Brooks Davis : > On Mon, Aug 21, 2006 at 05:07:59PM -0400, Bill Moran wrote: > > > > [root@ravage /usr/ports/www/bacula-web]# make fetch > > This port requires the Apache Module or the CGI version of PHP, but you have > > already installed a PHP port without them. > > *** Error code 1 > > > > This is on a dedicated fetch/NFS server. It's not supposed to have > > mod_php installed. It would be pretty roundabout for me to install it > > just for the purpose of fetching a package. > > > > The machines that mount the ports tree via NFS shares off this do not > > have any access to the Internet for security reasons. Thus we use this > > machine to fetch packages into /usr/ports/distfiles, then we can build > > them on the secured systems. > > > > It would make life easier if "make fetch" and "make fetch-recursive" > > could ignore these kinds of dependency errors. It seems to me that > > "make fetch*" should _never_ fail because of dependencies. > > The problem here is that the PHP support code rolls it own IGNORE type > command and thus you can't easily skip it. It looks like you might be > able to get away with running "make fetch" with FALSE=true. to get > around this. There probably should be a knob to allow fetching in this > case. FALSE=true, huh? That's classic. That won't have any side-effects? I'm no ports expert, but shouldn't this check occur _after_ fetching? Then, if the make target was just to fetch, no error. If the make target was a build, then the port gets fetched, _then_ the error occurs. Which is fine since the admin will probably want to fix the problem anyway, and the download won't need repeated. I noticed that the Makefile simply says "WANT_PHP_WEB=yes" which would seem to indicate that fixing this would fix the same problem for any number of PHP ports. -- Bill Moran Collaborative Fusion Inc.