unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 47161@debbugs.gnu.org, Andrea Corallo <akrl@sdf.org>
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	[thread overview]
Message-ID: <jwvzgz2lgmw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <834khcfhw7.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 15 Mar 2021 19:26:00 +0200")

> 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






  parent reply	other threads:[~2021-03-17  1:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15 15:27 bug#47161: 28.0.50; [feature/native-comp] Failure to native-compile bytecomp.el etc Eli Zaretskii
2021-03-15 15:48 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-15 17:26   ` Eli Zaretskii
2021-03-15 20:05     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-16 12:50       ` Eli Zaretskii
2021-03-16 16:22         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-16 18:29           ` Eli Zaretskii
2021-03-17  1:27     ` Stefan Monnier [this message]
2021-03-19 15:28       ` Eli Zaretskii
2021-03-19 15:58         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-10 16:44           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-24 13:18         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzgz2lgmw.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=47161@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).