[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Org version mismatch." when building emacs
From: |
l@tlo |
Subject: |
Re: "Org version mismatch." when building emacs |
Date: |
Fri, 5 May 2023 19:59:12 +0900 |
Thank you very much Eli.
Jean-Christophe
> On May 5, 2023, at 19:41, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> 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.
--
Jean-Christophe Helary @jchelary@emacs.ch
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/