emacs-devel
[Top][All Lists]
Advanced

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

Re: Org mode update breaking build?


From: Eli Zaretskii
Subject: Re: Org mode update breaking build?
Date: Wed, 03 May 2023 19:04:12 +0300

> Date: Wed, 3 May 2023 17:26:05 +0200
> From: Tobias Bading <tbading@web.de>
> 
> Warning (emacs): Org version mismatch.  Org loading aborted.
> This warning usually appears when a built-in Org version is loaded
> prior to the more recent Org version.
> 
> Version mismatch is commonly encountered in the following situations:
> 
> […]
> 
> In toplevel form:
> org/ob-core.el:31:2: Error: Org version mismatch.  Make sure that correct 
> ‘load-path’ is set early in init.el
> make[3]: *** [Makefile:332: org/ob-core.elc] Error 1
> make[3]: *** Waiting for unfinished jobs....
> 
> --- >% ---
> 
> A “git clean -fdx -e .ccls-cache -e compile_commands.json -e TAGS” plus
> “./autogen.sh” plus “configure […]” plus “nice make -j4” later I have a
> working clean Emacs 29 again.
> 
> But of course the same happens again in my hacked worktree. So this time I
> try “make distclean” for a change — plus the whole autogen, configure,
> make aria again. And guess what… the error is still there!
> 
> Is that normal?

Yes, on emacs-29.  Well, not "normal" but "expected".  The fix is to
remove lisp/org/*.elc and say "make" again.

There's a solution on master, and an improvement on that solution in
the works, but I decided not to risk that on the release branch, since
the problem happens relatively rarely and the workaround is simple
enough.



reply via email to

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