From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Org breakage after rebuilding from Git Date: Fri, 19 May 2023 09:20:11 +0200 Message-ID: <87sfbs91iu.fsf@gnu.org> References: <83lehlvfdo.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="2879"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.6; emacs 30.0.50 Cc: "T.V Raman" , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 19 10:20:50 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pzvM1-0000av-M6 for ged-emacs-devel@m.gmane-mx.org; Fri, 19 May 2023 10:20:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzvL3-0003Mz-R8; Fri, 19 May 2023 04:19:49 -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 1pzvL1-0003Md-MS for emacs-devel@gnu.org; Fri, 19 May 2023 04:19:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzvL1-0002MC-Bj; Fri, 19 May 2023 04:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=wuoi9hc4bDWarIrKutz3COG8aaWJ6WZJM/qvXRgOr6c=; b=UJpe5rvzvLaXA0 j4Uu4O3ok0jhPq47BA+dL2RtDELIrq6jSEU/MRBYqRFYDEQG7YNTKOHfVPcr1Iwk62POiyIZdfY82 p4Tikgh4arcSCzh79AQoR3pMHLgKCG9RasOWX777eiy0Y44pQy3nF04p0ZSTaymAyYLabk92GOrsP kJg5YlJjN3VPuLpo7xVRv4QonccdNDRUyCGhSP28ANDJP1CkEE3yB17/uISWHnXpv7uc8+6pIg67I 4X9t2fs/RmEVhvKXRL9gR9DaiN9ogPz/hr40OR+kFLeygvPxHfZjNqxtdJNr1UJzj5+GGvFix2zqT bveVpp0EWttKlnJ4+IWA==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzvKg-0000aC-5k; Fri, 19 May 2023 04:19:46 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id EA0CE27C0054; Fri, 19 May 2023 04:19:23 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 19 May 2023 04:19:23 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeihedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvvefuffgjkfggtgfgsehtqhertddtreejnecuhfhrohhmpefvrghs shhilhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnh epgfettdduiedvhfffhfefhfevhfeuvdehjeejfeelffehkeffuedthffgjeeihfegnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnh domhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeeh vdelkedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 May 2023 04:19:23 -0400 (EDT) In-reply-to: <83lehlvfdo.fsf@gnu.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306201 Archived-At: Eli Zaretskii writes: >> Debugger entered--Lisp error: (error "Org version mismatch. Make >> sure that correct =E2=80=98loa...") (signal error ("Org version mismatc= h. >> Make sure that correct =E2=80=98loa...")) (error "Org version mismatch. >> Make sure that correct `loa...") > > Remove all the *.elc files in lisp/org, then rebuild Emacs, and the > problem should go away. I've had this issue when building emacs, too, and you informed me that there's a fix in master for that. And indeed, emacs now builds fine. However, my personal update script goes 1. cd ~/Repos/el/emacs/ && git pull && make 2. ~/Repos/el/emacs/src/emacs -batch -l ~/.emacs.d/init.el -f package-upg= rade-all so now instead of failing in step 1 on org changes, I fail in step 2 (probably because my init.el somehow loads org) which is not better. Is the fix really about deferring the error from compile time to runtime? That would help users who never ever load org, I guess, but even for sporadic users of small parts of it like me, it's actually worse. I guess I could add some check to my update script like src/emacs --batch --eval "(require 'org)" || begin rm lisp/org/*.elc && m= ake; end between step 1 and 2... Bye, Tassilo