From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Org mode update breaking build? Date: Wed, 3 May 2023 15:55:55 +0000 Message-ID: References: <00b52cc1-b0ac-a0c0-c91d-33a7213e9881@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2175"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Tobias Bading Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 03 17:57:12 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 1puEqu-0000RN-1T for ged-emacs-devel@m.gmane-mx.org; Wed, 03 May 2023 17:57:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puEqA-0001Z9-NY; Wed, 03 May 2023 11:56:26 -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 1puEq8-0001Yw-46 for emacs-devel@gnu.org; Wed, 03 May 2023 11:56:24 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puEpu-00080L-Iq for emacs-devel@gnu.org; Wed, 03 May 2023 11:56:23 -0400 Original-Received: (qmail 851 invoked by uid 3782); 3 May 2023 17:55:56 +0200 Original-Received: from acm.muc.de (pd953aedc.dip0.t-ipconnect.de [217.83.174.220]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 03 May 2023 17:55:56 +0200 Original-Received: (qmail 4898 invoked by uid 1000); 3 May 2023 15:55:55 -0000 Content-Disposition: inline In-Reply-To: <00b52cc1-b0ac-a0c0-c91d-33a7213e9881@web.de> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.5; envelope-from=acm@muc.de; helo=mx3.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:305784 Archived-At: Hello, Tobias. On Wed, May 03, 2023 at 17:26:05 +0200, Tobias Bading wrote: > Grrr. Is it normal that Org updates break builds? For me, it has become normal. I'm not happy about it. > I had a Git worktree with a clean checkout and build of Emacs 29 — > 933705d61e according to the reflog. Just now I fetched the latest Emacs 29 > changes and tried to build 21ec6c1d5c using the usual “nice make -j4”, > resulting in a *huge* wall of text. Something along the lines of > --- %< --- > Warning (emacs): Org version mismatch.  Org loading aborted. > This warning usually appears when a built-in Org version is loaded > prior to the more recent Org version. > Version mismatch is commonly encountered in the following situations: I don't use org, and I don't understand why I should be expected to debug its breaking of the build. In practice, I have to do make bootstrap every time I update my repositories. I would have thought a warning from org, not an error, would be appropriate, here. > […] > In toplevel form: > org/ob-core.el:31:2: Error: Org version mismatch.  Make sure that correct ‘load-path’ is set early in init.el > make[3]: *** [Makefile:332: org/ob-core.elc] Error 1 > make[3]: *** Waiting for unfinished jobs.... > --- >% --- > A “git clean -fdx -e .ccls-cache -e compile_commands.json -e TAGS” plus > “./autogen.sh” plus “configure […]” plus “nice make -j4” later I have a > working clean Emacs 29 again. > But of course the same happens again in my hacked worktree. So this time I > try “make distclean” for a change — plus the whole autogen, configure, > make aria again. And guess what… the error is still there! > Is that normal? Why is snowflake Org breaking GNU Make? I hope an org maintainer will explain this again. I've got a feeling the topic came up in emacs-devel some days ago. > Tobias > PS: please keep me CC’d, thanks -- Alan Mackenzie (Nuremberg, Germany).