From unknown Sat Jun 21 10:29:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48383 <48383@debbugs.gnu.org> To: bug#48383 <48383@debbugs.gnu.org> Subject: Status: [native-compile] Debugging external package powerline.el Reply-To: bug#48383 <48383@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:29:51 +0000 retitle 48383 [native-compile] Debugging external package powerline.el reassign 48383 emacs submitter 48383 Arash Esbati severity 48383 normal tag 48383 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 12 15:11:37 2021 Received: (at submit) by debbugs.gnu.org; 12 May 2021 19:11:37 +0000 Received: from localhost ([127.0.0.1]:40606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lguGf-0001Tf-5l for submit@debbugs.gnu.org; Wed, 12 May 2021 15:11:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:60994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lguGc-0001TX-G4 for submit@debbugs.gnu.org; Wed, 12 May 2021 15:11:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lguGc-0006Wf-93 for bug-gnu-emacs@gnu.org; Wed, 12 May 2021 15:11:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41248) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lguGb-0000Eg-Vc for bug-gnu-emacs@gnu.org; Wed, 12 May 2021 15:11:34 -0400 Received: from p4fe3ec95.dip0.t-ipconnect.de ([79.227.236.149]:55918 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lguGb-0001Pn-F2 for bug-gnu-emacs@gnu.org; Wed, 12 May 2021 15:11:33 -0400 From: Arash Esbati To: emacs-bugs Subject: [native-compile] Debugging external package powerline.el Date: Wed, 12 May 2021 21:11:08 +0200 Message-ID: <867dk3hinn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed May 12 15:49:24 2021 Received: (at 48383) by debbugs.gnu.org; 12 May 2021 19:49:24 +0000 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 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 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 From: Andrea Corallo To: Arash Esbati Subject: Re: bug#48383: [native-compile] Debugging external package powerline.el References: <867dk3hinn.fsf@gnu.org> Date: Wed, 12 May 2021 19:49:20 +0000 In-Reply-To: <867dk3hinn.fsf@gnu.org> (Arash Esbati's message of "Wed, 12 May 2021 21:11:08 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48383 Cc: 48383@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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'. From debbugs-submit-bounces@debbugs.gnu.org Mon May 17 08:21:31 2021 Received: (at 48383) by debbugs.gnu.org; 17 May 2021 12:21:32 +0000 Received: from localhost ([127.0.0.1]:52042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1licFU-0008J0-4j for submit@debbugs.gnu.org; Mon, 17 May 2021 08:21:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1licFP-0008Im-1o for 48383@debbugs.gnu.org; Mon, 17 May 2021 08:21:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38696) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1licFJ-0000JU-Gp; Mon, 17 May 2021 08:21:17 -0400 Received: from p4fe3ec95.dip0.t-ipconnect.de ([79.227.236.149]:64150 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1licFF-0002u1-Gi; Mon, 17 May 2021 08:21:16 -0400 From: Arash Esbati To: Andrea Corallo Subject: Re: bug#48383: [native-compile] Debugging external package powerline.el References: <867dk3hinn.fsf@gnu.org> Date: Mon, 17 May 2021 14:20:59 +0200 In-Reply-To: (Andrea Corallo's message of "Wed, 12 May 2021 19:49:20 +0000") Message-ID: <86fsylr1p0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48383 Cc: 48383@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andrea Corallo 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 08 05:16:56 2021 Received: (at control) by debbugs.gnu.org; 8 Nov 2021 10:16:56 +0000 Received: from localhost ([127.0.0.1]:56518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk1hv-0005vk-Vw for submit@debbugs.gnu.org; Mon, 08 Nov 2021 05:16:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk1hr-0005vT-RE for control@debbugs.gnu.org; Mon, 08 Nov 2021 05:16:54 -0500 Received: from [2001:470:142:3::e] (port=50736 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk1hm-0007ss-KI for control@debbugs.gnu.org; Mon, 08 Nov 2021 05:16:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=BpiMPvC12iEnuW5jVvvFiES9ZFGmoDdEl2nyswuKh4g=; b=MYRl0bIwk1FNoAgJuGZJ 0IrW4u16k55ea4MmenJpwXmd5lnj7FWPpCyBWeyg+g1yif7M2gNNLWi5liIXXcEb28ckfP0NyyUrO DVasH195ryOvGcF0CiXVFJsHWkAbgYpan3QKhH7U0pHWduFaCGtf9ppp//Ar6UGWIXb9eBnx2hwL3 nCPLTdn7g86XmfB6ZJMmQCSKtYxsnnEelC8WF9TUbHCpgNPNMSwfQtIPvuwxOYPJ+AogAmgqCzRm/ HIR/90E4U+tOhh/bleUsVQKslqN6Le3MI82A3KjRU0T0PgZjCSfQm/kKTanP81TkFJpNvemoIBVBI 5Zg10sHlmJBsOg==; Received: from p5b326e61.dip0.t-ipconnect.de ([91.50.110.97]:61713 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk1hm-00060o-9H for control@debbugs.gnu.org; Mon, 08 Nov 2021 05:16:46 -0500 From: Arash Esbati To: control-debbugs Subject: Re: bug#48383: [native-compile] Debugging external package powerline.el References: <867dk3hinn.fsf@gnu.org> <86fsylr1p0.fsf@gnu.org> <86o86vlzsb.fsf@gnu.org> Date: Mon, 08 Nov 2021 11:16:28 +0100 In-Reply-To: <86o86vlzsb.fsf@gnu.org> (Arash Esbati's message of "Mon, 08 Nov 2021 11:14:44 +0100") Message-ID: <86k0hjlzpf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 48383 notabug close 48383 quit From unknown Sat Jun 21 10:29:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 06 Dec 2021 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator