From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 57152@debbugs.gnu.org
Subject: bug#57152: 29.0.50; Emacs executable isn't rebuilt when loaddefs.el is modified
Date: Fri, 12 Aug 2022 17:14:26 +0200 [thread overview]
Message-ID: <87zgg9o5nx.fsf@gnus.org> (raw)
In-Reply-To: <83k07endtb.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Aug 2022 10:03:44 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> The current Makefile's still exhibit the problem that when loaddefs.el
> is updated, the Emacs executable is not re-dumped to reflect those
> updates. This leads to an annoying and error-prone practice that one
> needs to watch the build, detect the telltale "ELC loaddefs.elc"
> command (which means loaddefs.el was actually modified), and then
> manually invoke "make" again to re-dump Emacs.
>
> AFAICT, the root cause of this is that src/Makefile.in doesn't know
> about the dependencies of loaddefs.el, which are spelled out in
> lisp/Makefile.in, and therefore it doesn't realize that loaddefs.el
> will be modified as part of the current build.
Yes. So the next time you say "make", it'll rebuild the executable.
In one way, this is slightly better than what we had before, where
loaddefs.el wouldn't be rebuilt until after VCWITNESS had changed, while
it's now actually updated all the time (that something changes). It's
more... regular? But on the other hand, these updates are seldom
actually necessary, so we're doing it a bit too much now, perhaps.
Anyway, back to the problem -- I've poked at this quite a bit, but no
solutions seem really... nice? If we updated the loaddefs.el file a
bit earlier (before we build the Emacs executable), that'd fix the
problem, but I could find a way to do that without breaking something
else. There's probably something trivial I'm overlooking here.
next prev parent reply other threads:[~2022-08-12 15:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-12 7:03 bug#57152: 29.0.50; Emacs executable isn't rebuilt when loaddefs.el is modified Eli Zaretskii
2022-08-12 15:14 ` Lars Ingebrigtsen [this message]
2022-08-12 15:29 ` Eli Zaretskii
2022-08-13 11:42 ` Lars Ingebrigtsen
2022-08-15 10:07 ` Lars Ingebrigtsen
2022-08-15 11:58 ` Eli Zaretskii
2022-08-15 13:32 ` Gerd Möllmann
2022-08-17 10:40 ` Lars Ingebrigtsen
2022-08-17 13:50 ` Gerd Möllmann
2022-08-18 12:46 ` Lars Ingebrigtsen
2022-08-19 9:24 ` Gerd Möllmann
2022-08-17 10:34 ` Lars Ingebrigtsen
2022-08-17 12:08 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zgg9o5nx.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=57152@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).