emacs-devel
[Top][All Lists]
Advanced

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

Re: "Org version mismatch." when building emacs


From: Eli Zaretskii
Subject: Re: "Org version mismatch." when building emacs
Date: Fri, 05 May 2023 13:41:05 +0300

> From: "l@tlo" <lists@traduction-libre.org>
> Date: Fri, 5 May 2023 17:28:38 +0900
> Cc: emacs-devel@gnu.org
> 
> >> org/ox-texinfo.el:33:2: Error: Org version mismatch.  Make sure that 
> >> correct ‘load-path’ is set early in init.el
> >> make[3]: *** [org/ox-texinfo.elc] Error 1
> >> make[2]: *** [main-first] Error 2
> >> make[1]: *** [lisp] Error 2
> > 
> > Delete all the *.elc files in lisp/org/ and try again.
> 
> It looks like it works.
> 
> Is there a reason not to indicate that as a possible fix for the issue?

Yes, because we fixed that in a different way.  It should not happen
again on the master branch.

> >> Any idea what is happening here?
> > 
> > You have stale *.elc files in the tree which still have the old
> > expansion of the macros that were recently changed.
> 
> Why doesn't the build process get rid of such files?

Because Make is not aware of Lisp macros and their expansions, and we
don't know how to teach it about them.



reply via email to

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