[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make bootstrap failed
From: |
Kenichi Handa |
Subject: |
Re: make bootstrap failed |
Date: |
Wed, 10 Mar 2004 10:17:42 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Katsumi Yamaoka <address@hidden> writes:
>> When I performed `make bootstrap' on Emacs CVS head from
>> scratch, it stopped with the following error:
>> [...]
>> for el in /Work/emacs/lisp/emacs-lisp/byte-opt.el
>> /Work/emacs/lisp/emacs-lisp/bytecomp.el /Work/emacs/lisp/subr.el
>> /Work/emacs/lisp/progmodes/cc-mode.el /Work/emacs/lisp/progmodes/cc-vars.el
>> $els; do \
>> if test -f $el; \
>> then \
>> echo Compiling $el; \
>> EMACSLOADPATH=/Work/emacs/lisp ../src/bootstrap-emacs -batch
>> --no-site-file --multibyte -f batch-byte-compile-if-not-done $el || exit 1; \
>> fi \
>> done
>> Compiling /Work/emacs/lisp/emacs-lisp/byte-opt.el
>> Cannot open load file: japan-util
[...]
>> I don't know why japan-util is required there, but that error
>> vanishes by using Makefile.in and lisp/Makefile.in of two days
>> ago (before Stefan Monnier changed them).
Stefan's change added "*/.*" and "*/.*/*" to the ignored
patterns for subdirs in the macro setwins. And, Yamaoka-san
wrote in the other mail that that his working directory is
something like /tmp/.yamaoka/Work/emacs/. So, it seems that
setwins ignores all directories in his case.
I think the attached patch fixes it. Shall I install it?
---
Ken'ichi HANDA
address@hidden
*** Makefile.in.~1.53.~ Mon Mar 8 08:01:38 2004
--- Makefile.in Wed Mar 10 10:10:52 2004
***************
*** 136,152 ****
# Common command to find subdirectories
! setwins=subdirs=`find $$wd -type d -print`; \
for file in $$subdirs; do \
case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* |
*/=* ) ;; \
! *) wins="$$wins $$file" ;; \
esac; \
done
! setwins_almost=subdirs=`find $$wd -type d -print`; \
for file in $$subdirs; do \
case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* |
*/=* | */obsolete | */term ) ;; \
! *) wins="$$wins $$file" ;; \
esac; \
done
--- 136,152 ----
# Common command to find subdirectories
! setwins=subdirs=`(cd $$wd; find . -type d -print)`; \
for file in $$subdirs; do \
case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* |
*/=* ) ;; \
! *) wins="$$wins $$wd/$$file" ;; \
esac; \
done
! setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \
for file in $$subdirs; do \
case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* |
*/=* | */obsolete | */term ) ;; \
! *) wins="$$wins $$wd/$$file" ;; \
esac; \
done