* The 'master' branch no longer compiles.
@ 2018-11-12 2:19 aditya siram
2018-11-12 2:39 ` Paul Eggert
0 siblings, 1 reply; 10+ messages in thread
From: aditya siram @ 2018-11-12 2:19 UTC (permalink / raw)
To: emacs-devel@gnu.org Development
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
I did a clean pull from 'master' ( commit id:
b87c874aa1016939ccbee4cd3bd1384726cb2220 ), followed by './configure
--with-x-toolkit=gtk3 --with-xwidgets --with-modules; make' and I get:
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[2]: Entering directory '/home/deech/emacs/lisp'
make[2]: Nothing to be done for 'compile-first'.
make[2]: Leaving directory '/home/deech/emacs/lisp'
make[2]: Entering directory '/home/deech/emacs/lisp'
ELC ../lisp/files.elc
Directory-local variables error: (invalid-read-syntax #)
In toplevel form:
files.el:31:1:Error: Symbol’s value as variable is void: =
make[2]: *** [Makefile:285: ../lisp/files.elc] Error 1
make[2]: Leaving directory '/home/deech/emacs/lisp'
make[1]: *** [Makefile:736: ../lisp/files.elc] Error 2
make[1]: Leaving directory '/home/deech/emacs/src'
make: *** [Makefile:421: src] Error 2
Thanks!
-deech
[-- Attachment #2: Type: text/html, Size: 1187 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: The 'master' branch no longer compiles.
2018-11-12 2:19 The 'master' branch no longer compiles aditya siram
@ 2018-11-12 2:39 ` Paul Eggert
2018-11-12 3:36 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Paul Eggert @ 2018-11-12 2:39 UTC (permalink / raw)
To: aditya siram; +Cc: emacs-devel@gnu.org Development
It's a known problem. Work around it with 'make bootstrap'. See:
https://lists.gnu.org/r/emacs-devel/2018-11/msg00143.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: The 'master' branch no longer compiles.
2018-11-12 2:39 ` Paul Eggert
@ 2018-11-12 3:36 ` Eli Zaretskii
2018-11-12 13:51 ` Stefan Monnier
0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2018-11-12 3:36 UTC (permalink / raw)
To: Paul Eggert; +Cc: aditya.siram, emacs-devel
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Sun, 11 Nov 2018 18:39:43 -0800
> Cc: "emacs-devel@gnu.org Development" <emacs-devel@gnu.org>
>
> It's a known problem. Work around it with 'make bootstrap'. See:
>
> https://lists.gnu.org/r/emacs-devel/2018-11/msg00143.html
A much simpler and shorter recipe is to rename .dir-locals.el before
building, then rename it back after the build.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: The 'master' branch no longer compiles.
2018-11-12 3:36 ` Eli Zaretskii
@ 2018-11-12 13:51 ` Stefan Monnier
2018-11-13 1:13 ` Live System User
2018-11-13 13:56 ` Noam Postavsky
0 siblings, 2 replies; 10+ messages in thread
From: Stefan Monnier @ 2018-11-12 13:51 UTC (permalink / raw)
To: emacs-devel
>> It's a known problem. Work around it with 'make bootstrap'. See:
>> https://lists.gnu.org/r/emacs-devel/2018-11/msg00143.html
>
> A much simpler and shorter recipe is to rename .dir-locals.el before
> building, then rename it back after the build.
FWIW, I tried to track the origin of the problem but still failed to
find it. It looks like
rm lisp/emacs-lisp/gv.elc; make
"fixed" it this time (the error was signaled while macroexpanding
a (setf (alist-get ...) ...) in hack-dir-local-variables which ended up
(auto)loading gv).
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: The 'master' branch no longer compiles.
2018-11-12 13:51 ` Stefan Monnier
@ 2018-11-13 1:13 ` Live System User
2018-11-13 13:20 ` Stefan Monnier
2018-11-13 13:56 ` Noam Postavsky
1 sibling, 1 reply; 10+ messages in thread
From: Live System User @ 2018-11-13 1:13 UTC (permalink / raw)
To: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> It's a known problem. Work around it with 'make bootstrap'. See:
>>> https://lists.gnu.org/r/emacs-devel/2018-11/msg00143.html
>>
>> A much simpler and shorter recipe is to rename .dir-locals.el before
>> building, then rename it back after the build.
>
> FWIW, I tried to track the origin of the problem but still failed to
> find it. It looks like
>
> rm lisp/emacs-lisp/gv.elc; make
>
> "fixed" it this time (the error was signaled while macroexpanding
> a (setf (alist-get ...) ...) in hack-dir-local-variables which ended up
> (auto)loading gv).
This didn't work for me, initially:
[...]
make[2]: Entering directory '/tmp/emacs-27.0-git-master/lisp'
ELC emacs-lisp/gv.elc
ELC emacs-lisp/ring.elc
ELC net/tramp.elc
ELC net/tramp-cmds.elc
ELC mail/emacsbug.elc
ELC net/trampver.elc
ELC progmodes/xref.elc
ELC textmodes/css-mode.elc
In end of data:
mail/emacsbug.el:489:1:Warning: the function ‘w32--os-description’ is not
known to be defined.
make[2]: Leaving directory '/tmp/emacs-27.0-git-master/lisp'
make[1]: Leaving directory '/tmp/emacs-27.0-git-master/lisp'
This error occurred on Gnu/Linux.
When I did another "git pull; make" to go to git hash 73ba6f1
from 913c001 it then compiled.to completion.
BTW, why is the message:
Reloading stale loaddefs.el
emitted?
What's the significance of specifying "stale"?
Is it just informational?
Thanks.
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: The 'master' branch no longer compiles.
2018-11-13 1:13 ` Live System User
@ 2018-11-13 13:20 ` Stefan Monnier
2018-11-13 16:47 ` Live System User
0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier @ 2018-11-13 13:20 UTC (permalink / raw)
To: emacs-devel
> This didn't work for me, initially:
>
> [...]
> make[2]: Entering directory '/tmp/emacs-27.0-git-master/lisp'
> ELC emacs-lisp/gv.elc
> ELC emacs-lisp/ring.elc
> ELC net/tramp.elc
> ELC net/tramp-cmds.elc
> ELC mail/emacsbug.elc
> ELC net/trampver.elc
> ELC progmodes/xref.elc
> ELC textmodes/css-mode.elc
>
> In end of data:
> mail/emacsbug.el:489:1:Warning: the function ‘w32--os-description’ is not
> known to be defined.
> make[2]: Leaving directory '/tmp/emacs-27.0-git-master/lisp'
> make[1]: Leaving directory '/tmp/emacs-27.0-git-master/lisp'
>
> This error occurred on Gnu/Linux.
I don't see any error in the text you quoted.
> BTW, why is the message:
>
> Reloading stale loaddefs.el
>
> emitted?
This message means that the `(bootstrap-)emacs` executable used to
byte-compile "that" file was built at a time when loaddefs.el was
different, so before performing the compilation we reload loaddefs.el to
overwrite the preloaded settings with its new contents.
IOW the "stale loaddefs.el" is the one that was preloaded rather than
the current file.
> What's the significance of specifying "stale"?
I guess it wasn't a great choice of word, indeed, since it makes it
sound like the current loaddefs.el is stale.
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: The 'master' branch no longer compiles.
2018-11-13 13:20 ` Stefan Monnier
@ 2018-11-13 16:47 ` Live System User
2018-11-13 17:53 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Live System User @ 2018-11-13 16:47 UTC (permalink / raw)
To: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> This didn't work for me, initially:
>>
>> [...]
>> make[2]: Entering directory '/tmp/emacs-27.0-git-master/lisp'
>> ELC emacs-lisp/gv.elc
>> ELC emacs-lisp/ring.elc
>> ELC net/tramp.elc
>> ELC net/tramp-cmds.elc
>> ELC mail/emacsbug.elc
>> ELC net/trampver.elc
>> ELC progmodes/xref.elc
>> ELC textmodes/css-mode.elc
>>
>> In end of data:
>> mail/emacsbug.el:489:1:Warning: the function ‘w32--os-description’ is not
>> known to be defined.
>> make[2]: Leaving directory '/tmp/emacs-27.0-git-master/lisp'
>> make[1]: Leaving directory '/tmp/emacs-27.0-git-master/lisp'
>>
>> This error occurred on Gnu/Linux.
>
> I don't see any error in the text you quoted.
Indeed it's a warning, sorry.
The "error" (warning) I am referring to is the fact that
‘w32--os-description’ is being reference at all (and if/when
referenced, the "w32-fns.el" file should have been or caused
to beloaded).
Is it because it's not necessary during the dump process?
Thanks.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: The 'master' branch no longer compiles.
2018-11-12 13:51 ` Stefan Monnier
2018-11-13 1:13 ` Live System User
@ 2018-11-13 13:56 ` Noam Postavsky
2018-11-13 14:08 ` martin rudalics
1 sibling, 1 reply; 10+ messages in thread
From: Noam Postavsky @ 2018-11-13 13:56 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Emacs developers
On Mon, 12 Nov 2018 at 08:51, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> FWIW, I tried to track the origin of the problem but still failed to
> find it. It looks like
>
> rm lisp/emacs-lisp/gv.elc; make
>
> "fixed" it this time (the error was signaled while macroexpanding
> a (setf (alist-get ...) ...) in hack-dir-local-variables which ended up
> (auto)loading gv).
It's because gv.elc uses circular syntax, and files.el was binding
read-circle to nil around there. Should be fixed in master now.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-11-13 17:53 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-12 2:19 The 'master' branch no longer compiles aditya siram
2018-11-12 2:39 ` Paul Eggert
2018-11-12 3:36 ` Eli Zaretskii
2018-11-12 13:51 ` Stefan Monnier
2018-11-13 1:13 ` Live System User
2018-11-13 13:20 ` Stefan Monnier
2018-11-13 16:47 ` Live System User
2018-11-13 17:53 ` Eli Zaretskii
2018-11-13 13:56 ` Noam Postavsky
2018-11-13 14:08 ` martin rudalics
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).