GNU bug report logs - #57001
make: No such file or directory after `rm loaddefs-gen.elc`

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Fri, 5 Aug 2022 10:07:02 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57001 in the body.
You can then email your comments to 57001 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#57001; Package emacs. (Fri, 05 Aug 2022 10:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 05 Aug 2022 10:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: make: No such file or directory after `rm loaddefs-gen.elc`
Date: Fri, 5 Aug 2022 12:06:09 +0200
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#57001; Package emacs. (Fri, 05 Aug 2022 12:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 57001 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 57001 <at> debbugs.gnu.org
Subject: Re: bug#57001: make: No such file or directory after `rm
 loaddefs-gen.elc`
Date: Fri, 05 Aug 2022 14:05:44 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

> I guess it's fixed by this, but it'd be better to byte-compile it:

Adding loaddefs-gen.elc as a dependency fixes this, so I've now done
that instead.




bug marked as fixed in version 29.1, send any further explanations to 57001 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 05 Aug 2022 12:06:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 03 Sep 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.