unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* [native-compile] Debugging external package
@ 2021-05-12 11:39 Arash Esbati
  2021-05-12 13:16 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Arash Esbati @ 2021-05-12 11:39 UTC (permalink / raw)
  To: emacs-help

Hi all,

I have successfully built Emacs with native-compile support on Win10 and
it works fine -- many thanks for this.

I've also installed powerline package from MELPA and Emacs fails to
compile the package with this error:

    x:/pathto/.emacs.d/elpa/powerline-20210428.1229/powerline.el:
    Error: List contains a loop ("22", . #0)
    Compilation finished.

How can I get more info about the error from the compiler?  Currently
Emacs tries to compile the package each time it starts (and fails) and
that makes the start slower.

I looked throught comp.el and the possible variables provided there are
"intended for debugging the compiler itself".

TIA for any hint.

Best, Arash



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [native-compile] Debugging external package
  2021-05-12 11:39 [native-compile] Debugging external package Arash Esbati
@ 2021-05-12 13:16 ` Eli Zaretskii
  2021-05-12 19:13   ` Arash Esbati
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2021-05-12 13:16 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Arash Esbati <arash@gnu.org>
> Date: Wed, 12 May 2021 13:39:31 +0200
> 
>     x:/pathto/.emacs.d/elpa/powerline-20210428.1229/powerline.el:
>     Error: List contains a loop ("22", . #0)
>     Compilation finished.
> 
> How can I get more info about the error from the compiler?

Start by reporting this as a bug, I'd say.  You might be asked to
provide more details if needed, but that isn't 100% sure, it could be
that Andrea will see the problem right away.

> I looked throught comp.el and the possible variables provided there are
> "intended for debugging the compiler itself".

The most important one is the one which causes libgccjit to emit a
reproducer.  But you don't need to do that unless asked.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [native-compile] Debugging external package
  2021-05-12 13:16 ` Eli Zaretskii
@ 2021-05-12 19:13   ` Arash Esbati
  0 siblings, 0 replies; 3+ messages in thread
From: Arash Esbati @ 2021-05-12 19:13 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Arash Esbati <arash@gnu.org>
>> Date: Wed, 12 May 2021 13:39:31 +0200
>> 
>>     x:/pathto/.emacs.d/elpa/powerline-20210428.1229/powerline.el:
>>     Error: List contains a loop ("22", . #0)
>>     Compilation finished.
>> 
>> How can I get more info about the error from the compiler?
>
> Start by reporting this as a bug, I'd say.

Thanks, done -- bug#48383.

Best, Arash



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-12 19:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-12 11:39 [native-compile] Debugging external package Arash Esbati
2021-05-12 13:16 ` Eli Zaretskii
2021-05-12 19:13   ` Arash Esbati

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).