unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: 57001@debbugs.gnu.org
Subject: bug#57001: make: No such file or directory after `rm loaddefs-gen.elc`
Date: Fri, 5 Aug 2022 12:06:09 +0200	[thread overview]
Message-ID: <CADwFkmkyoTV7debP0YoysYiYmSQJAESGHj2UvBmeqvY+5JP4NQ@mail.gmail.com> (raw)

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.





             reply	other threads:[~2022-08-05 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05 10:06 Stefan Kangas [this message]
2022-08-05 12:05 ` bug#57001: make: No such file or directory after `rm loaddefs-gen.elc` Lars Ingebrigtsen

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=CADwFkmkyoTV7debP0YoysYiYmSQJAESGHj2UvBmeqvY+5JP4NQ@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=57001@debbugs.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).