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: Fri, 5 May 2023 23:46:36 +0700 Message-ID: <3ce7d18d-8190-a379-f503-5b0fef1dcb88@gmail.com> References: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> <837cujaqzq.fsf@gnu.org> <87wn2ilwed.fsf@localhost> <83zg7ealrd.fsf@gnu.org> <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> <64a61548-e343-992f-d193-d8ff4fe0623b@gmail.com> <831qjvjmw5.fsf@gnu.org> <48f15926-d002-877b-1d01-3a607fe42b76@gmail.com> <83v8h7hxlj.fsf@gnu.org> <38c89611-a929-1869-e70d-983bd7edad14@gmail.com> <83jzxnhv2o.fsf@gnu.org> <59ccf87f-effb-2168-2c17-34d950060b1b@gmail.com> <83354aixqy.fsf@gnu.org> 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="34661"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Cc: yantar92@posteo.net, 62762@debbugs.gnu.org, bzg@gnu.org, dmitry@gutov.dev, monnier@iro.umontreal.ca, acm@muc.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 05 18:47:28 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 1puyae-0008sD-5N for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 May 2023 18:47:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puyaR-0002XO-S0; Fri, 05 May 2023 12:47:15 -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 1puyaP-0002Ur-Fk for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 12:47:13 -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 1puyaF-0000Yo-15 for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 12:47:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puyaE-00063k-HE for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 12:47: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: Fri, 05 May 2023 16:47: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.168330520923272 (code B ref 62762); Fri, 05 May 2023 16:47:02 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 5 May 2023 16:46:49 +0000 Original-Received: from localhost ([127.0.0.1]:57326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puya1-00063H-0e for submit@debbugs.gnu.org; Fri, 05 May 2023 12:46:49 -0400 Original-Received: from mail-lj1-f169.google.com ([209.85.208.169]:54527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puyZw-000631-A9 for 62762@debbugs.gnu.org; Fri, 05 May 2023 12:46:47 -0400 Original-Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2ac89e6a5a1so9552951fa.0 for <62762@debbugs.gnu.org>; Fri, 05 May 2023 09:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683305198; x=1685897198; 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=OC0Gzkwf2l5BY0fZetNCdGEvOJ42noq0DZpok08WDaU=; b=FQYKvtiUQmoYV857+uCRavHHLMzuFgbv+uljpE8ezC2LP82dwKk2cowc+Sq7yN1do2 rYo1xCFInDgsmpXO+V1Olc/5nLjr7WaxHzo4y59GAvjI5XkHPY5c8J4IEkktcx4HqaWE A1in1TZnwacbU9g9xLLvxerVCmukugKg1DpnZkqdHD2GMrMYE0d1fwHAPi4AqqOkRXfr pNZoOxpexZPPOhtUhTTzkT4qhQ9aCi+8FUhYDR3Qnkc57kpSEHuWLupjTeMP05ROsp1N ucl1/0o15m7qYeiUZiaII2C9ZuRwPleEibfDbSdE+EnZ7YVVNXbooNDfF2POtdNd2JdI Q5nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683305198; x=1685897198; 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=OC0Gzkwf2l5BY0fZetNCdGEvOJ42noq0DZpok08WDaU=; b=MGy1b5bfH1lv4gSYGRYBjjQdSAFQP7bdPFLRm/shgmg3ZNZ2cfeXIm6Du3DwtxSHNP aLJ8LrqqdW7FASpu93A+1s2ZciWATPjoq7Vaf2bjqQnPlRuQNCtGod+jlpyJCQQCVUvW kPdLb9FSZyG52C5yQf+39wpT8226y5PcDWlrm46JcxKhxVDiO+IEevvQTUFcKzAJkzih jwywu3NehqrSUYZhJSxtcYhK8Sa8XNA4hmlsfVO/LBHNvdmQc1A53FOhUj9bcTUNXw8z aIJ8D/DX4FSq3xyECpiSd8do+s35NvuluijqbMXY6Hk3wQ3uFDyulyDUYGd6gGYXyYVc p3Tw== X-Gm-Message-State: AC+VfDxBDGdXU2Qzgq/K/3Iz6lNlWMI5tbM+PyyicsdC1uh4nW45MCg3 9exj41wD03NSGSjwdkk1a7aihOCOxjKo0g== X-Google-Smtp-Source: ACHHUZ6Ithx+QmRsBykvNq58O74MbxFXjmrE6nDvdxVk8hdzVUnZTickpZrPMPqmQNDyn/XlA+kBcg== X-Received: by 2002:a2e:8502:0:b0:2ac:7137:5f13 with SMTP id j2-20020a2e8502000000b002ac71375f13mr563122lji.9.1683305198242; Fri, 05 May 2023 09:46:38 -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 a14-20020a2e860e000000b002a8ecae9567sm33698lji.84.2023.05.05.09.46.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 May 2023 09:46:37 -0700 (PDT) Content-Language: en-US In-Reply-To: <83354aixqy.fsf@gnu.org> 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:261120 Archived-At: On 05/05/2023 22:49, Eli Zaretskii wrote: > You should look for all the ways we load one Lisp file from another: > > . require > . eval-when-compile > . eval-and-compile I was aware of these forms before you mentioned them first time in this discussion. > etc. When fileA.el does any of that to load fileB.el, and fileB.el > does something to load fileA.el (whether directly or indirectly, via > other files), you have a circular dependency. I am sorry, but it is far from a complete example. I still have no idea how to combine it in a such way that there would be no problem to compile and load files, but attempt to create build dependencies would fail due to a cycle. Perhaps editing some Emacs files you will notice the pattern you are writing about. I will be grateful if you provide names of files demonstrating cyclic dependency issue.