emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bootstrap broken between 2893cb6a21af3384cf5d6dc2b6bbdd5ebba8e1ad an


From: Stefan Monnier
Subject: Re: Bootstrap broken between 2893cb6a21af3384cf5d6dc2b6bbdd5ebba8e1ad and 469fe6a040d6df612c00ea169670c6d8d7e58563
Date: Fri, 17 Dec 2021 07:42:05 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen [2021-12-17 09:04:07] wrote:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>> Debugger entered--Lisp error: (file-missing "Cannot open load file"
>> "No such file or directory" "rmail-loaddefs")
>>   require(rmail-loaddefs)
>
> The build should now be fixed, but there definitely is a problem in our
> makefiles somewhere.  Basically, if you end up doing (require 'rmail)
> before the rmail-loaddefs file has been built, then the build fails.

Rather than add a dependency which makes the Makefiles more complex,
I've usually solves those problems by changing the `load/require` so as
not to burp when the file is missing.  E.g. for `cl-loaddefs.el`:

    (unless (load "cl-loaddefs" 'noerror 'quiet)
      ;; When bootstrapping, cl-loaddefs hasn't been built yet!
      (require 'cl-macs)
      (require 'cl-seq))


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]