GNU bug report logs - #79353
31.0.50; Eager macro expansion errors when building master

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Sun, 31 Aug 2025 06:35:01 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: JD Smith <jdtsmith <at> gmail.com>
Cc: Po Lu <luangruo <at> yahoo.com>, michael.albinus <at> gmx.de, 79353 <at> debbugs.gnu.org,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#79353: 31.0.50; Eager macro expansion errors when building
 master
Date: Tue, 02 Sep 2025 16:01:05 +0200
JD Smith <jdtsmith <at> gmail.com> writes:

>> Not sure if that's relevant, don't know what this is all about anyway.
>
> I think the idea is to require 'cl-extra in tramp.el, after 'cl-lib.
> The issue is we are loading tramp during the build of *-loaddefs.el
> files, and yet tramp is currently relying (indirectly) on the autoload
> of cl-subseq from cl-extra.

I meant more what your original change was for. Anyway, with this
change

1 file changed, 2 insertions(+)
lisp/net/tramp.el | 2 ++

modified   lisp/net/tramp.el
@@ -67,6 +67,8 @@
 (require 'tramp-message)
 (require 'tramp-integration)
 (require 'trampver)
+(require 'cl-lib)
+(require 'cl-extra)
 
 ;; Pacify byte-compiler.
 (require 'cl-lib)

I get the same errors

loaddefs-gen: loading file tramp-adb (for tramp--with-startup)
Loading /Users/gerd/emacs/github/master/lisp/net/tramp-adb.el (source)...
Warning (emacs): loaddefs-gen: load error
	(error Eager macro-expansion failure: (error "Eager macro-expansion failure: (void-function cl-subseq)"))




This bug report was last modified 1 day ago.

Previous Next


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