From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Max Nikulin Newsgroups: gmane.emacs.bugs Subject: bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code Date: Sun, 25 Jun 2023 21:37:05 +0700 Message-ID: <0c4df525-8192-86d2-ece4-564c6726ec82@gmail.com> References: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> <87pm8a8dx4.fsf@localhost> <87pm7vt0mx.fsf@localhost> <87cz3k8i27.fsf@localhost> <87sfcfdldt.fsf@localhost> <87bkj1g10g.fsf@localhost> <1c5d0ff0-5bae-1123-d2f7-64d9013fbc0f@gmail.com> <6070e598-7dee-1b7a-7f97-26a90618cb7a@gmail.com> <5603ba14-8120-cf38-05ba-4435c1bece3f@gmail.com> <03d0e4f4-3855-fa3e-d502-bee77ea53b74@gmail.com> <875y93kujy.fsf@localhost> <2e6ea8c1-19fb-298a-1336-27b09925d8a0@gmail.com> <871qi2mlnc.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20162"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cc: 62762@debbugs.gnu.org, bzg@gnu.org, dmitry@gutov.dev, Stefan Monnier , Alan Mackenzie , Eli Zaretskii To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 25 16:38: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 1qDQse-00052e-JQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Jun 2023 16:38:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDQsO-0001tp-71; Sun, 25 Jun 2023 10:38: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 1qDQsM-0001tR-OQ for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2023 10:38: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 1qDQsM-0006xU-Fi for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2023 10:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDQsM-00026D-Bp for bug-gnu-emacs@gnu.org; Sun, 25 Jun 2023 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Max Nikulin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jun 2023 14:38: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.16877038408019 (code B ref 62762); Sun, 25 Jun 2023 14:38:02 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 25 Jun 2023 14:37:20 +0000 Original-Received: from localhost ([127.0.0.1]:43218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDQrg-00025H-GT for submit@debbugs.gnu.org; Sun, 25 Jun 2023 10:37:20 -0400 Original-Received: from mail-lf1-f45.google.com ([209.85.167.45]:60900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDQrb-000251-RX for 62762@debbugs.gnu.org; Sun, 25 Jun 2023 10:37:18 -0400 Original-Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-4f8775126d3so2945422e87.1 for <62762@debbugs.gnu.org>; Sun, 25 Jun 2023 07:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687703830; x=1690295830; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=oq1LZMPdV6uMjiIWVDXCbpK9ngEs5AyXkPiCzqyccpw=; b=oE0PsfVS7f5MbdYdcp69DlNQWBghIz2OusbkeGVsgg4Emh0Q3OgjB1M8qO/seXoQN0 CfGb1EJ1JfC9/xTAXZpIj+Sf335eGztbjGPKRkh5eeK5oiBIwOVO3R8tWxEyhBOZsuSH +S3nxoRhk1b2y/APVMPEvlZraXjcCMdIorr3BADdWjaoqnPmEH7FvKovKEhWfgx7wyqp ZjR4n99xxhd3UNuCZw2faDXSoPL1ME9FdLmnDR+B/kaQYK2JrVxqLc5US9sVS/B1tN97 v5wColC0VtyVUqsMB83pKsye/mf0jxUgaolZU261s0GhoD2ZrnHgmAuhVTFyKFhU4KXh 7GWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687703830; x=1690295830; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oq1LZMPdV6uMjiIWVDXCbpK9ngEs5AyXkPiCzqyccpw=; b=C49osddAj/czalG/39g7tzwprUpX81+8fv90U8M3WsruCUbkR2bcv4DjtT1FFr16BK 0qWy0HFHkV9GU7MhwVHSniqbL10Lw5LyU7ZrNFtW5Y5SSIEchiL969vjX/BBFjsX75C9 u3E5g16J+IMzO6LNXsRsZ7eubeIILTFAjgU+jyZ4rlygqaukQhjqMQodkMxgW821e/NH z6Rn4C+qQvDb3X7vjtOZptzjtwpiEy8X8MNH4nYl+TaJ6Kc/osYbRnkLJsfiQTm0cEpt faIspbf1Oo4Hd3xKMQjiqtiZXF9lqQO/8pk/OIWZ7PUt2zQtHdKdFUD3Vye/Vk+U5ZsC UPqg== X-Gm-Message-State: AC+VfDz/zAf+GfNm7Mq3tJ9blLYhyPrOGoL45oCY/2k+midQeUXbRpnc IThLPWgOiFOKPzmgS/ECXt4= X-Google-Smtp-Source: ACHHUZ7fkct3bYWkt1jM4dZQ2poi9OkqrX1+H9AD2bW4I+KRKaKcOVRa6w7eFfCWS4bMxxgeC0EslQ== X-Received: by 2002:a19:6714:0:b0:4f8:5713:7dd5 with SMTP id b20-20020a196714000000b004f857137dd5mr16322485lfc.10.1687703829459; Sun, 25 Jun 2023 07:37:09 -0700 (PDT) Original-Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id u11-20020a2ea16b000000b002b3465d344esm739259ljl.44.2023.06.25.07.37.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Jun 2023 07:37:08 -0700 (PDT) Content-Language: en-US In-Reply-To: <871qi2mlnc.fsf@localhost> 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:264047 Archived-At: On 23/06/2023 19:02, Ihor Radchenko wrote: > 1. Use `org-reload' instead of load-dir test. Just a reminder: directory test may catch the case with shadowing by Ort that is not compiled. Version comparison is unable to detect it. > I do not think that we should throw and error. `org-reload' approach > should hopefully solve the problem with mixed versions. Have you tested compilation with Org already loaded to Emacs <= 28? > P.S. I am not sure how to approach this patch in a view of the Emacs > release process. Are there other consequences of your changes for incremental rebuilds in Emacs source tree besides converting error to warning? My impression is that the most wide spread case is installing the Org ELPA package should just work in Emacs-29. I am unsure concerning precise scenario for spacemacs. I have not idea if shadowing by correctly compiled Org is a frequent issue. Are there other cases affecting significant number of users and what is behavior for them? Current warning is so long that it may confuse users who sees only its final part.