GNU bug report logs -
#32423
27.0.50; Compilation fails when sh points to zsh
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Sat, 11 Aug 2018 17:29:02 UTC
Severity: normal
Found in version 27.0.50
Done: Tino Calancha <tino.calancha <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#32423: 27.0.50; Compilation fails when sh points to zsh
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 32423 <at> debbugs.gnu.org.
--
32423: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32423
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Tino Calancha <tino.calancha <at> gmail.com> writes:
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> compile-clean:
>> @cd $(lisp) && \
>> elcs=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \
>> for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \
>> if test -f "$$el" || test ! -f "$${el}c"; then :; else \
>> echo rm "$${el}c"; \
>> rm "$${el}c"; \
>> fi \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> done
>>
>> there should be a semi-colon after "fi", I believe. If you make that
>> change, does the problem go away for you?
> Excellent catch! It fixes the problem:
Fixed in master branch as commit 'Fix typo caught by zsh'
(21c2fd724dcae8a2342f256a0dd8c3c78fb5e931)
[Message part 3 (message/rfc822, inline)]
I started to suffer this recently (~ since this month).
When
bin/sh points to /bin/zsh
I get an zsh parse error as follows:
make[2]: Entering directory '/home/calancha/soft/emacs-master/admin/grammars'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/calancha/soft/emacs-master/admin/grammars'
zsh:8: parse error near `done'
make[2]: Entering directory '/home/calancha/soft/emacs-master/leim'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/calancha/soft/emacs-master/leim'
Makefile:338: recipe for target 'compile-clean' failed
make[1]: *** [compile-clean] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/calancha/soft/emacs-master/lisp'
Makefile:405: recipe for target 'lisp' failed
make: *** [lisp] Error 2
This bug report was last modified 6 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.