From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bhavin Gandhi Newsgroups: gmane.emacs.bugs,gmane.emacs.orgmode Subject: bug#59882: Multiple versions of Org in load-path problem Date: Tue, 21 Feb 2023 22:56:49 +0530 Message-ID: References: <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> <86zg9upl8h.fsf@gmail.com> <87pmabyi2r.fsf@no.workgroup> <7d11b200-9ee5-8114-ab22-adce32c68323@gmail.com> <83mt57td08.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32590"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-orgmode@gnu.org, 59882@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 21 18:28:10 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 1pUWQy-00089p-NC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Feb 2023 18:28:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUWQt-0000Lc-Os; Tue, 21 Feb 2023 12:28:03 -0500 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 1pUWQs-0000Ep-Do for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 12:28:02 -0500 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 1pUWQs-0000ry-5X for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 12:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUWQs-00004u-1L for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 12:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bhavin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Feb 2023 17:28: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.167700045632736 (code B ref 59882); Tue, 21 Feb 2023 17:28:01 +0000 Original-Received: (at 59882) by debbugs.gnu.org; 21 Feb 2023 17:27:36 +0000 Original-Received: from localhost ([127.0.0.1]:57202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUWQR-0008Vv-LX for submit@debbugs.gnu.org; Tue, 21 Feb 2023 12:27:35 -0500 Original-Received: from mail-yw1-f172.google.com ([209.85.128.172]:38909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUWQO-0008Vh-DH for 59882@debbugs.gnu.org; Tue, 21 Feb 2023 12:27:33 -0500 Original-Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-536c2a1cc07so59287117b3.5 for <59882@debbugs.gnu.org>; Tue, 21 Feb 2023 09:27:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jtYwxjnt578SDO7hNfLhfTdnE+LhMNYAT+Qv9b9odiM=; b=FuTAyxoYvJ1HcyX6iPgNO3me730hGryYdrVKo5KU8+KyqEyz/+pZzKd4dlJ3A+Wz+R Qu5rIOWxcOpThrj+//k3sigj+/kOe4GP2P50Y3qSUmDKOQJTAEtFQwLaZ3vrfYzQEcU1 qGR9MceEESewTRFIWvl2eEZlD0YlAYhUisIt8ddyQguv9ySXAkIzQLjgxaPwddhV8Iwc fvwFIr+ch3396r8eLptGjQnHXLTaDC/hrqUv2DL795IHeBsCoLo0dv2nXwW6xP0CdQwq 48T/gCBBdXRqQqLiSgrpPbfoVGCgfT7YB0+TculqL3v+0DODy/bXs9r8N8YHob1AZvsq hOzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jtYwxjnt578SDO7hNfLhfTdnE+LhMNYAT+Qv9b9odiM=; b=efxbWrH8N2b3ItwqDaQKy/sCJESm070hQ0bLSHgl17KInHsfsjymLJOiXf7y6qQPkP 6fA6NaEz8VYCfTFdponAbVmdYTH+so5zYwRSt9/GK42pauH9L0mC88CKG3MF4dq1yFyY zwaO/K0j60VGwC8f5OKBIK789EH9SL7sqwq79hiRe6/c7g68fR3Jb02UE74LSt+B1bIc Momt/abBFjrCPpfYKPQucCNU/FYaau0Qc2GOAJvKOOlDPjW5RTlgl1HmY7KlrcTKXmOM AZhHoNqGPZkTYUthZ2OcjMzPzgNEQl0ZSM6U/QsL9sXVPgWwUHEGhYEyWd1WJyh+0NIK nQlQ== X-Gm-Message-State: AO0yUKXNEVrs2obebv8RnsKbAq1DXEO1QqoAZN/UdWZh99UR0inLL8lw xYwwRK34zAUxBK13hi0xKdP0lvhb7PiT5LBIuWsIpr9OVwI= X-Received: by 2002:a0d:e3c4:0:b0:52e:f797:17d8 with SMTP id m187-20020a0de3c4000000b0052ef79717d8mt1942157ywe.286.1677000445766; Tue, 21 Feb 2023 09:27:25 -0800 (PST) In-Reply-To: <83mt57td08.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:256306 gmane.emacs.orgmode:153458 Archived-At: On Fri, 3 Feb 2023 at 16:35, Ihor Radchenko wrote: > > Max Nikulin writes: > > > On 27/12/2022 16:47, Ihor Radchenko wrote: > >> Can you then try to test using Emacs 28? > >> The main question if whether this has been fixed in newer Emacs releas= es > >> or it is also something to do with OS environment. > > > > I see quite the same issue with Emacs-28.2 in Debian testing. Compile > > buffer displays a bit more warnings and usual `org-assert-version' > > warnings and errors are present as well. It might have another level of > > complexity due to .eln files. I am unsure what happens with calls to > > undefined macros. > > I asked people around to test using Debian, and we do have a > confirmation that Debian + Emacs 27 and Debian + Emacs 28 do trigger the > error. > > I also installed Debian 11.6.0 on virtual machine, and I was also able to > trigger the error, following the provided steps, using the Emacs 27 > installed via apt-get. > > The problem seems to be real and appears to be some combination of > Debian/Ubuntu + Emacs. I'm able to reproduce this on Fedora 37, Emacs 28.2. In Fedora we have: - /usr/share/emacs/site-lisp/site-start.el (has code to load .el and .elc from /usr/share/emacs/site-lisp/site-start.d). - /usr/share/emacs/site-lisp/default.el (sets smime-CA-directory). There are other patches but most of them are backports and seem to be unrelated to package.el: https://src.fedoraproject.org/rpms/emacs/tree/rawhide Steps using with-emacs.sh (https://github.com/alphapapa/with-emacs.sh): 1. mkdir /tmp/emacs-59882 2. with-emacs.sh -d /tmp/emacs-59882 -- -l org 3. M-x package-list-packages 4. Install Org 9.6.1 from ELPA 5. When the package is compiled you get this error at the end (it is there multiple times) ox.el:82:1: Error: Symbol=E2=80=99s function definition is void: org-ass= ert-version 6. Close Emacs and start it again with with-emacs.sh -d /tmp/emacs-59882 -- -l org 7. I get byte-code: Invalid function: org-assert-version --=20 Bhavin Gandhi (bhavin192) | https://geeksocket.in