From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48383: [native-compile] Debugging external package powerline.el Date: Wed, 12 May 2021 19:49:20 +0000 Message-ID: References: <867dk3hinn.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39745"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48383@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 12 21:51:43 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgutS-000ADn-PJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 May 2021 21:51:42 +0200 Original-Received: from localhost ([::1]:54168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgutR-0002Z7-RB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 May 2021 15:51:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgurq-00089E-Dp for bug-gnu-emacs@gnu.org; Wed, 12 May 2021 15:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgurq-00077O-5L for bug-gnu-emacs@gnu.org; Wed, 12 May 2021 15:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgurq-0004j1-4b for bug-gnu-emacs@gnu.org; Wed, 12 May 2021 15:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 May 2021 19:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48383 X-GNU-PR-Package: emacs Original-Received: via spool by 48383-submit@debbugs.gnu.org id=B48383.162084896418106 (code B ref 48383); Wed, 12 May 2021 19:50:02 +0000 Original-Received: (at 48383) by debbugs.gnu.org; 12 May 2021 19:49:24 +0000 Original-Received: from localhost ([127.0.0.1]:40654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgurD-0004hw-S4 for submit@debbugs.gnu.org; Wed, 12 May 2021 15:49:24 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:61791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgurB-0004ho-Qn for 48383@debbugs.gnu.org; Wed, 12 May 2021 15:49:22 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 14CJnKbZ023513 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 12 May 2021 19:49:20 GMT In-Reply-To: <867dk3hinn.fsf@gnu.org> (Arash Esbati's message of "Wed, 12 May 2021 21:11:08 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206391 Archived-At: Arash Esbati 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'.