[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS 1.11 fails at multiroot-log-1 under HPUX 10.20

From: James Youngman
Subject: Re: CVS 1.11 fails at multiroot-log-1 under HPUX 10.20
Date: 22 Oct 2000 09:30:06 +0100
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3

Lenny Foner <address@hidden> writes:

> A completely normal ./configure; make; make check just failed:
>     /bin/sh ./ `pwd`/cvs
>     This test should produce no other output than this line, and a final "OK".
>     ./[22]: /usr/local/bin/expr: The parameter list is too long.
>     ./[29]: /usr/local/bin/expr: The parameter list is too long.
>     FAIL: multiroot-log-1
>     make[1]: *** [check] Error 1
>     make[1]: Leaving directory `/usr/local/src/cvs-1.11/src'
>     make: *** [check] Error 2
> This is 94% of the way through, and I assume is because my
> expr or my shell is deficient.  

This test does something broadly similar to :-

arg="some ...
... very ...
... long string ...

if test -z "$arg"
    echo "$arg" > ${TESTDIR}/dotest.tmp
    if $EXPR "`cat ${TESTDIR}/dotest.tmp`" : \
      "$arg"${ENDANCHOR} >/dev/null; then

So, the expr command is no the first usage of the very long string,
but the expr command does include a few characters more than the
actual argument.   

Sadly, the only way I can think of to make this test work on a vanilla
HPUX system is to carge up the output with sed(1) and match it in
pieces, which is nontrivial.  The only way I can think of to do this
otherwise is to make a program which implements variant on expr's ":"
operator, but reads the expression from a file (thus getting round
command-length limits).

FWIW, I had a look at just now and noticed a typo.  This
version of is something I checked out of CVS some time back,
so the line numbers are likely to be off.

---       Sun Oct 22 09:17:38 2000
+++   Sun Oct 22 09:17:57 2000
@@ -159,7 +159,7 @@
 find_tool ()
-  GLOCS="`echo $PATH | sed 's/:/ /g'` /usr/local/bin /usr/contrib/bin 
/usr/gnu/bin /local/bin /local/gnu/bin /gun/bin"
+  GLOCS="`echo $PATH | sed 's/:/ /g'` /usr/local/bin /usr/contrib/bin 
/usr/gnu/bin /local/bin /local/gnu/bin /gnu/bin"
   for path in $GLOCS ; do
     if test -x $path/g$1 ; then

James Youngman
Manchester, UK.  +44 161 226 7339
PGP (GPG) key ID for <address@hidden> is 64A95EE5 (F1B83152).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]