From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov 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 02:09:45 +0300 Message-ID: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11994"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 To: 62762@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 11 01:10: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 1pm0eS-0002y3-Kc for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Apr 2023 01:10:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pm0eC-0006X9-O9; Mon, 10 Apr 2023 19:10: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 1pm0eA-0006Wk-LT for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 19:10: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 1pm0eA-00079R-BR for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 19:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pm0e9-0000eE-T1 for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 19:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Apr 2023 23:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62762 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16811681942466 (code B ref -1); Mon, 10 Apr 2023 23:10:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Apr 2023 23:09:54 +0000 Original-Received: from localhost ([127.0.0.1]:36122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pm0e1-0000di-O2 for submit@debbugs.gnu.org; Mon, 10 Apr 2023 19:09:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pm0dz-0000da-Ms for submit@debbugs.gnu.org; Mon, 10 Apr 2023 19:09:52 -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 1pm0dz-0006Vs-HP for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 19:09:51 -0400 Original-Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pm0dx-00077z-G6 for bug-gnu-emacs@gnu.org; Mon, 10 Apr 2023 19:09:51 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id EC8975822D0 for ; Mon, 10 Apr 2023 19:09:47 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 10 Apr 2023 19:09:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm1; t=1681168187; x=1681171787; bh=+T /vjMdX5X0kDV5YkX1JyoK7+Q5KcTA2aOG7zfvlxIg=; b=DPSksrQrY5J7tYODnA zHpqiMdb5nSN3g9Oajg8z0QKtLGYxKR3HwVtdNCi3re6V5GI1rHLdq7GGYJwXQ3S 39I8kPMf4HVjMOZGP3rWqJZRsJQ7OFo9fFhXfw9PeZq+v94BvwFU2G7e8sASmRb7 7myIgnFRLvBCfJNYLSSgetXzsE0otPeAj/VhsdJHARdgpBXqzq8Tv0B24bI4Z1h0 btcwvPniXzG7OFVaDEZKas8BF7q6XSViFiFjefvdi37TI+IrAsbpywnRlUwhJ2rc RW7z4nQ3wVKRRwysVrz42QQ9tY1VaOwDQ5leg2OuTuinMiz9/2BVK2GaVfPL/Zfh 2SHw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1681168187; x=1681171787; bh=+T/vjMdX5X0kD V5YkX1JyoK7+Q5KcTA2aOG7zfvlxIg=; b=NDKqnUkhf9lpuu2Er++12z/KBd1hL Cl7+c8oo+w+WTxL37GWz4OT5P5kkkoQGPlvepYTlu/o2FL8StO5AP/PDVSlUiIgB +wow+J3wCobYAcacbfcToWRqSt0e+NqqXR4f37yLZGABM650NGB6j6V4KQdUb0Dn SX06E4pbS6y/XRNrPiD69FP63hQBXm5S+Vhrwx/8RJeFpK73dCYqaGS7hLEWX1CI aDBAUuhqHL2m3swzXdeMlpmgV3DcwahgwnGQ3SDkwYFkoMQvwnO4cZd7hcO+uY3i ur3FeeK1UL638ipQr3XFUM/ojMKXe94mgWHX/jFAOgvnKiUUesRJDfO9g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekfedgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtkeertd dtfeejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthho vhdruggvvheqnecuggftrfgrthhtvghrnhepiefhteeugeektdduueefjeelvdeljeefje dvlefgkeeugeejheevheehkeekleelnecuffhomhgrihhnpehmihhsmhgrthgthhdrohhr ghdpohhrghdqsggrsggvlhdqlhhorgguqdhfihhlvgdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdr uggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 10 Apr 2023 19:09:46 -0400 (EDT) Content-Language: en-US Received-SPF: pass client-ip=66.111.4.221; envelope-from=dmitry@gutov.dev; helo=new1-smtp.messagingengine.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_FMBLA_NEWDOM28=0.799, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:259609 Archived-At: The log excerpt is at the end. Could someone fix that, so that I don't have to 'make bootstrap' every other time after a 'git pull'? make[3]: Entering directory '/home/dgutov/vc/emacs-master/lisp' ELC org/ox.elc Warning (emacs): Org version mismatch. Org loading aborted. This warning usually appears when a built-in Org version is loaded prior to the more recent Org version. Version mismatch is commonly encountered in the following situations: 1. Emacs is loaded using literate Org config and more recent Org version is loaded inside the file loaded by ‘org-babel-load-file’. ‘org-babel-load-file’ triggers the built-in Org version clashing the newer Org version attempt to be loaded later. It is recommended to move the Org loading code before the ‘org-babel-load-file’ call. 2. New Org version is loaded manually by setting ‘load-path’, but some other package depending on Org is loaded before the ‘load-path’ is configured. This "other package" is triggering built-in Org version, again causing the version mismatch. It is recommended to set ‘load-path’ as early in the config as possible. 3. New Org version is loaded using straight.el package manager and other package depending on Org is loaded before straight triggers loading of the newer Org version. It is recommended to put (straight-use-package 'org) early in the config. Ideally, right after the straight.el bootstrap. Moving ‘use-package’ :straight declaration may not be sufficient if the corresponding ‘use-package’ statement is deferring the loading. In toplevel form: org/ox.el:79:2: Error: Org version mismatch. Make sure that correct ‘load-path’ is set early in init.el