Re: make fetch refuses because dependencies aren't installed?

2006-08-22 Thread Bill Moran
In response to Bjorn Nelson [EMAIL PROTECTED]:

 Bill,
 
 On Aug 21, 2006, at 5:07 PM, Bill Moran wrote:
 
 
  [EMAIL PROTECTED] /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

Thanks, Bjorn.  In my case, I just looked up the site/filename and
manually fetched the file into /usr/ports/distfiles.  I was more
interested in the fact that this seems to be a bug in the ports.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make fetch refuses because dependencies aren't installed?

2006-08-22 Thread Bill Moran
In response to Brooks Davis [EMAIL PROTECTED]:

 On Mon, Aug 21, 2006 at 05:07:59PM -0400, Bill Moran wrote:
  
  [EMAIL PROTECTED] /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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


make fetch refuses because dependencies aren't installed?

2006-08-21 Thread Bill Moran

[EMAIL PROTECTED] /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.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make fetch refuses because dependencies aren't installed?

2006-08-21 Thread Brooks Davis
On Mon, Aug 21, 2006 at 05:07:59PM -0400, Bill Moran wrote:
 
 [EMAIL PROTECTED] /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.

-- Brooks


pgpvJjUpD20Zj.pgp
Description: PGP signature