From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "l@tlo" Newsgroups: gmane.emacs.devel Subject: "Org version mismatch." when building emacs Date: Fri, 5 May 2023 10:47:40 +0900 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) 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="1977"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 05 03:48:46 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 1pukYv-0000Iu-8C for ged-emacs-devel@m.gmane-mx.org; Fri, 05 May 2023 03:48:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pukYB-00074Z-F2; Thu, 04 May 2023 21:47:59 -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 1pukYA-00074O-FW for emacs-devel@gnu.org; Thu, 04 May 2023 21:47:58 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pukY3-0000rH-DJ for emacs-devel@gnu.org; Thu, 04 May 2023 21:47:54 -0400 Original-Received: (Authenticated sender: lists@traduction-libre.org) by mail.gandi.net (Postfix) with ESMTPSA id D39EEE0005 for ; Fri, 5 May 2023 01:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traduction-libre.org; s=gm1; t=1683251266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zs1OHYvB3qjGu1wAv7plhVUUB1Fy0cprRbt9AQTAHN4=; b=miN3d4SHuV7D1ANqzoUKgwlMOSR8+WkCqr8tth+t6GGa9ic4WnUOxMISCxjJ3TWwNeZDEA XbYea6nrZG9pQHQ3SrrLynmaTk6AaCQ9g/5M5sa6CVLfdKHcQ/jkTWiZ1yzCt5FcIeFvXm RUAK1sOTQTbniY2So/Smoaze2zUPaLHejwNV1E0AT1YJwjHFaABQ7qywwrHbkaGttWlH70 plrUMQInkoTAqv6s2wlQbdJ77etCIwU96nliZKXotZIAPXu3BADJgD9eRTrA3n7DCMDa3a N0pnn82dAKtKwam4jAEbwSqbeCZgTH8IMDuD26/diY6bNg5zPOtlpBC3onno5w== X-Mailer: Apple Mail (2.3696.120.41.1.3) Received-SPF: pass client-ip=217.70.183.196; envelope-from=lists@traduction-libre.org; helo=relay4-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:305843 Archived-At: I just pulled the code in master, did ./autogen.sh and ./configure to be = on the safe side and "make" gives me this: org/ox-texinfo.el:33:2: Error: Org version mismatch. Make sure that = correct =E2=80=98load-path=E2=80=99 is set early in init.el make[3]: *** [org/ox-texinfo.elc] Error 1 make[2]: *** [main-first] Error 2 make[1]: *** [lisp] Error 2 I read the explanations given with the error message: > Version mismatch is commonly encountered in the following situations: >=20 > 1. Emacs is loaded using literate Org config and more recent Org > version is loaded inside the file loaded by = =E2=80=98org-babel-load-file=E2=80=99. > =E2=80=98org-babel-load-file=E2=80=99 triggers the built-in Org = version clashing > the newer Org version attempt to be loaded later. >=20 > It is recommended to move the Org loading code before the > =E2=80=98org-babel-load-file=E2=80=99 call. ??? I don't use org-babel, I don't load Emacs with a literate Org config = file. > 2. New Org version is loaded manually by setting =E2=80=98load-path=E2=80= =99, but some > other package depending on Org is loaded before the =E2=80=98load-pat= h=E2=80=99 is > configured. > This "other package" is triggering built-in Org version, again > causing the version mismatch. >=20 > It is recommended to set =E2=80=98load-path=E2=80=99 as early in = the config as > possible. I only use the built-in version or Org, and I'm not sure why that = matters since I'm trying to build from the source code. > 3. New Org version is loaded using straight.el package manager and > other package depending on Org is loaded before straight triggers > loading of the newer Org version. >=20 > It is recommended to put >=20 > (straight-use-package 'org) >=20 > early in the config. Ideally, right after the straight.el > bootstrap. Moving =E2=80=98use-package=E2=80=99 :straight = declaration may not be > sufficient if the corresponding =E2=80=98use-package=E2=80=99 = statement is > deferring the loading. I only use the built-in version or Org, and I'm not sure why that = matters since I'm trying to build from the source code. Any idea what is happening here? --=20 Jean-Christophe Helary @jchelary@emacs.ch https://traductaire-libre.org https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/