bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47161: 28.0.50; [feature/native-comp] Failure to native-compile byte


From: Stefan Monnier
Subject: bug#47161: 28.0.50; [feature/native-comp] Failure to native-compile bytecomp.el etc.
Date: Tue, 16 Mar 2021 21:27:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I also suddenly see another byte-compilation message:
>
>     ELC      emacs-lisp/byte-opt.elc
>   Compiler-macro error for cl--block-wrapper: (error "(setf seq-elt) is 
> already defined as something else than a generic function")
>   Eager macro-expansion failure: (error "(setf seq-elt) is already defined as 
> something else than a generic function")
>
> What causes this?

Can you try and reproduce this while `macroexp--debug-eager` is set to
a non-nil value so we hopefully get a backtrace?

The error means we're trying to do something like
`cl-defmethod` on `(setf seq-elt)` after having defined `(setf
seq-elt)` as something like a normal function, but I can't see where
we'd define it as something else.  Neither do I understand why
`cl--block-wrapper` would go through that unless it ends up loading
`seq.el` somehow.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]