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: Wed, 12 Apr 2023 12:21:36 +0300 Message-ID: <83zg7d78wv.fsf@gnu.org> References: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> <837cujaqzq.fsf@gnu.org> <87wn2ilwed.fsf@localhost> <83zg7ealrd.fsf@gnu.org> <87pm8a8dx4.fsf@localhost> <8335569rs7.fsf@gnu.org> <87jzyi8cu2.fsf@localhost> <83wn2i8bht.fsf@gnu.org> <875ya18oaz.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18421"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bzg@gnu.org, dmitry@gutov.dev, 62762@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 11:21:21 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 1pmWfI-0004U1-CF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 11:21:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmWf2-0008Ah-KQ; Wed, 12 Apr 2023 05:21:04 -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 1pmWf1-00089q-AH for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 05:21: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 1pmWf0-0005Wf-W1 for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 05:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmWf0-0007dt-EL for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 05:21: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: Wed, 12 Apr 2023 09:21: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.168129126029349 (code B ref 62762); Wed, 12 Apr 2023 09:21:02 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 12 Apr 2023 09:21:00 +0000 Original-Received: from localhost ([127.0.0.1]:39048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmWex-0007dI-VV for submit@debbugs.gnu.org; Wed, 12 Apr 2023 05:21:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmWev-0007d6-Ou for 62762@debbugs.gnu.org; Wed, 12 Apr 2023 05:20:58 -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 1pmWeq-0005SD-57; Wed, 12 Apr 2023 05:20:52 -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=6gJKHpa2qo0FDKbPAECROmYnX9j2f5xfxP5DEyPlwmY=; b=btZOf4/sGbcR U7Yredxjyj+8++H3kSWE/R3rPT/yO4RAglF+SsPAsREhynn+xnAJz9mhrL9uCHEDbV29vc+YMcVj/ fD70irAT3KDnbbA3Agg8OVKHYBKhhy6L6im/k0YNH9NRMcGYSntV/4PgT+5wQEjP1u4qMiz94MKpl 8FhB0rN3vFb9XX2EoU99+0el8kmaN1rgEPgJmdUYumsPgqszjWaAfThF+kRVj6unCHZNf9kYyZxCJ 0viDl1P23Le1G7Bo2qI6WlQaLjxh+b+5REyZjU4vSyYI0QtRLoMidVhyd5l4C/ln2znvDBURCFP4f xdjmgM2JNbSyYE4I4V3vXQ==; 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 1pmWep-0007D6-CZ; Wed, 12 Apr 2023 05:20:51 -0400 In-Reply-To: <875ya18oaz.fsf@localhost> (message from Ihor Radchenko on Wed, 12 Apr 2023 09:03:48 +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:259715 Archived-At: > From: Ihor Radchenko > Cc: dmitry@gutov.dev, bzg@gnu.org, 62762@debbugs.gnu.org > Date: Wed, 12 Apr 2023 09:03:48 +0000 > > Eli Zaretskii writes: > > >> You are not. In the worst case, we may add some flag into Org sources > >> that are inside Emacs tree. Something like `org-version-built-in-p' that > >> will be set to t only in the Emacs' version of Org. > > > > And what will that mean when org-version.el bumps its version? > > My idea is to change `org-assert-version' in such a way that the check > is completely bypassed when `org-version-built-in-p' is non-nil (of when > some environment variable is set). As I said, `org-assert-version' is > not aiming for built-in Org compilation. Just for Org package > installation. I think this will be a good change from my POV, thank you.