unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: asocial-hired.0l--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 66287@debbugs.gnu.org
Subject: bug#66287: Emacs cannot build by default (macOS)
Date: Sat, 30 Sep 2023 16:46:29 -0700	[thread overview]
Message-ID: <4986B7A8-0450-4DC1-AA41-0F1A89FA487B@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2755 bytes --]

Here is what I ran:

export CC=clang
./autogen.sh
./configure [options]
make

And I get:

———— Start ————

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:

1. Emacs is loaded using literate Org config and more recent Org
   version is loaded inside the file loaded by ‘org-babel-load-file’.
   ‘org-babel-load-file’ triggers the built-in Org version clashing
   the newer Org version attempt to be loaded later.

   It is recommended to move the Org loading code before the
   ‘org-babel-load-file’ call.

2. New Org version is loaded manually by setting ‘load-path’, but some
   other package depending on Org is loaded before the ‘load-path’ is
   configured.
   This "other package" is triggering built-in Org version, again
   causing the version mismatch.

   It is recommended to set ‘load-path’ as early in the config as
   possible.

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.

   It is recommended to put

    (straight-use-package 'org)

   early in the config.  Ideally, right after the straight.el
   bootstrap.  Moving ‘use-package’ :straight declaration may not be
   sufficient if the corresponding ‘use-package’ statement is
   deferring the loading.

Error: error ("gnus/gnus-icalendar.el" "Org version mismatch.  Make sure that correct ‘load-path’ is set early in init.el")
  mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0xcc2590e78512f81>))
  debug-early-backtrace()
  debug-early(error (error "gnus/gnus-icalendar.el" "Org version mismatch.  Make sure that correct ‘load-path’ is set early in init.el"))
  signal(error ("gnus/gnus-icalendar.el" "Org version mismatch.  Make sure that correct ‘load-path’ is set early in init.el"))
  comp--native-compile("gnus/gnus-icalendar.el")
  batch-native-compile(t)
  command-line-1(("--eval" "(setq load-prefer-newer t byte-compile-warnings 'all)" "-l" "comp" "-f" "byte-compile-refresh-preloaded" "--eval" "(batch-native-compile t)" "gnus/gnus-icalendar.el"))
  command-line()
  normal-top-level()
gnus/gnus-icalendar.el: "Org version mismatch.  Make sure that correct ‘load-path’ is set early in init.el”

———— End ————

In the past, I’ve built with no issues. I recently upgraded to MacOS 14 and am building to get rid of issue from bug 66245. Running ‘make bootstrap’ caused it to build correctly.

[-- Attachment #2: Type: text/html, Size: 31056 bytes --]

             reply	other threads:[~2023-09-30 23:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-30 23:46 asocial-hired.0l--- via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-10-01  5:27 ` bug#66287: Emacs cannot build by default (macOS) Eli Zaretskii
2023-12-22 14:58   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4986B7A8-0450-4DC1-AA41-0F1A89FA487B@gmail.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=66287@debbugs.gnu.org \
    --cc=asocial-hired.0l@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).