Subject: Re: bug#821: 23.0.60; bootstrap fails due to define-minor-mode in textmode/paragraphs.el

From: Glenn Morris <[email-masked]>
Date: Wed, 03 Sep 2008 22:45:02 -0400

Ted Zlatanov wrote:

> Installed: make 3.81-3build1
[...]
> cd ../lisp; make -w compile-first EMACS=../src/bootstrap-emacs
> make[2]: Entering directory `/home/lank/emacs/lisp'
> make[2]: *** No rule to make target `/home/lank/emacs/lisp/emacs-lisp/bytecomp.elc', needed by `compile-first'.  Stop.

This is bug #327 again, in that make for some reason does not
understand the implicit rule that generates .elc from .el. This time
it is failing straight away, rather than partway through the .elc
files.

> I wanted to investigate this one as it seemed related to the byte-compile
> issues.  This file (bytecomp.el) is mentioned in COMPILE_FIRST and in
> ELCFILES; this may bring us back to why ELCFILES is not picked up
> correctly.

Good point. One thing to try is deleting bytecomp, byte-opt, and
autoload from ELCFILES. I don't hold out much hope though...

> Compiling /home/lank/emacs/lisp/bs.el
> Wrote /home/lank/emacs/lisp/bs.elc
> make[1]: *** No rule to make target `/home/lank/emacs/lisp/calc/calc-aent.elc', needed by `compile-main'.  Stop.
> make[1]: Leaving directory `/home/lank/emacs/lisp'
> make: *** [lisp] Error 2

Again, a failure of make to understand an implicit rule.

> The root of all these problems seems to be Make itself.

Yes. Perhaps try compiling your own GNU make from source?