Date: Tue, 22 Aug 2006 10:03:44 -0500 From: Brooks Davis <brooks@one-eyed-alien.net> To: Bill Moran <wmoran@collaborativefusion.com> Cc: Brooks Davis <brooks@one-eyed-alien.net>, ports@freebsd.org Subject: Re: "make fetch" refuses because dependencies aren't installed? Message-ID: <20060822150344.GC12125@lor.one-eyed-alien.net> In-Reply-To: <20060822094320.a1a9f0da.wmoran@collaborativefusion.com> References: <20060821170759.dcd369f0.wmoran@collaborativefusion.com> <20060821213022.GA3666@lor.one-eyed-alien.net> <20060822094320.a1a9f0da.wmoran@collaborativefusion.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <brooks@one-eyed-alien.net>: >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060822150344.GC12125>