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: Tue, 11 Apr 2023 09:10:33 +0300 Message-ID: <837cujaqzq.fsf@gnu.org> References: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7004"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62762@debbugs.gnu.org To: Dmitry Gutov , Ihor Radchenko , Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 11 08:11:17 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 1pm7Dp-0001dT-OD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Apr 2023 08:11:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pm7Dc-0007j5-Ut; Tue, 11 Apr 2023 02:11:05 -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 1pm7Db-0007ir-7g for bug-gnu-emacs@gnu.org; Tue, 11 Apr 2023 02:11:03 -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 1pm7Da-0005FG-B2 for bug-gnu-emacs@gnu.org; Tue, 11 Apr 2023 02:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pm7DZ-0006Ww-RG for bug-gnu-emacs@gnu.org; Tue, 11 Apr 2023 02:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Apr 2023 06:11:01 +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.168119340725036 (code B ref 62762); Tue, 11 Apr 2023 06:11:01 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 11 Apr 2023 06:10:07 +0000 Original-Received: from localhost ([127.0.0.1]:36391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pm7Cg-0006Vk-K0 for submit@debbugs.gnu.org; Tue, 11 Apr 2023 02:10:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pm7Cd-0006V5-3J for 62762@debbugs.gnu.org; Tue, 11 Apr 2023 02:10:04 -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 1pm7CU-0004pk-Nu; Tue, 11 Apr 2023 02:09:54 -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=mncJsy45RZoGo8pGztXDw6OsW/yHRIE8HGKi4bDVhgU=; b=iMBJQuo6TAVa u/uE9Ha5UZMn6R6xXKx/vRezqKuoavzvvXK5J2mejkuKwZXWaM68X8iomud7F5rrSQp9rzIx6AJpq ASPcBiWmu590Do40P4mTHWSkZEwbbBpI6nYYvp00GOCXN4Sh++NmC+3x7mWh3MsSzalP0Zh3wAgSR eUFqvfAwgXM4VlRDvFvZ4uOLgct4ZeXLElycPyzCqymI38WBSwTUlTLbYjViWxu0Eg8Ka7Ka+qPFP 0L/4ocl3CxTEPVDyjTZUASFrmge+Y7ikCTyp9Ym7tUhakvxGY8076qM7tvA43+6eyaiYrLS5UXIRC mZog/kzpqhUmohNEt2QvjA==; 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 1pm7CQ-0005ex-VA; Tue, 11 Apr 2023 02:09:51 -0400 In-Reply-To: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> (message from Dmitry Gutov on Tue, 11 Apr 2023 02:09:45 +0300) 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:259623 Archived-At: > Date: Tue, 11 Apr 2023 02:09:45 +0300 > From: Dmitry Gutov > > Could someone fix that, so that I don't have to 'make bootstrap' every > other time after a 'git pull'? First, you don't need to "make bootstrap" in this case. It is enough to say "touch lisp/org/*.el". And second, I tried to install a solution to that on the master branch, but it is not perfect, to say the least: depending on which *.el files in lisp/org/ were updated by the same pull/merge that brought the new org-version.el (which is the source of the trouble), the solution I installed may or may not work. So a better solution is probably to "touch" all the *.el files in lisp/org/ (or just some of them, if we can identify them) when org-version.el is updated. Patches welcome, or I will get to that eventually. Or maybe Org folks (CC'ed) could suggest a better fix. I understand the reasons for this behavior in Org, but none of the reasons described in org-version.el are relevant to Emacs development, when a new version of Org is merged. Maybe the abort could be augmented not to produce such a drastic effect?