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#59882: Multiple versions of Org in load-path problem Date: Fri, 7 Apr 2023 18:39:01 +0700 Message-ID: <34c60ea9-6472-489e-91c5-8ff7831397c2@gmail.com> References: <39a5810d-75bc-4ddb-8722-703f762ed4de@app.fastmail.com> <835yel11x8.fsf@gnu.org> <87edt2qpoa.fsf@localhost> <83359innsp.fsf@gnu.org> <87pmcmt8cc.fsf@localhost> <3bf2e057-4204-cdc8-0847-39a723db4fc8@gmail.com> <809ae318-fe95-1023-6bca-ba827fd01a29@gmail.com> <87fsdfs8vl.fsf@localhost> <4b053e69-87d3-8323-8949-0546b4bb6c1a@gmail.com> <87pmc7stiw.fsf@localhost> <96ecff22-8604-3794-671f-75184dcb7d31@gmail.com> <87r0wmr1tk.fsf@localhost> <877cyeqvh4.fsf@localhost> <3f0ead96-4424-18a9-394f-680fc135d39c@gmail.com> <87sfh12n6i.fsf@localhost> <11e5c88d-09d1-75a5-5c7c-f8ace552c2d3@gmail.com> <87lelfnhaa.fsf@localhost> <5c84a074-4bfd-06e4-b07b-9f53d12ddd7f@gmail.com> 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="19256"; 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: 59882@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 07 13:40:18 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 1pkkS1-0004tr-Hu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Apr 2023 13:40:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkkRt-0004HI-5r; Fri, 07 Apr 2023 07:40:10 -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 1pkkRm-0004Gl-Qk for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 07:40: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 1pkkRl-0003r6-O3 for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 07:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkkRl-000448-IR for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 07:40:01 -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, 07 Apr 2023 11:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59882 X-GNU-PR-Package: emacs Original-Received: via spool by 59882-submit@debbugs.gnu.org id=B59882.168086755115548 (code B ref 59882); Fri, 07 Apr 2023 11:40:01 +0000 Original-Received: (at 59882) by debbugs.gnu.org; 7 Apr 2023 11:39:11 +0000 Original-Received: from localhost ([127.0.0.1]:55849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkkQx-00042h-DO for submit@debbugs.gnu.org; Fri, 07 Apr 2023 07:39:11 -0400 Original-Received: from mail-lf1-f44.google.com ([209.85.167.44]:36634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkkQv-00042R-Fo for 59882@debbugs.gnu.org; Fri, 07 Apr 2023 07:39:09 -0400 Original-Received: by mail-lf1-f44.google.com with SMTP id d7so9156004lfj.3 for <59882@debbugs.gnu.org>; Fri, 07 Apr 2023 04:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680867543; x=1683459543; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=rhgpDkOSfwkKDHV9JWYdi8rc7oEDeGokYJZvvpWkeLA=; b=jtg70bo6A0YBhT423DBy4WUaalueSsC0/gs7nZ7kKMam8gNO0jvEGdqeasZ84byblD egywIvzcv98CWeaRUY13GiH178aliFCHoJvONaLMi6T+xtm18hR4plMekuMDdWf7KOkj jNnD/YRLYaAtlc2xwByE5uwyrqXukO3VW9w6yhddIIvpQazoZqoaMSAzdZ0DUPOZ0yMB scTZgbkBt90sbcN7YYPxaGhuFpPndEqiA0LdAlNZCxF2bcg3NcAOBo7erW6iegt9NJ78 o0pL3jRteA/AcRZqXKyMbQuJktJ5/22Xg7YKWfVAfJYqRl8Mjcue7O/pdnH3NYe50uW+ HH5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680867543; x=1683459543; h=content-transfer-encoding:in-reply-to:references:to:from :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=rhgpDkOSfwkKDHV9JWYdi8rc7oEDeGokYJZvvpWkeLA=; b=qt2jv2mBmcBLzCvTne87GeaYcfGtfCZPgnuyfmV0m17QyXU4W4TbamYMOQqnkLXPt8 QvWuqisJcJs9CrIFOcttRvj2Ajz9/q36PAkUleu1PHklmXvxFyfbQ25YTNcVTCeMBRmK Er+F2NapexmE/OM7/xtBgO+SYpu/i2KiBAdKH53NjsHDKO2FOj0UXGHReLZ1EtHX1APE j+3mVFL5X7ckkPLd0kxUsCxCe1U8Iz+KDX67PXdSsg5DLMEZ6d+1mq4M9FOEnDDq1j7n 8ZBzPF8ElqWG9KRuZkzQrumnEAAq72nbSsr3eqYvy25q8gLT7ZVa+n17bQLrGGbC++Fq CN5w== X-Gm-Message-State: AAQBX9f+1tm/uEg54d2zP9U3ijitwozslhrKp1mgzAno98q8Wz6GBBgW aILgJxeL0w6Awpt/AITfuceSoMyAq2o= X-Google-Smtp-Source: AKy350aYbs4lFnq6QTndyzFRkgobLdqaBtmpLk5roC7udKGfhSleka+NEylSLS4HRkuE5LCIKTZSRg== X-Received: by 2002:ac2:4477:0:b0:4eb:2ac1:52a6 with SMTP id y23-20020ac24477000000b004eb2ac152a6mr664019lfl.36.1680867543255; Fri, 07 Apr 2023 04:39:03 -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 a21-20020ac25215000000b004ec55a15b39sm494118lfl.110.2023.04.07.04.39.02 for <59882@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Apr 2023 04:39:02 -0700 (PDT) Content-Language: en-US In-Reply-To: <5c84a074-4bfd-06e4-b07b-9f53d12ddd7f@gmail.com> 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:259396 Archived-At: On 06/04/2023 22:02, Max Nikulin wrote: > It is not a Debian packaging issue. I have reproduced the "invalid > function `org-assert-version'" bug using emacs built from emacs-28.2 git > tag. It is important to execute "make install" and to launch emacs from > from that directory. > > I have no idea why behavior is different when emacs is launched from the > build tree. When installed, built-in Org contains .elc and .el.gz files, but not .el ones. When uncompressed source .el files are present in $prefix/share/emacs-28.2/lisp/org (gunzip --keep *.el.gz) then the Org ELPA package compiles without warnings and errors related to `org-assert-version' (There is still a single warning though that does not lead to later failure during loading). It seems new .el files are ignored when built-in directory contains no .el files. Definitions from the built-in .elc files are used during compilation in such case.