FYI, I could build the latest Emacs from a console opened within the
latest Emacs. So it seems that the limitation I fell accross does not
exist any longer. My previous Emacs was a version 28.xxx or so … 

  V.

De : Vincent Belaïche <vincent.b.1@hotmail.fr>
Envoyé : samedi 26 mars 2022 18:49
À : Po Lu <luangruo@yahoo.com>
Cc : emacs-devel <emacs-devel@gnu.org>
Objet : RE: master HEAD does not compile on MacOS
 
Actually, I had tried that and a few other things.

But indeed the problem was that I was building Emacs from a shell
console within an older version of Emacs. I rarely rebuild Emacs (but
now I need the newest version as the latest ses.el uses function
format-prompt that was not on my older version of Emacs). So, not
rebuilding often, I had forgotten that it does not work form an Emacs
console, but it came to my mind that I had already come accross this
issue quite a while ago. FYI, what fails is the emacs dump step.

Maybe this limitation should be documented in the INSTALL.REPO file …

BTW, I boldly overwrote my older Emacs with the new one --- Banzai ! ---
and a few things are not working any longer :

1. jdee does not byte-compile any longer, here is an example:

Compiling file /Users/vincentbelaiche/Documents/Personnel/Projects/jdee/jdee-bug.el at Sat Mar 26 18:38:16 2022
Entering directory ‘/Users/vincentbelaiche/Documents/Personnel/Projects/jdee/’
jdee-bug.el:31:2: Error: Symbol’s value as variable is void: initialize-instance

It seems that there is a change in the way eieio works, probably JDEE is
outdated.

2. I was using a theme, flatland-black-theme.el, and loading it does not
   seems to have any effect --- well, I don't get a black theme.


   Vincent.

De : Po Lu <luangruo@yahoo.com>
Envoyé : samedi 26 mars 2022 01:34
À : Vincent Belaïche <vincent.b.1@hotmail.fr>
Cc : emacs-devel <emacs-devel@gnu.org>
Objet : Re: master HEAD does not compile on MacOS
 
Vincent Belaïche <vincent.b.1@hotmail.fr> writes:

> Dear all,
>
> I tried to compile the latest version, as my current version of Emacs
> does not have format-prompt which the latest ses.el on the git repo
> uses, but the compilation fails on MacOS (it used to work…).

Did you try running "make bootstrap"?