From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Malcolm Purvis Newsgroups: gmane.emacs.bugs Subject: bug#57381: 29.0.50; void-function byte-compile-warn-obsolete when building latest org-mode Date: Wed, 24 Aug 2022 22:14:39 +1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16671"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) To: 57381@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 24 14:16:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQpIy-0004BA-32 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 14:16:20 +0200 Original-Received: from localhost ([::1]:36504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQpIt-0007IQ-HB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 08:16:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQpHk-0007Ej-AQ for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:15:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQpHi-0003MZ-NW for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQpHi-0007LX-Dv for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Malcolm Purvis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Aug 2022 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57381 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166134329528210 (code B ref -1); Wed, 24 Aug 2022 12:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Aug 2022 12:14:55 +0000 Original-Received: from localhost ([127.0.0.1]:45875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQpHb-0007Kv-8D for submit@debbugs.gnu.org; Wed, 24 Aug 2022 08:14:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQpHY-0007Kl-3h for submit@debbugs.gnu.org; Wed, 24 Aug 2022 08:14:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQpHX-0006rf-UF for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:14:51 -0400 Original-Received: from mail104.syd.optusnet.com.au ([211.29.132.246]:38015) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQpHU-0003I0-4T for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 08:14:51 -0400 Original-Received: from lamech (n58-106-112-39.bla1.nsw.optusnet.com.au [58.106.112.39]) by mail104.syd.optusnet.com.au (Postfix) with ESMTPS id D946D62E45F for ; Wed, 24 Aug 2022 22:14:39 +1000 (AEST) X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.4 cv=VuxAv86n c=1 sm=1 tr=0 ts=63061630 a=+3Gg/HrXTk6R1U13niALMg==:117 a=+3Gg/HrXTk6R1U13niALMg==:17 a=mDV3o1hIAAAA:8 a=X_NtB16hpJAWzOpkGVAA:9 a=_FVE-zBwftR9WsbkzFJk:22 Received-SPF: none client-ip=211.29.132.246; envelope-from=malcolm@purvis.id.au; helo=mail104.syd.optusnet.com.au X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240606 Archived-At: 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@29/29.0.50_1/share/info/emacs --prefix=/usr/local/Cellar/emacs-head@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