Automake CVS: load average is too high

2002-02-28 Thread Pavel Roskin

Hello!

Could anybody please check what's going on with Automake CVS?  If I'm 
using anonymous CVS (:pserver:[EMAIL PROTECTED]:/cvs/automake) it 
almost always fails:

$ cvs up
Fatal error, aborting.
load average of 25 is too high

The number varies from 15 to 25.  My guess is that there are runaway 
processes (CPU hogs) on the anoncvs.cygnus.com.  Old versions of CVS can 
create such processes on "cvs log -r," or something like that (I don't 
want to check it).

Since the CVS server doesn't reply to "cvs version", I assume it's old.

-- 
Regards,
Pavel Roskin





Re: Automake CVS: load average is too high

2002-02-28 Thread Tim Van Holder

On Thu, 2002-02-28 at 17:13, Pavel Roskin wrote:
> Hello!
> 
> Could anybody please check what's going on with Automake CVS?  If I'm 
> using anonymous CVS (:pserver:[EMAIL PROTECTED]:/cvs/automake) it 
> almost always fails:
> 
> $ cvs up
> Fatal error, aborting.
> load average of 25 is too high
> 
> The number varies from 15 to 25.  My guess is that there are runaway 
> processes (CPU hogs) on the anoncvs.cygnus.com.  Old versions of CVS can 
> create such processes on "cvs log -r," or something like that (I don't 
> want to check it).

My guess is that gcc is at fault; it turns out that anoncvs.cygnus.com
and gcc.gnu.org are one and the same machine, and gcc recently had the
3.0.4 release.  I assume many people are still connecting to get that
release.

> Since the CVS server doesn't reply to "cvs version", I assume it's old.

Indeed - it doesn't even support the -C flag to update (though I don't
know what cvs version added it).






mkinstalldirs and conditional building/installation

2002-02-28 Thread Roger Leigh

In a Makefile.am, I have the following (summary):

pkglibdir = $(cups_conf_serverbin)
cupsexec_filterdir = $(pkglibdir)/filter
if BUILD_CUPS
cupsexec_filter_PROGRAMS = rastertoprinter commandtoepson commandtocanon
endif

Thus, if --with-cups is given to configure, AM_CONDITIONAL is used to
conditionally build some programs.

The generated rule for installation in Makefile.in is this:

install-cupsexec_filterPROGRAMS: $(cupsexec_filter_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(cupsexec_filterdir)
@list='$(cupsexec_filter_PROGRAMS)'; for p in $$list; do \
  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  if test -f $$p \
 || test -f $$p1 \
  ; then \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) 
$$p $(DESTDIR)$(cupsexec_filterdir)/$$f"; \
   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p 
$(DESTDIR)$(cupsexec_filterdir)/$$f; \
  else :; fi; \
done

The installation directory $(DESTDIR)$(cupsexec_filterdir) will be
created *whether or not any program is built*!  This should be fairly
easy to correct:

$(mkinstalldirs) $(DESTDIR)$(cupsexec_filterdir)

becomes:

if test -n '$(cupsexec_filter_PROGRAMS)'; then \
  $(mkinstalldirs) $(DESTDIR)$(cupsexec_filterdir) \
fi

In the gimp-print project, due to the nature of the package, just about
every part can be compiled conditionally, because you generally only
want a driver for one printing system.  At the moment, every possible
installation directory is created, leaving unused empty directories
after installation.

I don't have a patch, but I can make one if you would like--do I just
need to update the .am files?  Is automake CVS available anonymously?

Regards,
Roger

-- 
Roger Leigh
** Registration Number: 151826, http://counter.li.org **
Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848 available on public keyservers




Re: mkinstalldirs and conditional building/installation

2002-02-28 Thread Roger Leigh

On Thu, Feb 28, 2002 at 11:38:11PM +, Roger Leigh wrote:
> Is automake CVS available anonymously?

Sorry for being lame--I found it on Savannah.

-- 
Roger Leigh
** Registration Number: 151826, http://counter.li.org **
Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848 available on public keyservers