GNU bug report logs -
#62762
'make' often errors with "Org version mismatch" after pulling a new version of the code
Previous Next
Full log
Message #203 received at 62762 <at> debbugs.gnu.org (full text, mbox):
On 06/05/2023 23:26, Eli Zaretskii wrote:
>> Date: Sat, 6 May 2023 22:50:22 +0700 From: Max Nikulin
>>
>> On 06/05/2023 14:51, Eli Zaretskii wrote:
>>> This doesn't really work, not as long as we use Make: some *.elc files
>>> might not exist yet, for whatever reasons, so Make will try to
>>> generate them first, thus disrupting the order of generation that you
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> will try to encode in the dependencies. We already tried that, and it
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> didn't work, not even just for Org.
>>
>> Could you, please, be more precise? Do you suspect that Make may start
>> building a target before completion of all rules for its prerequisites?
>
> No, I mean that the order in which Make builds the targets might not
> be what you think, if all you tell it that all org/*.elc files depend
> on org-macs.elc.
Sorry, but it is still not clear to we what "doesn't really work" and I
feel that it may be important for further discussion.
If a Makefile contains a dependency like
org/ol.elc: org/org-macs.elc
and org/org-macs.elc needs update then the rule for org/ol.elc is
executed after completion of the rule for org/org-macs.elc. The purpose
of dependencies is to define order of execution of build rules.
However I suggested dependencies on org-macs.el, not on org-macs.elc:
Sat, 6 May 2023 13:00:38 +0700
>> they
>> should be at least that all lisp/org/*.elc files depend on
>> lisp/org/org-version.el and lisp/org/org-macs.el.
This bug report was last modified 1 year and 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.