GNU bug report logs -
#48383
[native-compile] Debugging external package powerline.el
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Wed, 12 May 2021 19:12:01 UTC
Severity: normal
Tags: notabug
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48383 in the body.
You can then email your comments to 48383 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48383
; Package
emacs
.
(Wed, 12 May 2021 19:12:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arash Esbati <arash <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 12 May 2021 19:12:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi all,
I have successfully built Emacs with native-compile support on Win10[1]
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.
TIA for any hint.
Best, Arash
Footnotes:
[1] emacs-repository-version is 8b7495a722a57071cb2a978665f95f8227db2863
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48383
; Package
emacs
.
(Wed, 12 May 2021 19:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 48383 <at> debbugs.gnu.org (full text, mbox):
Arash Esbati <arash <at> gnu.org> writes:
> Hi all,
>
> I have successfully built Emacs with native-compile support on Win10[1]
> 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.
>
> TIA for any hint.
>
> Best, Arash
>
> Footnotes:
> [1] emacs-repository-version is 8b7495a722a57071cb2a978665f95f8227db2863
Hi Arash,
if the compiler crashes I guess the next step is to debug it. But
before doing that would be nice to isolate what's the function that is
causing the issue and create a reproducer.
Thanks
Andrea
PS you can work around the issue of the startup adding powerline.el to
`native-comp-deferred-compilation-deny-list'.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48383
; Package
emacs
.
(Mon, 17 May 2021 12:22:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 48383 <at> debbugs.gnu.org (full text, mbox):
Andrea Corallo <akrl <at> sdf.org> writes:
> if the compiler crashes I guess the next step is to debug it.
Thanks for your response. In this case, the compiler doesn't crash.
> But before doing that would be nice to isolate what's the function
> that is causing the issue and create a reproducer.
From the discussion here[1], the problem seems to be the last line in
this function provided by powerline.el[2]:
(defun pl/pattern (lst)
"Turn LST into an infinite pattern."
(when lst
(let ((pattern (cl-copy-list lst)))
(setcdr (last pattern) pattern)))) ;; <== Problematic form
Not being an Emacs issue, my question was if the native compiler could
be more verbose about the error.
> PS you can work around the issue of the startup adding powerline.el to
> `native-comp-deferred-compilation-deny-list'.
Thanks, this is what I did for now.
Best, Arash
Footnotes:
[1] https://github.com/milkypostman/powerline/issues/187
[2] https://github.com/milkypostman/powerline/issues/187#issuecomment-836582479
Added tag(s) notabug.
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 08 Nov 2021 10:17:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
48383 <at> debbugs.gnu.org and Arash Esbati <arash <at> gnu.org>
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 08 Nov 2021 10:17:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 06 Dec 2021 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 141 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.