Subject: Re: bug#53024: 29.0.50; Wishlist: Byte-compile loaddefs.el?

From: Andreas Schwab <[email-masked]>
Date: Thu, 04 Aug 2022 18:31:16 +0200

This appears to break bootstrap for me.

https://build.opensuse.org/package/live_build_log/home:AndreasSchwab:emacs:master/emacs/f/x86_64

./temacs --batch  -l loadup --temacs=pbootstrap \
        --bin-dest /usr/bin/ --eln-dest /usr/lib/emacs/29.0.50/
Loading loadup.el (source)...
Dump mode: pbootstrap
Using load-path (/home/abuild/rpmbuild/BUILD/emacs-29.0.50/lisp /home/abuild/rpm
build/BUILD/emacs-29.0.50/lisp/emacs-lisp /home/abuild/rpmbuild/BUILD/emacs-29.0
.50/lisp/progmodes /home/abuild/rpmbuild/BUILD/emacs-29.0.50/lisp/language /home
/abuild/rpmbuild/BUILD/emacs-29.0.50/lisp/international /home/abuild/rpmbuild/BUILD/emacs-29.0.50/lisp/textmodes /home/abuild/rpmbuild/BUILD/emacs-29.0.50/lisp/vc)
Loading emacs-lisp/debug-early...
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading keymap...
Loading version...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading international/mule...
Loading international/mule-conf...
Loading env...
Loading format...
Loading bindings...
Loading window...
Loading files...
Loading emacs-lisp/macroexp...
Loading cus-face...
Loading faces...
Symbol's function definition is void: display-warning

Error: void-function (display-warning)
  mapbacktrace(#[1028 "\1\4\203\24\0\301\302!\210\300\4!\210\301\303!\210\202\35\0\301\304!\210\3\3B\262\1\211\2035\0\300\1@!\210\211A\211\262\2\2035\0\301\305!\210\202!\0\301\306!\207" [prin1 princ "  " "(" "  (" " " ")\n"] 7 "\n\n(fn EVALD FUNC ARGS FLAGS)"])
  debug-early-backtrace()
  debug-early(error (void-function display-warning))
  display-warning(comp "Cannot look up eln file as no source file was found for /home/abuild/rpmbuild/BUILD/emacs-29.0.50/lisp/loaddefs.elc")
  load("loaddefs")
  (condition-case nil (load "loaddefs") (file-error (load "ldefs-boot.el")))
  load("loadup.el")
make[1]: *** [Makefile:922: bootstrap-emacs.pdmp] Error 255

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."