From owner-freebsd-ports@FreeBSD.ORG Tue Aug 22 15:03:50 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 0886516A4DA for ; Tue, 22 Aug 2006 15:03:50 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id C789E43D5E for ; Tue, 22 Aug 2006 15:03:48 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20060822150347m910085nqqe>; Tue, 22 Aug 2006 15:03:48 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.6/8.13.6) with ESMTP id k7MF3kB4012697; Tue, 22 Aug 2006 10:03:46 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.6/8.13.6/Submit) id k7MF3i5e012696; Tue, 22 Aug 2006 10:03:44 -0500 (CDT) (envelope-from brooks) Date: Tue, 22 Aug 2006 10:03:44 -0500 From: Brooks Davis To: Bill Moran Message-ID: <20060822150344.GC12125@lor.one-eyed-alien.net> References: <20060821170759.dcd369f0.wmoran@collaborativefusion.com> <20060821213022.GA3666@lor.one-eyed-alien.net> <20060822094320.a1a9f0da.wmoran@collaborativefusion.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iFRdW5/EC4oqxDHL" Content-Disposition: inline In-Reply-To: <20060822094320.a1a9f0da.wmoran@collaborativefusion.com> User-Agent: Mutt/1.5.11 Cc: Brooks Davis , 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 15:03:50 -0000 --iFRdW5/EC4oqxDHL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 22, 2006 at 09:43:20AM -0400, Bill Moran wrote: > In response to Brooks Davis : >=20 > > On Mon, Aug 21, 2006 at 05:07:59PM -0400, Bill Moran wrote: > > >=20 > > > [root@ravage /usr/ports/www/bacula-web]# make fetch > > > This port requires the Apache Module or the CGI version of PHP, but y= ou have > > > already installed a PHP port without them. > > > *** Error code 1 > > >=20 > > > 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. > > >=20 > > > 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 th= is > > > machine to fetch packages into /usr/ports/distfiles, then we can build > > > them on the secured systems. > > >=20 > > > 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. > >=20 > > 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=3Dtrue. to get > > around this. There probably should be a knob to allow fetching in this > > case. >=20 > FALSE=3Dtrue, huh? That's classic. That won't have any side-effects? It will have several including breaking make checksum, but if you just want to fetch the files it will override this particular check (and most of the others). :) > I'm no ports expert, but shouldn't this check occur _after_ fetching? Th= en, > 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. The normal IGNORE logic is to prevent you from doing anything unless you will be able to install the port. NO_IGNORE should probably turn this error off, but does not. If you really don't have any version of php installed this error should not come up at all since this is a bug. Are you sure you really don't have any version installed? There's an additional problem that the main php ports don't install mod_php by default which is annoying since 99% of the time that's the only part you care about. > I noticed that the Makefile simply says "WANT_PHP_WEB=3Dyes" which would = seem > to indicate that fixing this would fix the same problem for any number of > PHP ports. Yes, this check is in port/Mk/bsd.php.mk. -- Brooks --iFRdW5/EC4oqxDHL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE6xzQXY6L6fI4GtQRAmzEAKC5eAwsngNfH21y9VWZ+QyzIYfZcACeOVbj NbOX48aOuXJKp326fL7GItA= =hQOH -----END PGP SIGNATURE----- --iFRdW5/EC4oqxDHL--