Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 18:39:51 -0400
From:      Bjorn Nelson <o_sleep@belovedarctos.com>
To:        Bill Moran <wmoran@collaborativefusion.com>
Cc:        ports@freebsd.org
Subject:   Re: "make fetch" refuses because dependencies aren't installed?
Message-ID:  <DB8B8F19-7919-4D96-A9CF-A50425E8146F@belovedarctos.com>
In-Reply-To: <20060821170759.dcd369f0.wmoran@collaborativefusion.com>
References:  <20060821170759.dcd369f0.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill,

On Aug 21, 2006, at 5:07 PM, 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.

I ran into the same problem and ended up making a script to do  
concurrent make fetches (with a high water mark of 15 concurrent  
fetches):
http://www.onlamp.com/bsd/2006/04/13/examples/fetch_distfiles.sh

Shameless plug, but I detail setting this up on page 2 of:
http://www.onlamp.com/pub/a/bsd/2006/04/13/freebsd-build-system.html

-Bjorn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB8B8F19-7919-4D96-A9CF-A50425E8146F>