From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62762: 'make' often errors with "Org version mismatch" after pulling a new version of the code Date: Fri, 21 Apr 2023 14:44:03 +0300 Message-ID: <83edod4fzw.fsf@gnu.org> References: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> <837cujaqzq.fsf@gnu.org> <87wn2ilwed.fsf@localhost> <83zg7ealrd.fsf@gnu.org> <87pm8a8dx4.fsf@localhost> <8335569rs7.fsf@gnu.org> <87jzyi8cu2.fsf@localhost> <83wn2i8bht.fsf@gnu.org> <875ya18oaz.fsf@localhost> <83zg7d78wv.fsf@gnu.org> <87fs94faes.fsf@localhost> <83zg7c41qq.fsf@gnu.org> <87h6tjeuei.fsf@localhost> <83o7nr4yrp.fsf@gnu.org> <87a5zb7rgu.fsf@localhost> <83pm85ctf5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40422"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 62762@debbugs.gnu.org To: yantar92@posteo.net, bzg@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 21 13:44:27 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 1pppBi-000AKJ-RU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Apr 2023 13:44:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pppBO-0003jK-9y; Fri, 21 Apr 2023 07:44:06 -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 1pppBK-0003j4-N1 for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2023 07:44:02 -0400 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 1pppBJ-0001ns-W8 for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2023 07:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pppBJ-0000e3-NS for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2023 07:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Apr 2023 11:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62762 X-GNU-PR-Package: emacs Original-Received: via spool by 62762-submit@debbugs.gnu.org id=B62762.16820774382463 (code B ref 62762); Fri, 21 Apr 2023 11:44:01 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 21 Apr 2023 11:43:58 +0000 Original-Received: from localhost ([127.0.0.1]:39494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pppBF-0000de-QA for submit@debbugs.gnu.org; Fri, 21 Apr 2023 07:43:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pppBD-0000dQ-Cq for 62762@debbugs.gnu.org; Fri, 21 Apr 2023 07:43:56 -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 1pppB6-0001m8-TV; Fri, 21 Apr 2023 07:43:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dTQQunOPLwtQGVZZyOduQhU/M18iDIRDVrsaCzulVSk=; b=FwOonCBpb7WE vgfFJ244swj57wj6RL0AsRplHpKm9bBIvBArffK4N6qrQxQy2kaQR99ABt6JKpDq9foUdUbf4AmkG NroNgFix1//twOrtaMTXQXp0gF1o/ORW6hlOaYo/dVoOz1eiOot7r05OxL5E9rrkvlnDFMgkEG1No H/t8p04Nye2yj01hSMX8kTX/SLTM3hTlRmmj83A15j5awNyVq+1VlvFsbLJ+k/fVusIUsWop4Octt TfYLslf45n12K1rvyUPLgGAX9yvnp4sLwrerGkLzWYHr055dG3AUAD2vW+kbrFfTX1xn6QzgFsJKi CESv1wbGFdbGTFgaciwhhw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pppB6-0003s6-9A; Fri, 21 Apr 2023 07:43:48 -0400 In-Reply-To: <83pm85ctf5.fsf@gnu.org> (message from Eli Zaretskii on Sat, 15 Apr 2023 13:48:46 +0300) 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:260377 Archived-At: > Cc: bzg@gnu.org, dmitry@gutov.dev, 62762@debbugs.gnu.org > Date: Sat, 15 Apr 2023 13:48:46 +0300 > From: Eli Zaretskii > > > From: Ihor Radchenko > > Cc: dmitry@gutov.dev, bzg@gnu.org, 62762@debbugs.gnu.org > > Date: Thu, 13 Apr 2023 15:05:21 +0000 > > > > Eli Zaretskii writes: > > > > >> See the attached. > > >> On Emacs side, `org--built-in-p' will need to be set during compilation. > > > > > > LGTM, will soon incorporate this in our build system. > > > > Once you confirm that my patch + your build system update fixes the > > problem, I will push to Org bugfix and bump a minor bugfix release. > > I've now installed the change on master. > > I wonder why org--built-in-p is a defconst, though: shouldn't it be a > defvar instead? This doesn't seem to work as expected here? Here's what I get with the latest update from master: '../src/emacs.exe' -batch --no-site-file --no-site-lisp --eval "(setq load-prefer-newer t byte-compile-warnings 'all)" --eval "(setq org--built-in-p t)" -f batch-byte-compile org/org-element.el 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: This seems to indicate that the compilation is aborted even though the command line sets org--built-in-p non-nil. What went wrong here?