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 #26 received at 79353 <at> debbugs.gnu.org (full text, mbox):

From: "J.D. Smith" <jdtsmith <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Gerd Möllmann <gerd.moellmann <at> gmail.com>,
 luangruo <at> yahoo.com, 79353 <at> debbugs.gnu.org, michael.albinus <at> gmx.de
Subject: Re: bug#79353: 31.0.50; Eager macro expansion errors when building
 master
Date: Sun, 31 Aug 2025 21:18:12 -0400
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> 2. During initial autoload generation, this macro is unknown.  So the
>> file tramp-adb.el is /loaded/, to give it a chance to define the macro.
>>
>> 3. The macro `tramp--with-startup' is indeed defined in tramp.el, which
>> tramp-adb requires.  So far so good.  But during the loading of
>> tramp.el, some other package it loads uses `cl-subseq' at the top level
>> without first requiring cl-extra.
>>
>> 5. Why has this not been an issue before?  The macro `cl-subseq' is
>> /itself/ an autoload in cl-extra.el.  Since the CL-specific loadefs file
>> `cl-loaddefs.el' does not yet exist (remember this is during autoload
>> generation), this causes the (handled) warning you see.
>
> FWIW it sounds like a problem I've seen before in other circumstances
> where I just added a `(require 'cl-extra)`, e.g.:
>
>     lisp/emacs-lisp/comp-cstr.el:(require 'cl-extra) ;HACK: For `cl-find-class' when `cl-loaddefs' is missing.

Interesting.  `tramp.el' could probably just (require 'cl-extra) to fix
this.  I guess this is a new use of this cl-extra macro somewhere, which
wasn't caught in testing.





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.