* org-mode compile issue this morning - how to report this?
@ 2022-08-22 19:36 Daniel Ortmann
2022-08-23 2:26 ` Ihor Radchenko
0 siblings, 1 reply; 9+ messages in thread
From: Daniel Ortmann @ 2022-08-22 19:36 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Org-mode
[-- Attachment #1: Type: text/plain, Size: 4050 bytes --]
Hello,
This morning I can't get org-mode to compile and load at all. And the
bug reporting is not working.
What to do?
Thank you!
Here are this morning's messages:
make -C lisp compile
make[1]: Entering directory '/home/dortmann/src/git-org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
org-install.elc
org-version: 9.5.4 (release_9.5.4-756-g090dac)
Loading /home/dortmann/src/git-org-mode/lisp/org-compat.el (source)...
Error: error ("Eager macro-expansion failure: (void-function
byte-compile-warn-obsolete)")
mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode
-0x9324d572c510f29>))
debug-early-backtrace()
debug-early(error (error "Eager macro-expansion failure:
(void-function byte-compile-warn-obsolete)"))
signal(error ("Eager macro-expansion failure: (void-function
byte-compile-warn-obsolete)"))
error("Eager macro-expansion failure: %S" (void-function
byte-compile-warn-obsolete))
internal-macroexpand-for-load((defalias 'org-string-width #'(lambda
(string &optional pixels) "Return width of STRING when displayed in the
current buffer.\nReturn width in pixels when PIXELS is non-nil." (if
(and (version< emacs-version "28") (not pixels)) (org--string-width-1
string) (remove-text-properties 0 (length string) '(wrap-prefix t
line-prefix t) string) (unless pixels (remove-text-properties 0 (length
string) '(face t) string)) (let ((current-invisibility-spec (or (and
(not (listp buffer-invisibility-spec)) buffer-invisibility-spec) (let
(result) (dolist (el buffer-invisibility-spec) (unless (or (memq el
'(org-fold-drawer org-fold-block org-fold-outline)) (and (listp el)
(memq (car el) '(org-fold-drawer org-fold-block org-fold-outline))))
(push el result))) result))) (current-char-property-alias-alist
char-property-alias-alist)) (with-temp-buffer (setq-local
display-line-numbers nil) (setq-local buffer-invisibility-spec (if
(listp current-invisibility-spec) (mapcar (lambda (el) (if (and (consp
el) (cdr el)) (list (car el)) el)) current-invisibility-spec)
current-invisibility-spec)) (setq-local char-property-alias-alist
current-char-property-alias-alist) (let (pixel-width symbol-width)
(with-silent-modifications (setf (buffer-string) string) (setq
pixel-width (if (get-buffer-window (current-buffer)) (car
(window-text-pixel-size nil (line-beginning-position) (point-max)))
(set-window-buffer nil (current-buffer)) (car (window-text-pixel-size
nil (line-beginning-position) (point-max))))) (unless pixels (setf
(buffer-string) "a") (setq symbol-width (if (get-buffer-window
(current-buffer)) (car (window-text-pixel-size nil
(line-beginning-position) (point-max))) (set-window-buffer nil
(current-buffer)) (car (window-text-pixel-size nil
(line-beginning-position) (point-max))))))) (if pixels pixel-width (/
pixel-width symbol-width)))))))) t)
eval-buffer(#<buffer *load*-247083> nil
"/home/dortmann/src/git-org-mode/lisp/org-macs.el" nil t)
load-with-code-conversion("/home/dortmann/src/git-org-mode/lisp/org-macs.el"
"/home/dortmann/src/git-org-mode/lisp/org-macs.el" nil t)
require(org-macs)
eval-buffer(#<buffer *load*> nil
"/home/dortmann/src/git-org-mode/lisp/org-compat.el" nil t)
load-with-code-conversion("/home/dortmann/src/git-org-mode/lisp/org-compat.el"
"/home/dortmann/src/git-org-mode/lisp/org-compat.el" nil nil)
load("org-compat.el")
eval((load "org-compat.el") t)
command-line-1(("--eval" "(setq vc-handled-backends nil
org-startup-folded nil org-element-cache-persistent nil)" "--eval"
"(add-to-list 'load-path \".\")" "--eval" "(load \"org-compat.el\")"
"--eval" "(load \"../mk/org-fixup.el\")" "--eval" "(org-make-org-version
\"9.5.4\" \"release_9.5.4-756-g090dac\")"))
command-line()
normal-top-level()
Eager macro-expansion failure: (void-function byte-compile-warn-obsolete)
make[1]: *** [Makefile:72: org-version.el] Error 255
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/lisp'
make: *** [mk/targets.mk:96: compile] Error 2
[-- Attachment #2: Type: text/html, Size: 5402 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org-mode compile issue this morning - how to report this?
2022-08-22 19:36 org-mode compile issue this morning - how to report this? Daniel Ortmann
@ 2022-08-23 2:26 ` Ihor Radchenko
2022-08-23 6:38 ` Tim Cross
0 siblings, 1 reply; 9+ messages in thread
From: Ihor Radchenko @ 2022-08-23 2:26 UTC (permalink / raw)
To: Daniel Ortmann; +Cc: Org-mode
Daniel Ortmann <daniel.ortmann@oracle.com> writes:
> This morning I can't get org-mode to compile and load at all. And the
> bug reporting is not working.
>
> What to do?
>
> Thank you!
>
> Here are this morning's messages:
>
> make -C lisp compile
What if you just run "make" from inside the Org repo?
What is your Emacs version?
--
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org-mode compile issue this morning - how to report this?
2022-08-23 2:26 ` Ihor Radchenko
@ 2022-08-23 6:38 ` Tim Cross
2022-08-23 7:28 ` Ihor Radchenko
0 siblings, 1 reply; 9+ messages in thread
From: Tim Cross @ 2022-08-23 6:38 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Daniel Ortmann, emacs-orgmode
Ihor Radchenko <yantar92@gmail.com> writes:
> Daniel Ortmann <daniel.ortmann@oracle.com> writes:
>
>> This morning I can't get org-mode to compile and load at all. And the
>> bug reporting is not working.
>>
>> What to do?
>>
>> Thank you!
>>
>> Here are this morning's messages:
>>
>> make -C lisp compile
>
> What if you just run "make" from inside the Org repo?
> What is your Emacs version?
I tried this and it failed wiht the same error i.e.
Eager macro-expansion failure: (void-function byte-compile-warn-obsolete)
make[1]: *** [Makefile:72: org-version.el] Error 255
make[1]: Leaving directory '/home/tim/git/org-mode/lisp'
make: *** [mk/targets.mk:96: compile] Error 2
This is with Emacs built from current git head
GNU Emacs 29.0.50 (build 5, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.17.6, Xaw3d scroll bars) of 2022-08-22
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: org-mode compile issue this morning - how to report this?
2022-08-23 6:38 ` Tim Cross
@ 2022-08-23 7:28 ` Ihor Radchenko
2022-08-24 22:15 ` [External] : " Daniel Ortmann
0 siblings, 1 reply; 9+ messages in thread
From: Ihor Radchenko @ 2022-08-23 7:28 UTC (permalink / raw)
To: Tim Cross; +Cc: Daniel Ortmann, emacs-orgmode
Tim Cross <theophilusx@gmail.com> writes:
> I tried this and it failed wiht the same error i.e.
>
> Eager macro-expansion failure: (void-function byte-compile-warn-obsolete)
> make[1]: *** [Makefile:72: org-version.el] Error 255
> make[1]: Leaving directory '/home/tim/git/org-mode/lisp'
> make: *** [mk/targets.mk:96: compile] Error 2
>
> This is with Emacs built from current git head
>
> GNU Emacs 29.0.50 (build 5, x86_64-pc-linux-gnu, X toolkit, cairo
> version 1.17.6, Xaw3d scroll bars) of 2022-08-22
I can reproduce, but it is likely Emacs issue. Please report to Emacs
devs.
--
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [External] : Re: org-mode compile issue this morning - how to report this?
2022-08-23 7:28 ` Ihor Radchenko
@ 2022-08-24 22:15 ` Daniel Ortmann
2022-08-25 14:36 ` Daniel Ortmann
0 siblings, 1 reply; 9+ messages in thread
From: Daniel Ortmann @ 2022-08-24 22:15 UTC (permalink / raw)
To: Ihor Radchenko, Tim Cross; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 6143 bytes --]
git bisect shows that this emacs commit is the problem (if I understand
correctly ... this is the first time I have used git bisect):
[6ddcf67052545a0f77233f1a952dc90e296cda35] Make it possible to mark
generalized variables as obsolete
Here is the bug report:
Subject: 29.0.50; emacs commit 6ddcf67052545a0f77233f1a952dc90e296cda35
causes org-mode build to fail
dortmann@ddo-linux:git-org-mode$ ( set -eu ; make clean ; make ; make
autoloads )
make -C lisp clean
make[1]: Entering directory '/home/dortmann/src/git-org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
org-install.elc
rm -f *.elc
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/lisp'
make -C doc clean
make[1]: Entering directory '/home/dortmann/src/git-org-mode/doc'
rm -f *.pdf *.html *.info *_letter.tex org-version.inc org-version.tex \
*.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs *.toc \
*.tp *.tps *.vr *.vrs *.log *.ps
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/doc'
make -C doc clean; make -C lisp clean;
make[1]: Entering directory '/home/dortmann/src/git-org-mode/doc'
rm -f *.pdf *.html *.info *_letter.tex org-version.inc org-version.tex \
*.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs *.toc \
*.tp *.tps *.vr *.vrs *.log *.ps
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/doc'
make[1]: Entering directory '/home/dortmann/src/git-org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
org-install.elc
rm -f *.elc
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/lisp'
make -C lisp compile
make[1]: Entering directory '/home/dortmann/src/git-org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
org-install.elc
org-version: 9.5.4 (release_9.5.4-758-g3c11e9)
Loading /home/dortmann/src/git-org-mode/lisp/org-compat.el (source)...
Error: error ("Eager macro-expansion failure: (void-function
byte-compile-warn-obsolete)")
debug-early-backtrace()
debug-early(error (error "Eager macro-expansion failure:
(void-function byte-compile-warn-obsolete)"))
error("Eager macro-expansion failure: %S" (void-function
byte-compile-warn-obsolete))
internal-macroexpand-for-load((defalias 'org-string-width #'(lambda
(string &optional pixels) "Return width of STRING when displayed in the
current buffer.\nReturn width in pixels when PIXELS is non-nil." (if
(and (version< emacs-version "28") (not pixels)) (org--string-width-1
string) (remove-text-properties 0 (length string) '(wrap-prefix t
line-prefix t) string) (unless pixels (remove-text-properties 0 (length
string) '(face t) string)) (let ((current-invisibility-spec (or (and
(not (listp buffer-invisibility-spec)) buffer-invisibility-spec) (let
(result) (dolist (el buffer-invisibility-spec) (unless (or (memq el
'(org-fold-drawer org-fold-block org-fold-outline)) (and (listp el)
(memq (car el) '(org-fold-drawer org-fold-block org-fold-outline))))
(push el result))) result))) (current-char-property-alias-alist
char-property-alias-alist)) (with-temp-buffer (setq-local
display-line-numbers nil) (setq-local buffer-invisibility-spec (if
(listp current-invisibility-spec) (mapcar (lambda (el) (if (and (consp
el) (cdr el)) (list (car el)) el)) current-invisibility-spec)
current-invisibility-spec)) (setq-local char-property-alias-alist
current-char-property-alias-alist) (let (pixel-width symbol-width)
(with-silent-modifications (setf (buffer-string) string) (setq
pixel-width (if (get-buffer-window (current-buffer)) (car
(window-text-pixel-size nil (line-beginning-position) (point-max)))
(set-window-buffer nil (current-buffer)) (car (window-text-pixel-size
nil (line-beginning-position) (point-max))))) (unless pixels (setf
(buffer-string) "a") (setq symbol-width (if (get-buffer-window
(current-buffer)) (car (window-text-pixel-size nil
(line-beginning-position) (point-max))) (set-window-buffer nil
(current-buffer)) (car (window-text-pixel-size nil
(line-beginning-position) (point-max))))))) (if pixels pixel-width (/
pixel-width symbol-width)))))))) t)
load-with-code-conversion("/home/dortmann/src/git-org-mode/lisp/org-macs.el"
"/home/dortmann/src/git-org-mode/lisp/org-macs.el" nil t)
require(org-macs)
load-with-code-conversion("/home/dortmann/src/git-org-mode/lisp/org-compat.el"
"/home/dortmann/src/git-org-mode/lisp/org-compat.el" nil nil)
load("org-compat.el")
command-line-1(("--eval" "(setq vc-handled-backends nil
org-startup-folded nil org-element-cache-persistent nil)" "--eval"
"(add-to-list 'load-path \".\")" "--eval" "(load \"org-compat.el\")"
"--eval" "(load \"../mk/org-fixup.el\")" "--eval" "(org-make-org-version
\"9.5.4\" \"release_9.5.4-758-g3c11e9\")"))
command-line()
normal-top-level()
Eager macro-expansion failure: (void-function byte-compile-warn-obsolete)
make[1]: *** [Makefile:72: org-version.el] Error 255
make[1]: Leaving directory '/home/dortmann/src/git-org-mode/lisp'
make: *** [mk/targets.mk:96: compile] Error 2
dortmann@ddo-linux:git-org-mode$ cd -
/home/dortmann/src/git-emacs-master
dortmann@ddo-linux:git-emacs-master$ git ^C
dortmann@ddo-linux:git-emacs-master$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[6ddcf67052545a0f77233f1a952dc90e296cda35] Make it possible to mark
generalized variables as obsolete
dortmann@ddo-linux:git-emacs-master$
On 8/23/22 02:28, Ihor Radchenko wrote:
> Tim Cross<theophilusx@gmail.com> writes:
>
>> I tried this and it failed wiht the same error i.e.
>>
>> Eager macro-expansion failure: (void-function byte-compile-warn-obsolete)
>> make[1]: *** [Makefile:72: org-version.el] Error 255
>> make[1]: Leaving directory '/home/tim/git/org-mode/lisp'
>> make: *** [mk/targets.mk:96: compile] Error 2
>>
>> This is with Emacs built from current git head
>>
>> GNU Emacs 29.0.50 (build 5, x86_64-pc-linux-gnu, X toolkit, cairo
>> version 1.17.6, Xaw3d scroll bars) of 2022-08-22
> I can reproduce, but it is likely Emacs issue. Please report to Emacs
> devs.
>
[-- Attachment #2: Type: text/html, Size: 8381 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [External] : Re: org-mode compile issue this morning - how to report this?
2022-08-24 22:15 ` [External] : " Daniel Ortmann
@ 2022-08-25 14:36 ` Daniel Ortmann
2022-08-25 17:37 ` Daniel Ortmann
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Daniel Ortmann @ 2022-08-25 14:36 UTC (permalink / raw)
To: Ihor Radchenko, Tim Cross; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 696 bytes --]
FYI,
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394
Lars at gnu says it is fixed in emacs 29
The bug's web page says, more specifically, "bug marked as fixed in
version 29.1"
... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't
see any 29.1 branches available.
I have not been able to test and verify the fix.
Thoughts?
Daniel Ortmann<daniel.ortmann@oracle.com> writes:
> Error: error ("Eager macro-expansion failure: (void-function
> byte-compile-warn-obsolete)")
> debug-early-backtrace()
> debug-early(error (error "Eager macro-expansion failure:
> (void-function byte-compile-warn-obsolete)"))
This should now be fixed in Emacs 29.
[-- Attachment #2: Type: text/html, Size: 1470 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [External] : Re: org-mode compile issue this morning - how to report this?
2022-08-25 14:36 ` Daniel Ortmann
@ 2022-08-25 17:37 ` Daniel Ortmann
2022-08-25 20:26 ` Gregor Zattler
2022-08-25 22:50 ` Tim Cross
2 siblings, 0 replies; 9+ messages in thread
From: Daniel Ortmann @ 2022-08-25 17:37 UTC (permalink / raw)
To: Ihor Radchenko, Tim Cross; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]
Fix confirmed! Everything works fine now with emacs 29.0.50. (Many
many new messages about obsolete functions.)
Thank you
GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.22.30,
cairo version 1.15.12) of 2022-08-25
Org mode version 9.5.4 (release_9.5.4-758-g3c11e9 @
/home/dortmann/src/git-org-mode/lisp/)
On 8/25/22 09:36, Daniel Ortmann wrote:
> FYI,
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394
>
> Lars at gnu says it is fixed in emacs 29
> The bug's web page says, more specifically, "bug marked as fixed in
> version 29.1"
>
> ... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't
> see any 29.1 branches available.
> I have not been able to test and verify the fix.
>
> Thoughts?
>
> Daniel Ortmann<daniel.ortmann@oracle.com> writes:
>
>> Error: error ("Eager macro-expansion failure: (void-function
>> byte-compile-warn-obsolete)")
>> debug-early-backtrace()
>> debug-early(error (error "Eager macro-expansion failure:
>> (void-function byte-compile-warn-obsolete)"))
>
> This should now be fixed in Emacs 29.
>
[-- Attachment #2: Type: text/html, Size: 2307 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [External] : Re: org-mode compile issue this morning - how to report this?
2022-08-25 14:36 ` Daniel Ortmann
2022-08-25 17:37 ` Daniel Ortmann
@ 2022-08-25 20:26 ` Gregor Zattler
2022-08-25 22:50 ` Tim Cross
2 siblings, 0 replies; 9+ messages in thread
From: Gregor Zattler @ 2022-08-25 20:26 UTC (permalink / raw)
To: Daniel Ortmann, Ihor Radchenko, Tim Cross; +Cc: emacs-orgmode
Hi Daniel,
* Daniel Ortmann <daniel.ortmann@oracle.com> [2022-08-25; 09:36 -05]:
> FYI,
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394
>
> Lars at gnu says it is fixed in emacs 29
> The bug's web page says, more specifically, "bug marked as fixed in
> version 29.1"
>
> ... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't
> see any 29.1 branches available.
> I have not been able to test and verify the fix.
it's this commit on the emacs master branch:
commit b28b2cefaea0d7846ab9a45dc92f68ad00e92085
Author: Lars Ingebrigtsen <larsi@gnus.org>
Date: Thu Aug 25 14:54:49 2022 +0200
Fix warning about obsoleted generalized variables
* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
Autoload so that the call here from gv.el (about obsolete
generalized variables) doesn't bug out (bug#57394).
Do a git fetch --all; git pull on the emacs master branch
and you are able to test the fix. I cannot tell since my
machine is slow and still in the early stadium of building
emacs.
Ciao; Gregor
--
-... --- .-. . -.. ..--.. ...-.-
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [External] : Re: org-mode compile issue this morning - how to report this?
2022-08-25 14:36 ` Daniel Ortmann
2022-08-25 17:37 ` Daniel Ortmann
2022-08-25 20:26 ` Gregor Zattler
@ 2022-08-25 22:50 ` Tim Cross
2 siblings, 0 replies; 9+ messages in thread
From: Tim Cross @ 2022-08-25 22:50 UTC (permalink / raw)
To: Daniel Ortmann; +Cc: Ihor Radchenko, emacs-orgmode
Emacs 29.1 refers to the first release of Emacs 29, which has not yet
occurred. Emacs 29.0.50 refers to version 29 of emacs which has not yet
had a release candidate issued i.e. still very much development and not
yet at beta level. Once the first release candidate is issued, the
version will likely change to 29.0.90 and then once actually released,
to 29.1.
Given that 29.0.50 at this point just means development version (and
unless a commit hash is also included, head of the devel branch), you
can assume the bug fix will be in 29.0.50 provided you have done a pull
since that bug fix notice was posted.
Daniel Ortmann <daniel.ortmann@oracle.com> writes:
> FYI,
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394
>
> Lars at gnu says it is fixed in emacs 29
> The bug's web page says, more specifically, "bug marked as fixed in version 29.1"
>
> ... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't see any 29.1 branches available.
> I have not been able to test and verify the fix.
>
> Thoughts?
>
> Daniel Ortmann <daniel.ortmann@oracle.com> writes:
>
> Error: error ("Eager macro-expansion failure: (void-function
> byte-compile-warn-obsolete)")
> debug-early-backtrace()
> debug-early(error (error "Eager macro-expansion failure:
> (void-function byte-compile-warn-obsolete)"))
>
> This should now be fixed in Emacs 29.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-08-25 23:07 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-22 19:36 org-mode compile issue this morning - how to report this? Daniel Ortmann
2022-08-23 2:26 ` Ihor Radchenko
2022-08-23 6:38 ` Tim Cross
2022-08-23 7:28 ` Ihor Radchenko
2022-08-24 22:15 ` [External] : " Daniel Ortmann
2022-08-25 14:36 ` Daniel Ortmann
2022-08-25 17:37 ` Daniel Ortmann
2022-08-25 20:26 ` Gregor Zattler
2022-08-25 22:50 ` Tim Cross
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.