GNU bug report logs - #57381
29.0.50; void-function byte-compile-warn-obsolete when building latest org-mode

Previous Next

Package: org-mode;

Reported by: Malcolm Purvis <malcolm <at> purvis.id.au>

Date: Wed, 24 Aug 2022 12:15:02 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 57381 in the body.
You can then email your comments to 57381 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#57381; Package emacs. (Wed, 24 Aug 2022 12:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Malcolm Purvis <malcolm <at> purvis.id.au>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 24 Aug 2022 12:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Malcolm Purvis <malcolm <at> purvis.id.au>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; void-function byte-compile-warn-obsolete when building
 latest org-mode
Date: Wed, 24 Aug 2022 22:14:39 +1000
Trying to build the latest development version of org-mode (from 
https://git.savannah.gnu.org/git/emacs/org-mode.git/) with the 
latest development version of Emacs ("HEAD is now at e518146a30 
Fix input extension focus tracking with some window managers") 
fails with the following error:

--8<---------------cut here---------------start------------->8--- 
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("/Users/malcolmp/builds/org-mode/org-mode.git/lisp/org-macs.el" 
 "/Users/malcolmp/builds/org-mode/org-mode.git/lisp/org-macs.el" 
 nil t) require(org-macs) 
 load-with-code-conversion("/Users/malcolmp/builds/org-mode/org-mode.git/lisp/org-compat.el" 
 "/Users/malcolmp/builds/org-mode/org-mode.git/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]: *** [org-version.el] Error 
255 make: *** [compile] Error 2 garden:org-mode.git malcolmp$ git 
status On branch main Your branch is up to date with 
'origin/main'.  --8<---------------cut 
here---------------end--------------->8--- 

This error appeared in the last few days.    In GNU Emacs 29.0.50 
(build 2, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 
12.5.1 (Build 21G83)) of 2022-08-23 built on lamechWindowing 
system distributor 'Apple', version 10.3.2113 System Description: 
macOS 12.5.1  Configured using: 
'configure 
--enable-locallisppath=/usr/local/share/emacs/site-lisp 
--infodir=/usr/local/Cellar/emacs-head <at> 29/29.0.50_1/share/info/emacs 
--prefix=/usr/local/Cellar/emacs-head <at> 29/29.0.50_1 --without-x 
--without-dbus --with-imagemagick --with-modules --with-gnutls 
--with-rsvg --with-xml2 --with-xwidgets --with-ns 
--disable-ns-self-contained' 


-- 
		    Malcolm Purvis <malcolm <at> purvis.id.au>




bug reassigned from package 'emacs' to 'org-mode'. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 24 Aug 2022 12:31:02 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 29.0.50. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 24 Aug 2022 12:31:02 GMT) Full text and rfc822 format available.

Information forwarded to emacs-orgmode <at> gnu.org:
bug#57381; Package org-mode. (Thu, 25 Aug 2022 13:01:02 GMT) Full text and rfc822 format available.

Message #12 received at 57381 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Malcolm Purvis <malcolm <at> purvis.id.au>
Cc: 57381 <at> debbugs.gnu.org
Subject: Re: bug#57381: 29.0.50; void-function byte-compile-warn-obsolete
 when building latest org-mode
Date: Thu, 25 Aug 2022 15:00:15 +0200
Malcolm Purvis <malcolm <at> purvis.id.au> 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)")) error("Eager

This should now be fixed in Emacs 29.




bug closed, send any further explanations to 57381 <at> debbugs.gnu.org and Malcolm Purvis <malcolm <at> purvis.id.au> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 25 Aug 2022 13:01:02 GMT) Full text and rfc822 format available.

Information forwarded to emacs-orgmode <at> gnu.org:
bug#57381; Package org-mode. (Fri, 26 Aug 2022 02:05:01 GMT) Full text and rfc822 format available.

Message #17 received at 57381 <at> debbugs.gnu.org (full text, mbox):

From: Malcolm Purvis <malcolm <at> purvis.id.au>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 57381 <at> debbugs.gnu.org
Subject: Re: bug#57381: 29.0.50; void-function byte-compile-warn-obsolete
 when building latest org-mode
Date: Fri, 26 Aug 2022 12:03:54 +1000
>>>>> "Lars" == Lars Ingebrigtsen <larsi <at> gnus.org> writes: 

> This should now be fixed in Emacs 29.

Confirmed.  Thank you.

Malcolm 

-- 
         Malcolm Purvis <malcolm <at> purvis.id.au>




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 Sep 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.