* bug#57001: make: No such file or directory after `rm loaddefs-gen.elc`
@ 2022-08-05 10:06 Stefan Kangas
2022-08-05 12:05 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Kangas @ 2022-08-05 10:06 UTC (permalink / raw)
To: 57001
When I do this to force a recompile of loaddefs-gen.elc:
rm lisp/emacs-lisp/loaddefs-gen.elc; make -j8
I get the following:
Error: file-missing ("Cannot open load file" "No such file or
directory" "./emacs-lisp/loaddefs-gen.elc")
debug-early-backtrace()
debug-early(error (file-missing "Cannot open load file" "No such
file or directory" "./emacs-lisp/loaddefs-gen.elc"))
command-line-1(("-l" "./emacs-lisp/loaddefs-gen.elc" "-f"
"loaddefs-generate--emacs-batch" "." "./calc" "./calendar" "./cedet"
"./cedet/ede" "./cedet/semantic" "./cedet/semantic/analyze"
"./cedet/semantic/bovine" "./cedet/semantic/decorate"
"./cedet/semantic/symref" "./cedet/semantic/wisent" "./cedet/srecode"
"./emacs-lisp" "./emulation" "./erc" "./eshell" "./gnus" "./image"
"./international" "./language" "./leim" "./leim/ja-dic" "./leim/quail"
"./mail" "./mh-e" "./net" "./nxml" "./org" "./play" "./progmodes"
"./textmodes" "./url" "./vc"))
command-line()
normal-top-level()
Cannot open load file: No such file or directory, ./emacs-lisp/loaddefs-gen.elc
make[1]: *** [Makefile:192: autoloads] Error 255
make[1]: Leaving directory '/home/skangas/wip/emacs/lisp'
make: *** [Makefile:456: lisp] Error 2
I guess it's fixed by this, but it'd be better to byte-compile it:
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index fc05d39d2a..68bb5f28b1 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -190,7 +190,7 @@ org-manuals:
# "all" dependency.
autoloads:
$(AM_V_GEN)$(emacs) \
- -l $(lisp)/emacs-lisp/loaddefs-gen.elc \
+ -l $(lisp)/emacs-lisp/loaddefs-gen.el \
-f loaddefs-generate--emacs-batch ${SUBDIRS_ALMOST}
# autoloads always runs, but only updates when there's something new.
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-05 12:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-05 10:06 bug#57001: make: No such file or directory after `rm loaddefs-gen.elc` Stefan Kangas
2022-08-05 12:05 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.