emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Ortmann <daniel.ortmann@oracle.com>
To: Ihor Radchenko <yantar92@gmail.com>, Tim Cross <theophilusx@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [External] : Re: org-mode compile issue this morning - how to report this?
Date: Wed, 24 Aug 2022 17:15:18 -0500	[thread overview]
Message-ID: <5f768e48-5cfd-1ed9-f9b7-c7dc9fe53204@oracle.com> (raw)
In-Reply-To: <87y1vf2zbe.fsf@localhost>

[-- 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 --]

  reply	other threads:[~2022-08-24 22:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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       ` Daniel Ortmann [this message]
2022-08-25 14:36         ` [External] : " Daniel Ortmann
2022-08-25 17:37           ` Daniel Ortmann
2022-08-25 20:26           ` Gregor Zattler
2022-08-25 22:50           ` Tim Cross

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.orgmode.org/

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

  git send-email \
    --in-reply-to=5f768e48-5cfd-1ed9-f9b7-c7dc9fe53204@oracle.com \
    --to=daniel.ortmann@oracle.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=theophilusx@gmail.com \
    --cc=yantar92@gmail.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/org-mode.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).