GNU bug report logs -
#66287
Emacs cannot build by default (macOS)
Previous Next
Reported by: asocial-hired.0l <at> icloud.com
Date: Sat, 30 Sep 2023 23:48:02 UTC
Severity: normal
Tags: notabug
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66287 in the body.
You can then email your comments to 66287 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66287
; Package
emacs
.
(Sat, 30 Sep 2023 23:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
asocial-hired.0l <at> icloud.com
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 30 Sep 2023 23:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66287
; Package
emacs
.
(Sun, 01 Oct 2023 05:28:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 66287 <at> debbugs.gnu.org (full text, mbox):
tags 66287 notabug
thanks
> Date: Sat, 30 Sep 2023 16:46:29 -0700
> From: asocial-hired.0l--- via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> 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.
>
> 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.
You need to remove all the *.elc files in lisp/org/, and say "make
again.
This is not a bug.
Added tag(s) notabug.
Request was from
Eli Zaretskii <eliz <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 01 Oct 2023 05:28:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Stefan Kangas <stefankangas <at> gmail.com>
:
You have taken responsibility.
(Fri, 22 Dec 2023 14:59:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
asocial-hired.0l <at> icloud.com
:
bug acknowledged by developer.
(Fri, 22 Dec 2023 14:59:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 66287-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> tags 66287 notabug
> thanks
>
>> Date: Sat, 30 Sep 2023 16:46:29 -0700
>> From: asocial-hired.0l--- via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>> 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.
>>
>> 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.
>
> You need to remove all the *.elc files in lisp/org/, and say "make
> again.
>
> This is not a bug.
I'm therefore closing this bug report.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 20 Jan 2024 12:24:23 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.