GNU bug report logs - #59424
Native compiler cannot compile .emacs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Juanma Barranquero <lekktu@HIDDEN>; dated Fri, 18 Nov 2022 13:19:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'Native compiler cannot compile .emacs' from '29.0.50; failing to load .eln for init file sets user-init-file to warnings.el' Request was from Juanma Barranquero <lekktu@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug 59358 cloned as bug 59424. Request was from Juanma Barranquero <lekktu@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59358-done <at> debbugs.gnu.org:


Received: (at 59358-done) by debbugs.gnu.org; 20 Nov 2022 22:15:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 20 17:15:43 2022
Received: from localhost ([127.0.0.1]:44831 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1owsbH-0003iy-37
	for submit <at> debbugs.gnu.org; Sun, 20 Nov 2022 17:15:43 -0500
Received: from mail-ed1-f52.google.com ([209.85.208.52]:38434)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lekktu@HIDDEN>) id 1owsbF-0003il-3Q
 for 59358-done <at> debbugs.gnu.org; Sun, 20 Nov 2022 17:15:41 -0500
Received: by mail-ed1-f52.google.com with SMTP id s12so13868461edd.5
 for <59358-done <at> debbugs.gnu.org>; Sun, 20 Nov 2022 14:15:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=/ok8iJ4ahQ51Hn5u1Kn/S5O2+Ckf4aM0j7fRm0TPBBA=;
 b=RilAmamT7TNJ1O4wxygReLd/jtBnmGHTkow2XTDBVsWOoTlQ1K5udPOaotCA1QTmDb
 e463mvufdzc+lNvPOOZnouj4qWrLKjxiCq2FiVFW1noGtEG8TvsPGP6Ni74MLoYIkMah
 Teu7FlmgnT7/LwlqWZEM0ybFKcF0GNHD5RHTQITf1GaC05cpFjtKGlZUc9YtnHpxxnMZ
 e05vSbyNSRgK9Hd9YrIGmcljEUFxakVCQIs3L3yOncRCY91qglUXhszPdZQqPtTLJzMH
 ENWUG36SwhTZab6IyvmMgzJBRvUgdQls+ibHDBssW8QmyGQTCwaAugHJXkTYN+cmeVxf
 1GkA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=/ok8iJ4ahQ51Hn5u1Kn/S5O2+Ckf4aM0j7fRm0TPBBA=;
 b=k7CDsX4U3GOurLg8Xo11g1Behv5+mKFMzNFAH4Kp1lKOLu7AGDF6xwtumIC/U+h5MR
 i4AysJtcxK0kd1hJWcQJBG+tJBwgb1w1P13IrD+vzsoysoOG9Ef2h4584eeO/gRrobOv
 PT6Btsyk4T5IM+ywz2cPw6Q9zYLpFPQddoLOzKJZMRvE1agJ/RJnn+iD/Xs90B+8u4ce
 E3ERRtle68bMjMr1MdG+6tI/GtCRB2Z6jbJW0vaU/dWI7paA8MoY2SgmPALPB4T1oQF+
 HtFnrQMTsHjBSlOKsEzOM/4/HOWzBa17kXS7vY/xRSgeCWim1BqFuMrafai+dKI5HSoP
 kKzw==
X-Gm-Message-State: ANoB5pkEJhp2ziroW1IPvqt4lzEdVdSUhVgnl0620iJp9qO7pOsAADD+
 Ll2g4gW07N845CZjnr8lNWQqJ3cIkPfySueYo1/TT3wBvWQ=
X-Google-Smtp-Source: AA0mqf5QsvJG59LzMl24MIjHVz+2LP6X/dqx9+Wce2RbUyHV0p9NKLB99lWdpEo7eWG+cdUFbZL9QJDsQbyPXJvtC/M=
X-Received: by 2002:aa7:c055:0:b0:45a:1af2:ed6d with SMTP id
 k21-20020aa7c055000000b0045a1af2ed6dmr13454626edo.364.1668982534879; Sun, 20
 Nov 2022 14:15:34 -0800 (PST)
MIME-Version: 1.0
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Sun, 20 Nov 2022 23:14:58 +0100
Message-ID: <CAAeL0SQamV9JmyZAEuaCjU7ZNFse7RPmazXXOHzUe_m5zrRFhA@HIDDEN>
Subject: 
To: 59358-done <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="00000000000020be2005edee47c9"
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  The more serious bug is fixed with this commit: 8ec8decd9f
 of 2022-11-20 Avoid native compiler setting user-init-file to warnings.el
 (bug#59358) I'll open a new bug report with the first issue (the native
 compiler being unable to compile .emacs). 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (lekktu[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [209.85.208.52 listed in wl.mailspike.net]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.208.52 listed in list.dnswl.org]
 0.0 HTML_MESSAGE           BODY: HTML included in message
 2.0 BLANK_SUBJECT          Subject is present but empty
X-Debbugs-Envelope-To: 59358-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

--00000000000020be2005edee47c9
Content-Type: text/plain; charset="UTF-8"

The more serious bug is fixed with this commit:

8ec8decd9f  of  2022-11-20
Avoid native compiler setting user-init-file to warnings.el (bug#59358)

I'll open a new bug report with the first issue (the native compiler being
unable to compile .emacs).

--00000000000020be2005edee47c9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,sa=
ns-serif">The more serious bug is fixed with this commit:</div><div class=
=3D"gmail_default" style=3D"font-family:arial,sans-serif"><br></div><div cl=
ass=3D"gmail_default" style=3D"font-family:arial,sans-serif">8ec8decd9f=C2=
=A0 of=C2=A0 2022-11-20</div><div class=3D"gmail_default" style=3D"font-fam=
ily:arial,sans-serif">Avoid native compiler setting user-init-file to warni=
ngs.el (bug#59358)<br><br>I&#39;ll open a new bug report with the first iss=
ue (the native compiler being unable to compile .emacs).</div></div>

--00000000000020be2005edee47c9--




Notification sent to Juanma Barranquero <lekktu@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Juanma Barranquero <lekktu@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 59358 <at> debbugs.gnu.org:


Received: (at 59358) by debbugs.gnu.org; 20 Nov 2022 18:59:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 20 13:59:58 2022
Received: from localhost ([127.0.0.1]:44644 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1owpXp-0007DA-MI
	for submit <at> debbugs.gnu.org; Sun, 20 Nov 2022 13:59:57 -0500
Received: from mx.sdf.org ([205.166.94.24]:58459)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akrl@HIDDEN>) id 1owpXn-0007D0-QW
 for 59358 <at> debbugs.gnu.org; Sun, 20 Nov 2022 13:59:56 -0500
Received: from ma.sdf.org (ma.sdf.org [205.166.94.33])
 by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 2AKIxsjA016953
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO);
 Sun, 20 Nov 2022 18:59:54 GMT
From: Andrea Corallo <akrl@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59358: 29.0.50; failing to load .eln for init file sets
 user-init-file to warnings.el
In-Reply-To: <83wn7r8ctp.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 19 Nov
 2022 12:21:06 +0200")
References: <CAAeL0SSHajgzyH7xF34wApcz7Sa0nHEkh7GRDA+jW8QpRmtQxQ@HIDDEN>
 <834juwbasq.fsf@HIDDEN>
 <CAAeL0SR0HQkBdqhYRsvuTW5eH5xC=gXxX7XEyZJV0fdEcaOcKQ@HIDDEN>
 <83wn7r8ctp.fsf@HIDDEN>
Date: Sun, 20 Nov 2022 18:59:54 +0000
Message-ID: <xjfedtxtpsl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 59358
Cc: Juanma Barranquero <lekktu@HIDDEN>, 59358 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Juanma Barranquero <lekktu@HIDDEN>
>> Date: Sat, 19 Nov 2022 10:13:58 +0100
>> Cc: 59358 <at> debbugs.gnu.org
>> 
>> On Fri, Nov 18, 2022 at 3:24 PM Eli Zaretskii <eliz@HIDDEN> wrote:
>>  
>>  That is a separate bug, IMO.  Is this because in Fload we set 'found'
>>  to the file name of warnings.el/.eln in this case?  If so, we should
>>  prevent this nonsense.
>> 
>> The bug is the consequence of maybe_swap_for_eln calling
>> `display-warning', which initiates a recursive
>> Fload while user-init-file is still t, so Fload "records" the current file name.
>> 
>> The easiest fix in my view is to use delayed warnings and avoid the
>> recursive Fload.
>
> Fine by me.
>
> Andrea, do you agree?

Agreed.

Thanks

  Andrea




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59358; Package emacs. Full text available.

Message received at 59358 <at> debbugs.gnu.org:


Received: (at 59358) by debbugs.gnu.org; 19 Nov 2022 10:21:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 19 05:21:10 2022
Received: from localhost ([127.0.0.1]:39073 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1owKyE-0004jJ-00
	for submit <at> debbugs.gnu.org; Sat, 19 Nov 2022 05:21:10 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33380)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1owKyA-0004iU-LQ
 for 59358 <at> debbugs.gnu.org; Sat, 19 Nov 2022 05:21:09 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1owKy5-0005He-2w; Sat, 19 Nov 2022 05:21:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=sOC68jFBLgiw6IBxkqTTQq7CW+rBo67qLIWEd7qZbfU=; b=lXoN3Zg5O742
 OhiJEArY7yInp+Q+8PDv1c166duLpmoEnn3SlsjKdJ1U4WXjBHUWn3i8y+P3Fpm5Mlqw9Qx1vBwVn
 nceV+mINEouVHIgXwkTBdRbIm1Iw87nlZDkPrqb6wsapo2WUrWMpSkMYMXdxpy5O2cVYmKQ4H0K6K
 gKOJaNL0KrBgNe90OBhyDHZ+LB8388D2n1pA7EGluap4oKgj2FKZOe4qTh14wmSkkhaR0TyKmOyQi
 Q/IPxwlmtYekx9RJ0E0Cj05QL75JdFHN/hc7QphWB4oWgYfh7hfdTn6sNIbDAcIYynrgshCcpytDy
 LIVE3ACZSx5GbMMfI8lolw==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1owKy4-0004as-Bu; Sat, 19 Nov 2022 05:21:00 -0500
Date: Sat, 19 Nov 2022 12:21:06 +0200
Message-Id: <83wn7r8ctp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juanma Barranquero <lekktu@HIDDEN>, Andrea Corallo <akrl@HIDDEN>
In-Reply-To: <CAAeL0SR0HQkBdqhYRsvuTW5eH5xC=gXxX7XEyZJV0fdEcaOcKQ@HIDDEN>
 (message from Juanma Barranquero on Sat, 19 Nov 2022 10:13:58 +0100)
Subject: Re: bug#59358: 29.0.50; failing to load .eln for init file sets
 user-init-file to warnings.el
References: <CAAeL0SSHajgzyH7xF34wApcz7Sa0nHEkh7GRDA+jW8QpRmtQxQ@HIDDEN>
 <834juwbasq.fsf@HIDDEN>
 <CAAeL0SR0HQkBdqhYRsvuTW5eH5xC=gXxX7XEyZJV0fdEcaOcKQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59358
Cc: 59358 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juanma Barranquero <lekktu@HIDDEN>
> Date: Sat, 19 Nov 2022 10:13:58 +0100
> Cc: 59358 <at> debbugs.gnu.org
> 
> On Fri, Nov 18, 2022 at 3:24 PM Eli Zaretskii <eliz@HIDDEN> wrote:
>  
>  That is a separate bug, IMO.  Is this because in Fload we set 'found'
>  to the file name of warnings.el/.eln in this case?  If so, we should
>  prevent this nonsense.
> 
> The bug is the consequence of maybe_swap_for_eln calling `display-warning', which initiates a recursive
> Fload while user-init-file is still t, so Fload "records" the current file name.
> 
> The easiest fix in my view is to use delayed warnings and avoid the recursive Fload.

Fine by me.

Andrea, do you agree?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59358; Package emacs. Full text available.

Message received at 59358 <at> debbugs.gnu.org:


Received: (at 59358) by debbugs.gnu.org; 19 Nov 2022 09:14:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 19 04:14:43 2022
Received: from localhost ([127.0.0.1]:38993 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1owJvv-00033a-AX
	for submit <at> debbugs.gnu.org; Sat, 19 Nov 2022 04:14:43 -0500
Received: from mail-ej1-f45.google.com ([209.85.218.45]:43566)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lekktu@HIDDEN>) id 1owJvt-00033M-BR
 for 59358 <at> debbugs.gnu.org; Sat, 19 Nov 2022 04:14:42 -0500
Received: by mail-ej1-f45.google.com with SMTP id m22so18325143eji.10
 for <59358 <at> debbugs.gnu.org>; Sat, 19 Nov 2022 01:14:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=07Rso/ehog1INZhA0LGVe1c1ZWZ7nsJqdKNIPH9CudQ=;
 b=cEj2pWN/bV19feycexRCCdIK1Sde8+EwLJ3zlkmu4xG5Yc7dnIx1TL4pf+Mt/zsNXd
 e85skRL3XLFXnKEy3h2VqOc6RPZsZdBPqEb3m2lP94XXuqGGGb7GctKXFBumVO6H4J+a
 d5d8R5lkBrHa5Nyy1xzn2IaRY96c2YTSElOeH4Wk9u/TkYFm5DkE9Co0GEqVDPwxNfFJ
 NFrd1lykH6TH1v6OLr7arKbxQARGpvjcrwTNhBaAjIqvzZkThFiNnSrJH8dj42yVSkI3
 3rPh6/o91rUBpK+7Bt+iS5h4mTkIIpQaqpv+VKI2fi312p1VJ/OHHt5aUqc7WJbGCW1O
 TstQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=07Rso/ehog1INZhA0LGVe1c1ZWZ7nsJqdKNIPH9CudQ=;
 b=ucwRyhtLboEQpG0hr8PdGSvIvsCKIqet6is8zjTTJO2GzSzXbM1QrplvHb2VHFje5s
 /Re9fI9inl5vREvo8NiFXTaWUwoQq9h3yWfXuIE1aggFJbq0k8weHgzfMokcjf1nvpy1
 gzCPQVKkaMvArNKfSQnZnrBYHrLxVCxSzcMV/k9sQDaLbjhp19iKMTRCkvj0yaFsjFXO
 XxT4DAaUEUmuL42kvu2aGSK0Ol/rnCZMhifHP46YkJmPGoWpqvJqMtzy9GAun7scf5tW
 bjkyambizV/nF8zMUMQB4b98hXKyXwcax8y7IE6xItg/lDCYt+AsgiOTINy5HPEiVdm4
 SV/w==
X-Gm-Message-State: ANoB5pmIkPeSymMNFX8pAAt1EYmfers+jZlJhCzkwfjEsr55Xe1KHsCg
 ogT/zRfOFlLgYj9HMofreJzAVUfkvk8mcDbc4X0=
X-Google-Smtp-Source: AA0mqf7ahygvkfR9jis8ovb3jWhBnRE7frdetGYn31/gomQDkUHkOU9HHjA1WdsmMTnV3y/zX/mikatU2viy0P6vfCI=
X-Received: by 2002:a17:907:c24a:b0:7ac:2e16:bc31 with SMTP id
 tj10-20020a170907c24a00b007ac2e16bc31mr8808488ejc.242.1668849275264; Sat, 19
 Nov 2022 01:14:35 -0800 (PST)
MIME-Version: 1.0
References: <CAAeL0SSHajgzyH7xF34wApcz7Sa0nHEkh7GRDA+jW8QpRmtQxQ@HIDDEN>
 <834juwbasq.fsf@HIDDEN>
In-Reply-To: <834juwbasq.fsf@HIDDEN>
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Sat, 19 Nov 2022 10:13:58 +0100
Message-ID: <CAAeL0SR0HQkBdqhYRsvuTW5eH5xC=gXxX7XEyZJV0fdEcaOcKQ@HIDDEN>
Subject: Re: bug#59358: 29.0.50; failing to load .eln for init file sets
 user-init-file to warnings.el
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000003c624f05edcf40dd"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 59358
Cc: 59358 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000003c624f05edcf40dd
Content-Type: text/plain; charset="UTF-8"

On Fri, Nov 18, 2022 at 3:24 PM Eli Zaretskii <eliz@HIDDEN> wrote:


> That is a separate bug, IMO.  Is this because in Fload we set 'found'
> to the file name of warnings.el/.eln in this case?  If so, we should
> prevent this nonsense.
>

The bug is the consequence of maybe_swap_for_eln calling `display-warning',
which initiates a recursive Fload while user-init-file is still t, so Fload
"records" the current file name.

The easiest fix in my view is to use delayed warnings and avoid the
recursive Fload.

diff --git i/src/lread.c w/src/lread.c
index c28324dc35..2a57f72194 100644
--- i/src/lread.c
+++ w/src/lread.c
@@ -1742,10 +1742,13 @@ maybe_swap_for_eln (bool no_native, Lisp_Object
*filename, int *fd,
                                               Qnil, Qnil)))
                return;
-             call2 (intern_c_string ("display-warning"),
-                    Qcomp,
-                    CALLN (Fformat,
-                           build_string ("Cannot look up eln file as "
-                                         "no source file was found for
%s"),
-                           *filename));
+             Vdelayed_warnings_list
+               = Fcons (list2
+                        (Qcomp,
+                         CALLN (Fformat,
+                                build_string ("Cannot look up eln "
+                                              "file as no source file "
+                                              "was found for %s"),
+                                *filename)),
+                        Vdelayed_warnings_list);
              return;
            }

--0000000000003c624f05edcf40dd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: base64

PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+PGRpdiBjbGFzcz0iZ21haWxfZGVmYXVsdCIg
c3R5bGU9ImZvbnQtZmFtaWx5OmFyaWFsLHNhbnMtc2VyaWYiPjxicj48L2Rpdj48L2Rpdj48YnI+
PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPjxkaXYgZGlyPSJsdHIiIGNsYXNzPSJnbWFpbF9hdHRy
Ij5PbiBGcmksIE5vdiAxOCwgMjAyMiBhdCAzOjI0IFBNIEVsaSBaYXJldHNraWkgJmx0OzxhIGhy
ZWY9Im1haWx0bzplbGl6QGdudS5vcmciIHRhcmdldD0iX2JsYW5rIj5lbGl6QGdudS5vcmc8L2E+
Jmd0OyB3cm90ZTo8YnI+PC9kaXY+PGRpdj7CoDwvZGl2PjxibG9ja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AgwqAgcmV0dXJuOzxicj7CoCDCoCDCoCDCoCDCoCDCoCB9PGJyPjwv
Zm9udD48ZGl2IGNsYXNzPSJnbWFpbF9kZWZhdWx0Ij48YnI+PC9kaXY+PC9kaXY+PC9kaXY+DQo=
--0000000000003c624f05edcf40dd--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59358; Package emacs. Full text available.

Message received at 59358 <at> debbugs.gnu.org:


Received: (at 59358) by debbugs.gnu.org; 18 Nov 2022 14:24:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 18 09:24:27 2022
Received: from localhost ([127.0.0.1]:35943 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ow2I7-0000yx-Bz
	for submit <at> debbugs.gnu.org; Fri, 18 Nov 2022 09:24:27 -0500
Received: from eggs.gnu.org ([209.51.188.92]:58638)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ow2I4-0000yi-AC
 for 59358 <at> debbugs.gnu.org; Fri, 18 Nov 2022 09:24:25 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ow2Hy-0001uJ-TR; Fri, 18 Nov 2022 09:24:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=88NOtMrGsAlgcPapwLQiG9r4G02GBh8Zg5KWb2N7WgI=; b=DSrAGKKL45Ax
 CtHy65txevbbP+8Zz2H2s5EEq2nYAtzMQPS49xJ07otSfCfHq1C+cxfocnRHIQnL8GTj/sm1uN8/t
 reLvhpUSmasfqzuBzDuQsTrPo4vdoRoon3/cnvI6ecLAzHkbyDLWo8gcBbxsgQuDdq4AvzdNQUHY7
 RhnT/9D2vPKrqfDZvo9GGFooypZiNAUfZr6pUoCM3xvP3G8xJKYePX1a5hiXxELUAGLTzp1ZAPZzF
 1UHY5q+Dp1iJVBcZ1XdOQpBewpBd3NEqgU7R6Qy4us6VhbmuG2oFA5BLBQEeevCVsYv2IcFztr/Nc
 tZFasv8ALefsG9mYErUEhg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ow2Hx-0005kC-Aq; Fri, 18 Nov 2022 09:24:17 -0500
Date: Fri, 18 Nov 2022 16:24:21 +0200
Message-Id: <834juwbasq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juanma Barranquero <lekktu@HIDDEN>
In-Reply-To: <CAAeL0SSHajgzyH7xF34wApcz7Sa0nHEkh7GRDA+jW8QpRmtQxQ@HIDDEN>
 (message from Juanma Barranquero on Fri, 18 Nov 2022 14:17:36 +0100)
Subject: Re: bug#59358: 29.0.50;
 failing to load .eln for init file sets user-init-file to warnings.el
References: <CAAeL0SSHajgzyH7xF34wApcz7Sa0nHEkh7GRDA+jW8QpRmtQxQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59358
Cc: 59358 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juanma Barranquero <lekktu@HIDDEN>
> Date: Fri, 18 Nov 2022 14:17:36 +0100
> 
> If you use ~/.emacs instead of ~.emacs.d/init.el, and happen to compile .emacs, Emacs loads .emacs.elc
> (as it has always done), but the native compiler does *not* know how to compile it (because it does not know
> how to locate its source), so it gives a warning:
> 
> 022-11-18 02:54:01+0100 Warning (comp): Cannot look up eln file as no source file was found for
> d:/Home/.emacs.elc

I think the solution to that is to special-case ".emacs", in
maybe_swap_for_eln, as a file name that doesn't have to have the .el
extension for this purpose.

> and then it assigns the user-init-file to the native-compiled warnings.el,
> 
> "d:/Home/.emacs.d/native/29.0.50-a4a10996/warnings-28e75f4d-02da775e.eln"
> 
> which now, with the fix for bug#59334, ends up pointing to warnings.el:
> 
> ELISP> user-init-file
> "d:/Devel/emacs/repo/trunk/lisp/emacs-lisp/warnings.el"

That is a separate bug, IMO.  Is this because in Fload we set 'found'
to the file name of warnings.el/.eln in this case?  If so, we should
prevent this nonsense.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59358; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Nov 2022 13:18:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 18 08:18:21 2022
Received: from localhost ([127.0.0.1]:35749 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ow1G9-0003A9-EJ
	for submit <at> debbugs.gnu.org; Fri, 18 Nov 2022 08:18:21 -0500
Received: from lists.gnu.org ([209.51.188.17]:52434)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lekktu@HIDDEN>) id 1ow1G7-0003A0-2Z
 for submit <at> debbugs.gnu.org; Fri, 18 Nov 2022 08:18:19 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lekktu@HIDDEN>) id 1ow1G6-0001ew-1p
 for bug-gnu-emacs@HIDDEN; Fri, 18 Nov 2022 08:18:18 -0500
Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lekktu@HIDDEN>) id 1ow1G3-0007VC-3L
 for bug-gnu-emacs@HIDDEN; Fri, 18 Nov 2022 08:18:16 -0500
Received: by mail-ej1-x62f.google.com with SMTP id vv4so3659413ejc.2
 for <bug-gnu-emacs@HIDDEN>; Fri, 18 Nov 2022 05:18:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=879SjR9ajk8eCKbqoShmhdlbSbxDZFsQti6LxNMEIXE=;
 b=Es+NX+i3QkTt47SYcs2U/HPGPeFR4kYcp95dUBNLowFhlMibBkQv7nIq9M0DZSOAAj
 nfCxUcY0jLIvlUHHrbeoKI+EebE41JzjaFfR+Lrx3v2xbDs2OcoMU65kACNyPVw17iS0
 Q6z4aPHyYTTGIkH5pkedeEpC6T4XGwHPI3yCL1p93IRovERuEtnJ0+iA6Rou0EUrGeCu
 ySrwi7nngBu/1QO5WzWhHtVkk88KAsnSLwc39uvL5ddCppf2kJ1/P9MbMxdQpv720Rho
 tIVAyMpJQUHbIk0CeDyVdMTephPD0cMLrZRapyn45YDNW4cyVJkvQhCwuFPTeCLoTzPE
 7/YQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=879SjR9ajk8eCKbqoShmhdlbSbxDZFsQti6LxNMEIXE=;
 b=iFrIGNJ4MtQa59jc33X6hL+Wfkb+ZI58oieil+FFZZGKEyMJVQG1Zr8o2q7J0AyL5g
 u8oVW5gwq7JF7jQ818jbngJW6V1ugVvsR/9FgrfusrawPWjlK85wbLxxhayIygJGvqt7
 jdexAEIUNhhEXXVqgLScy6AFVi7kMbvOM9MsU/fWgwv65OF/yTwkVp696E2Y3kIbbCos
 lmETO3NZ9jPm4nyzt+LspOrB9bNvIrLu+YGHsccFmfZyoSSRjEKIQNwi+0Cvuw5EoKD8
 G/npgUJ0yY+PGTRa9sk0dwdySVetSHCjXXadN48tOTOUhJDezsxfCyDEvgeKGOz0FQ3+
 9vQg==
X-Gm-Message-State: ANoB5pkAXDUBTQ0apajBBJnQzJFeIx2Yxf4hk4BftUCvwnuTebkEQ1Re
 Eaj5fwFc/evPhOs6iDgEvoJIdKdksO5LTHwYOp8lp4xEZbQ=
X-Google-Smtp-Source: AA0mqf4HZYOqtIqv6XxgcOSL9+reiDa9FmxM0TxdwxtO7N5INejjVTXXmlv9mKVcCZaOGotTXV33McyiP9Uq+0xdah0=
X-Received: by 2002:a17:907:c24a:b0:7ac:2e16:bc31 with SMTP id
 tj10-20020a170907c24a00b007ac2e16bc31mr5870948ejc.242.1668777492944; Fri, 18
 Nov 2022 05:18:12 -0800 (PST)
MIME-Version: 1.0
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Fri, 18 Nov 2022 14:17:36 +0100
Message-ID: <CAAeL0SSHajgzyH7xF34wApcz7Sa0nHEkh7GRDA+jW8QpRmtQxQ@HIDDEN>
Subject: 29.0.50;
 failing to load .eln for init file sets user-init-file to warnings.el
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000ad1d9705edbe8959"
Received-SPF: pass client-ip=2a00:1450:4864:20::62f;
 envelope-from=lekktu@HIDDEN; helo=mail-ej1-x62f.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--000000000000ad1d9705edbe8959
Content-Type: text/plain; charset="UTF-8"

If you use ~/.emacs instead of ~.emacs.d/init.el, and happen to compile
.emacs, Emacs loads .emacs.elc (as it has always done), but the native
compiler does *not* know how to compile it (because it does not know how to
locate its source), so it gives a warning:

022-11-18 02:54:01+0100 Warning (comp): Cannot look up eln file as no
source file was found for d:/Home/.emacs.elc

and then it assigns the user-init-file to the native-compiled warnings.el,

"d:/Home/.emacs.d/native/29.0.50-a4a10996/warnings-28e75f4d-02da775e.eln"

which now, with the fix for bug#59334, ends up pointing to warnings.el:

ELISP> user-init-file
"d:/Devel/emacs/repo/trunk/lisp/emacs-lisp/warnings.el"

--000000000000ad1d9705edbe8959
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,sa=
ns-serif"><font face=3D"arial, sans-serif"><br>If you use ~/.emacs instead =
of ~.emacs.d/init.el, and happen to compile .emacs, Emacs loads .emacs.elc =
(as it has always done), but the native compiler does *not* know how to com=
pile it (because it does not know how to locate its source), so it gives a =
warning:</font><br style=3D"font-family:Arial,Helvetica,sans-serif"><br sty=
le=3D"font-family:Arial,Helvetica,sans-serif"><font face=3D"monospace">022-=
11-18 02:54:01+0100 Warning (comp): Cannot look up eln file as no source fi=
le was found for d:/Home/.emacs.elc</font><br style=3D"font-family:Arial,He=
lvetica,sans-serif"><br style=3D"font-family:Arial,Helvetica,sans-serif"><s=
pan style=3D"font-family:Arial,Helvetica,sans-serif">and then it assigns th=
e user-init-file to the native-compiled warnings.el,</span><br style=3D"fon=
t-family:Arial,Helvetica,sans-serif"><br><span style=3D"font-family:monospa=
ce">&quot;d:/Home/.emacs.d/native/29.0.</span><span style=3D"font-family:mo=
nospace">50-a4a10996/warnings-28e75f4d-</span><span style=3D"font-family:mo=
nospace">02da775e.eln&quot;</span><br><br>which now, with the fix for bug#5=
9334, ends up pointing to warnings.el:<br style=3D"font-family:Arial,Helvet=
ica,sans-serif"><span style=3D"font-family:monospace"><br>ELISP&gt; user-in=
it-file</span><br style=3D"font-family:monospace"><span style=3D"font-famil=
y:monospace">&quot;d:/Devel/emacs/repo/trunk/</span><span style=3D"font-fam=
ily:monospace">lisp/emacs-lisp/warnings.el&quot;</span><br style=3D"font-fa=
mily:monospace"><br></div></div>

--000000000000ad1d9705edbe8959--




Acknowledgement sent to Juanma Barranquero <lekktu@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#59358; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 25 Nov 2022 19:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.