From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#59882: 30.0.50; Compilation of ELPA packages during version upgrade (Org 9.6 ELPA upgrade from older ELPA version) Date: Wed, 07 Dec 2022 11:36:07 +0000 Message-ID: <87mt7zh2e0.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9494"; mail-complaints-to="usenet@ciao.gmane.io" To: 59882@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 07 12:37:16 2022 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 1p2sji-0002Br-Oo for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Dec 2022 12:37:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2sjc-0004QJ-0Q; Wed, 07 Dec 2022 06:37:08 -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 1p2sjW-0004Ol-IE for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 06:37: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 1p2sjW-0003MV-AD for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 06:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2sjW-0003Sy-4w for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 06:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Dec 2022 11:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59882 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.167041299313265 (code B ref -1); Wed, 07 Dec 2022 11:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Dec 2022 11:36:33 +0000 Original-Received: from localhost ([127.0.0.1]:49821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2sj2-0003Rt-WA for submit@debbugs.gnu.org; Wed, 07 Dec 2022 06:36:33 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2siy-0003Rd-HL for submit@debbugs.gnu.org; Wed, 07 Dec 2022 06:36:31 -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 1p2siy-0004Nj-6i for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 06:36:28 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2sin-0003Cy-4D for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 06:36:27 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 42BF1240026 for ; Wed, 7 Dec 2022 12:36:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670412975; bh=oXG8/LSRLrn+C3pitiNx2QdsS88M9iCOKhys65p2GE4=; h=From:To:Subject:Date:From; b=a2HyNgZm67pZQV+k/r9yq9uvCEktF4jaheizgSwWrL24pcpFy2RN0xcHubVKzfX/V /meoDIxvbY4F0qUaMG/YgXSJdunWaEQtB2cGXg4Vvs8BXKQaqVw5StSGDCwysDFyx1 lSeCd/dCVjCr5YglQrPEAlkwouaWVcf303LQUkM08v6CWsfmgeP+2lI44PnrFwCfZl 0ftu0FIfp7gnG70BqxhgbIyyuBdASY+LuSG2YKjiFVKinodJCcRiDV8E3rjqME3JNy x6+l9jlqq5AuQRV/r58FfPMnLYYOR6v3AlFETnb1+Syx6aUzcwlJVZPYClKOnrPViz fuUOcfzRshaEw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NRwGN1DLhz9rxN for ; Wed, 7 Dec 2022 12:36:11 +0100 (CET) Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=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:250184 Archived-At: Hi, I am writing as a follow-up of numerous errors reports on Org 9.6 upgrades. Users commonly report issues upgrading Org mode via ELPA when an older, non-built-in, version of Org is already installed and loaded. The issue is well described in https://irreal.org/blog/?p=10996 People are commonly getting "invalid function `org-assert-version'", which indicates compilation issue when `org-assert-version' macro is not correctly recognized as a macro. Similar errors have been reported in the past Org upgrades when we introduced/changes some basic macros in Org. I am not yet sure about the source of the error, but I suspect that it might be something to do with package.el. May it be that M-x package-install / package-reinstall does not unload the old package versions upon installation? Or maybe there are some stale .elc files lying around? Any other ideas? P.S. Please, do not be diverted by the purpose of `org-assert-version' macro. The origin of the error has nothing to do with it and could as well happen with any other macro. It is just that we put this particular macro into all the Org libraries now, making the problem obvious. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at