From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code Date: Thu, 04 May 2023 17:10:56 +0300 Message-ID: <835y98kwzz.fsf@gnu.org> References: <87pm7vt0mx.fsf@localhost> <87cz3k8i27.fsf@localhost> <87sfcfdldt.fsf@localhost> <87bkj1g10g.fsf@localhost> <83ild8lkuc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33897"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, 62762@debbugs.gnu.org, bzg@gnu.org, dmitry@gutov.dev, monnier@iro.umontreal.ca, manikulin@gmail.com To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 04 16:14:49 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1puZjM-0008cb-TL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 May 2023 16:14:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puZj1-0002ve-Rp; Thu, 04 May 2023 10:14:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puZfi-0002dS-PW for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 10:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puZfi-0006SI-HF for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 10:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puZfi-0005qg-BU for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 May 2023 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62762 X-GNU-PR-Package: emacs Original-Received: via spool by 62762-submit@debbugs.gnu.org id=B62762.168320942622433 (code B ref 62762); Thu, 04 May 2023 14:11:02 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 4 May 2023 14:10:26 +0000 Original-Received: from localhost ([127.0.0.1]:51625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puZf7-0005pj-I8 for submit@debbugs.gnu.org; Thu, 04 May 2023 10:10:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puZev-0005pE-9F for 62762@debbugs.gnu.org; Thu, 04 May 2023 10:10:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puZeo-00068p-CE; Thu, 04 May 2023 10:10:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZJMxFV4pjkDTaGtjJG0+jnuz6imG83nyzWrKx58y2xY=; b=ZVCSdZ2B7riM hjAXnWa/tJuUBIxj+YsFXXx904S1hy/RyEQFP1XlvcfuK5kD+ixfU5f8pd0UGCXezGgc1WzGbn3Xv L3JuNber2THiaPFsW31nUMJvN7uvNm1n/aQrBGPb7PHAZU+XUi6nT8NHVCDxTe7RXkusJSYbAi5+i I5f93PP/x2a2tSgEZgYlqUe+zTw3Hz1Jczq/ISM8hx+vpGAvBZVkbKGBaoLgDSO46vJEDJtDhhrdf 7BHUU1f5m593NqW/luON53FRWtMeISrLQRGyMlXv2i1Zc78JNCuuiePbJin6ClnoGXhv/WyalISu/ f55kdPy4eLTFJVeNcGZYSQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puZen-0005H0-RT; Thu, 04 May 2023 10:10:06 -0400 In-Reply-To: (message from Alan Mackenzie on Thu, 4 May 2023 14:02:37 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261018 Archived-At: > Date: Thu, 4 May 2023 14:02:37 +0000 > Cc: yantar92@posteo.net, monnier@iro.umontreal.ca, bzg@gnu.org, > dmitry@gutov.dev, 62762@debbugs.gnu.org, manikulin@gmail.com > From: Alan Mackenzie > > > No, the situation with CC Mode solution is far from ideal. It's the > > reason that we have had the dependencies below in lisp/Makefile.in for > > the past 15 years: > > The dependencies in Lisp/Makefile are there because there are actual > dependencies between the CC Mode source files. The same is true for Org. The reason for the dependency is immaterial; the result is the same. > > Each time some of the cc-*.el files change we recompile all of them. > > The difference between this and Org is that Org has many more files, > > so spelling out their dependencies is impractical (that was the first > > possible solution I thought about when I tried to solve the Org > > issue). > > There are other subprojects in Emacs with several/many source files, > such as gnus, cedet, and calc. How do they manage to stay coherent > without special mechanisms? The "secret" is not to use macros, or use them as little as possible. Stale expanded macros from *.elc files cause breakage.