Skip Menu |

Download (untitled) / with headers
text/plain 3.8KiB
From Wed Mar 19 20:28:06 1997
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU []) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA16837 for <bugs@RT-11.MIT.EDU>; Wed, 19 Mar 1997 20:28:05 -0500
Received: from by MIT.EDU with SMTP
id AA17799; Wed, 19 Mar 97 20:28:04 EST
Received: from localhost by
with smtp id m0w7WKU-000MNOC
(Debian Smail-3.2 1996-Jul-4 #2); Wed, 19 Mar 1997 20:07:22 -0500 (EST)
Message-Id: <>
Date: Wed, 19 Mar 1997 20:07:21 -0500 (EST)
To: krb5-bugs@MIT.EDU
Subject: bash-2.02 syntax errs on recursion rules

Show quoted text
>Number: 403
>Category: krb5-build
>Synopsis: bash-2.02 syntax errs on recursion rules
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Mar 19 20:29:01 EST 1997
>Last-Modified: Fri May 30 16:04:01 EDT 1997
Bash 2.02 will not process the Makefiles produced by ./configure

all-recurse clean-recurse install-recurse check-recurse Makefiles-recurse:
@case "`echo '$(MFLAGS)'|sed -e 's/ --.*$$//'`" in \
*[ik]*) e=:;; *) e="exit 1";; esac; \
for i in $(SUBDIRS) ; do \
if test -d $$i ; then \
target=`echo $@|sed s/-recurse//`; \
echo "making $$target in $(CURRENT_DIR)$$i..."; \
if (cd $$i ; $(MAKE) CC="$(CC)" CCOPTS="$(CCOPTS)"
CURRENT_DIR=$(CURRENT_DIR)$$i/ $$target) then
:; \
else $$e; fi; \
else \
echo "Skipping missing directory
$(CURRENT_DIR)$$i" ; \
fi \

The make command would bring back a syntax error. If you change the last
'fi \' to 'fi ; \' it would work until it found the next Makefile with the
same syntax. I did a find -name Makefile in the src/ and got 97. Since I
am running Debian-1.2 I choose to downgrade back to bash 1.14 and it's
compiling fine now.

I hope that this info is useful


Show quoted text

Responsible-Changed-From-To: gnats-admin->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Wed Mar 19 20:40:40 1997


State-Changed-From-To: open-feedback
State-Changed-By: tlyu
State-Changed-When: Wed Mar 19 20:44:36 1997

This is going to need an explicit patch on the 1.0 branch since lots
of stuff has happened to in the interim.

From: Tom Yu <tlyu@MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-build/403: bash-2.02 syntax errs on recursion rules
Date: Wed, 19 Mar 1997 20:44:22 -0500

Thank you for your bug report. It's not clear from various bourne
shell manpages whether the syntax is

"for _name_ in _word_; do _list_ ; done"


"for _name_ in _word_; do _list_ done"

And this seems to be a case where the ambiguity bites us. The way to
fix this without downgrading would be to edit the appropriate part of
src/config/, which is where the recursion rule occurs.

We will be including this fix in a later release.


State-Changed-From-To: feedback-closed
State-Changed-By: tlyu
State-Changed-When: Fri May 30 16:03:48 1997

1.0pl1 has been released

Show quoted text