GNU bug report logs - #48015
28.0.50; ELPA package compilation fails

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: Michael Albinus <michael.albinus@HIDDEN>; dated Sun, 25 Apr 2021 10:39:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 48015) by debbugs.gnu.org; 28 Apr 2021 14:23:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 28 10:23:02 2021
Received: from localhost ([127.0.0.1]:53759 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lbl5i-0003Lv-2F
	for submit <at> debbugs.gnu.org; Wed, 28 Apr 2021 10:23:02 -0400
Received: from mout.gmx.net ([212.227.15.19]:43319)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1lbl5f-0003LR-BC
 for 48015 <at> debbugs.gnu.org; Wed, 28 Apr 2021 10:23:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1619619770;
 bh=NS+ZaQBaEdmZQhRVl92bAXofPFgXWzRU0fm3bfHzTT0=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=iu5KDg0LPJ3Z8wUC8wmOGgOLCT/O0vILjdZBY20CVkyocZJkEtAsvEfGxT8swathV
 FfwVPfzMJyainwyFVTur9ElOvN6dEpfsupf/NbOZs6ba8t9ZRNSPxYSylpIn43Ky85
 ChrxS2fnTYgl2Dg9ckh8pwzZYbJCMnBmo1ntRfpc=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from gandalf.gmx.de ([213.220.147.93]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M9Wuk-1lhGrW25w4-005VzE; Wed, 28
 Apr 2021 16:22:50 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails
References: <875z0amyxo.fsf@HIDDEN> <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN>
 <87wnsql1ih.fsf@HIDDEN> <jwvlf94puu3.fsf-monnier+emacs@HIDDEN>
 <87v988c4qp.fsf@HIDDEN> <jwvpmyfn9f3.fsf-monnier+emacs@HIDDEN>
 <jwvczufftg4.fsf-monnier+emacs@HIDDEN>
Date: Wed, 28 Apr 2021 16:22:49 +0200
In-Reply-To: <jwvczufftg4.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Tue, 27 Apr 2021 14:58:25 -0400")
Message-ID: <871rau5w06.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:izXSGC0oEK3m0AxUaEHTkrj7kKx61pbs/5+N/j5hy7pXlir25cX
 G1l1WeihGCxslEg2H9mYf2qkBhQ+HpHVhH8w7YKUSqC1XKyDWMQ92jdsa33MVBrZbX6jqQv
 oCpvnhla2uMiwVmHVV6nVwxeNLTCRzjYp+M1guehpwfbIJ4e5TBnQ6NpRHpCzfClvP634Pk
 snXk7YrsiQmEJnMS3mQ8Q==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:HOgmXE2uWrA=:wb9aSfpaSt0BTy9BSwDEiX
 yyVH48yheIZM5jW2pg3JZUa+EoScU3mbkb5O7OdiQwcKDRWqwd/QdkAlLMgug0lGPAQKwv6Mp
 MO9k+hm/ZkegRR7tvAkaByiFqv54K5yoGLU9gDjW09KT1zncMAIAcxUxa2dMmVJvptvwPyR2A
 4AvcO8ZRiEkBTW9aV3fbLpa2QexLZmJc/IjMAkaYSRWGrnKsuuSr2RajBYXw5txS7t8rLoCd3
 s/IsycI76gZoznpL5OGozqpBe+XTUDDSzY36vKupyw9n8Hk6UA1BnVEGaiYL+Zvm0OaV0pO0g
 v2iLNbq+Kh5shEf2ouPi2Zd4Gut4sUu6+mlPfVhagLVauiKtjGD+KoBXtQOthloqBesRn8EES
 Or4svS8Mg9y4/+T9gWFY5ADvc9Kvtpjxp7I+g27CQDWPE3szCSD3XOwu9nIghiU0w7zFJhyZ+
 yThDa3VdOli3bYlV3NJRyBsVy2SNjvgvxg7bYRKSQXESBDhn0FnxUhAjK/70tvKxPyf35pqLN
 C5Y8zJF5h45VrIqg++PRijPy2OKrlNGZQZyOGT54zfLUi//tq++V+HrWHY80dHvEhwLfV71e+
 sadzl3C4n1ZmthRyxsFvjVTUjI5Mdw8vfqyXpBsMa06uBjePAGyn5taQS96B24R4nTG8T7OoX
 Ck5Ol5P9kJtkoIQxceeHmFoQkpxBv7k0i/ckQGoaiGin59OQfBmyOWHdyhKH9KagETRhxy6Ir
 imYZEHQlUZFFh8Nt1uIieP/uOXKxTcXeGAHFIaxOhISNE33AnqjcyRhyOHGDAk6rW5Q1RvDpL
 W3lsHqsW9orAjiMLDfkM8u3m+h7WilAZFGk4HOf7YXP6nNwPnomzBNFD4RlN9qixl4vbK0nVK
 gywigV010pbfF+5YER8vcorUCwrbXxz50xjKS3N56UQRZkJX5kDdqoKsIf3GL7h1D97via7hM
 4Y9I4wkjY935VRihVFWczM7441aTZmjXAtcTh3TAnGkx+t2GAfqzSOOi5HkEI0jMu70J5av9+
 HVM8o+xkcGqHproYFrhie5KCkZORBvAN/hWS5wcY8hNLZlrkGo4yVdDApDl65VKKvFiJgw7EG
 OdRulu1lxWUH+6T/+z0e2/TECbVo9oriI5JIL5r0P6Kn5BP4zVMw2/0ADE2STJzaGLUFlKh4J
 GM2wl2E7iNTkxMZdGg4bpjJqjiYuCHSPJSivENjpw/QrhNyvUYvDORB1MmdI2EAwLXfKXBbvS
 SKCE1VY+T0R8TIDvM
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 48015
Cc: 48015 <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.7 (-)

Stefan Monnier <monnier@HIDDEN> writes:

Hi Stefan,

> Hmm... no I don't think this will make any difference when
> default-directory is not under the control of Tramp.
>
> Another approach is to add something like
>
>     ;; Reload `tramp-compat` when we reload `tramp-autoloads`.
>     ;;;###autoload (when (featurep 'tramp-compat)
>     ;;;###autoload   (load "tramp-compat"'noerror 'nomessage)
>
> This presumes that the only file that really needs to be reloaded is
> `tramp-compat`.

This is as good (or bad) like the other proposal. Installing a Tramp
package finishes, and it compiles everything. However, the *.elc files
show still the compatibility problems.

Restarting Emacs, and running tramp-recompile-elpa, fixes this.

>     Stefan

Best regards, Michael.




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

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


Received: (at 48015) by debbugs.gnu.org; 27 Apr 2021 19:13:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 27 15:13:21 2021
Received: from localhost ([127.0.0.1]:50943 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lbT97-0005Jc-Gq
	for submit <at> debbugs.gnu.org; Tue, 27 Apr 2021 15:13:21 -0400
Received: from mout.gmx.net ([212.227.17.21]:34099)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1lbT92-0005JK-W3
 for 48015 <at> debbugs.gnu.org; Tue, 27 Apr 2021 15:13:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1619550788;
 bh=g4IDRhpoYz56dV0qraXbtG/qqDZVi0pkgjjn9twVv9o=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=cbZQnDWTyPUSpbNAPI9vj0I5sXvrCdStpn5JYmihCsXsQTF0+53Rj/pfmPym/QMYE
 d5mdIw9DNe/UFbxAPP+XfreD0bxvK8yH1H+dta+JtZvrdU/JI3C00wav0Dr0rxL6eq
 8/8iJEoBllYpmIlrkZhkHG/a0yGwgIGK20eA1wD4=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from gandalf.gmx.de ([212.86.54.40]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M4axq-1ld7ZN2Rdu-001lxT; Tue, 27
 Apr 2021 21:13:07 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails
References: <875z0amyxo.fsf@HIDDEN> <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN>
 <87wnsql1ih.fsf@HIDDEN> <jwvlf94puu3.fsf-monnier+emacs@HIDDEN>
 <87v988c4qp.fsf@HIDDEN> <jwvpmyfn9f3.fsf-monnier+emacs@HIDDEN>
 <jwvczufftg4.fsf-monnier+emacs@HIDDEN>
Date: Tue, 27 Apr 2021 21:13:05 +0200
In-Reply-To: <jwvczufftg4.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Tue, 27 Apr 2021 14:58:25 -0400")
Message-ID: <87r1ivczi6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:+V81dCk1mRl0KlACXSGwVNUrxxhbyXQioB388V2JmTs00/xIbA9
 40R7gLDFEpKDa/UsbTuEUr+yGJGAt2GVTt5UxBsiHULYXuEyEKJ9W4yy02K2TSYzk+sg3NE
 cRftueWtAkPVimBAUeyrGRw/k9q4fwhzOewSo2dPMC9N0kZcRgXS37otsLL5WsBD3kTNX3I
 qs/V33TLD+LZBKYVrH0qg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:Fh3qabZoJM8=:DgV8B/Cc6I+66FbQPGX7dg
 w7aDBbb4wAv2IgNF/ORwUU6WrbnYbpQGTCARDoreD7yTEAi/Mvhgp/+/8tOTVbt4l4ooyC011
 4NcAC0jOQIPLKhPJVo8t+sT5lyLEeP/IK7vFvYf7xWTXgNKpk9IyeTyuprI64MuVyYVC40h8F
 xQyaFfnuiwoqNF+lwNjbnHfzzmkjMjl/jO4ktGO5xJ/9vUCF1jPvT0FddiNOwj//A3+eeJZkv
 tQGYjUvVHOhb4Xd0BQRvILJm/8hEkdPaX44Zi8vRlujnmP5hFUTKbGQyQtBiWRNyoSChjai1q
 lASgYB1AiiIjGagWIPPJYsneiA497c8jGfDAqpc5X3KkgXUEUndqtQQkFwRN7Ng8XrTTnZVE/
 mnwKTB6M1OZN65YO3D9Pgn82gaNq86HiOo+/sZLNrcrbchXSaUA0bJae3gJhIHls6EFOJoZSp
 xgyPDmGE55bsXsQ/bXK6UhMIWLPhZxfKD2Ui2JjAJYoi2EzQNnjPxO5VVl29LTiTouKvvbD4K
 32dZY7gRa3wYkaHRyrH0jefJUCPMFJk8cL5hIW6RG+ZmC0joctNgeXZaMvHO1PEs50sOTxDKy
 xpRqBEMsFdQBXsaMFiwBHapRUN++Fb5GfYI72fHVJr4ue1vjB+9tZ833UcWfmsq01gwffUB+Z
 d3E09oDD/bnx+LB8TmJN84wi+tTszn5HsogR7C7kYGrH4lagGopUH8iKw97Y8G7T1RE+C1d15
 ccP4HSi2ZmjhbdotWbZ6otQePntU1LLOu9+R0NY9iflg4xwTy0OXOE7JlRctb83nR9RB/l3+U
 a1kiG5UlsBsOO4FA9mmxOa5PapFAeWRAI76wc5N3KfOThBMpqWSG9i7JkDLTzvVGQ95jmN5o+
 NQEEH/fK2dYFWKiWVSJ4YW4t+biwaWMaNRgXXjGdUTUhoNVN86pb75wnoXxXpBR9ScPvjnvF+
 HsT68OG1Mc7S+joinv7EtKfrbV2Dw5yYH2d9Ae8FwVVTgUNfc5ou3EcI118o84CjCAQgBH0Ue
 W1wp1l6AoHUIL2gLN982HRnK7awjp8VkG9+QGTbfo//fBbviRsOgoyIyeVw/qIE3XBnfRST3T
 t2lZ0k8sFqUWmdPiAYaXX3nH71fTZDHuH/bQXBYVQ9BYyzj5Si/dlPrHH3Lf6o0wbYSK+ME3y
 9SZusY10GjzSxedzpoUM9oKTURsOQlO1wAq74VN4cEwCcjgcwVjLTKu/sLHtBKcLUCSWVlgb6
 sSAOQ+buSfQAzraQI
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 48015
Cc: 48015 <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.7 (-)

Stefan Monnier <monnier@HIDDEN> writes:

>> BTW, maybe one option to circumvent both problems is to replace
>>
>>     (load "tramp" 'noerror 'nomessage)
>>
>> with
>>
>>     (load "tramp-compat" 'noerror 'nomessage)
>>     (load "tramp" 'noerror 'nomessage)
>
> Hmm... no I don't think this will make any difference when
> default-directory is not under the control of Tramp.

Well, I have just pushed this change. It seems to help partly. Emacs
27.2 isn't blocked any longer when installing an incompatible Tramp
version, even when default-directory is remote while installing. It
shows just an error message. And after restarting Emacs,
tramp-recompile-elpa does arrange everything. This is a scenario I could
explain to the users :-)

> Another approach is to add something like
>
>     ;; Reload `tramp-compat` when we reload `tramp-autoloads`.
>     ;;;###autoload (when (featurep 'tramp-compat)
>     ;;;###autoload   (load "tramp-compat"'noerror 'nomessage)
>
> This presumes that the only file that really needs to be reloaded is
> `tramp-compat`.

I'll test this tomorrow. It was a hard day ...

>     Stefan

Best regards, Michael.




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

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


Received: (at 48015) by debbugs.gnu.org; 27 Apr 2021 18:58:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 27 14:58:15 2021
Received: from localhost ([127.0.0.1]:50921 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lbSuU-0004wc-Nu
	for submit <at> debbugs.gnu.org; Tue, 27 Apr 2021 14:58:14 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55734)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1lbSuQ-0004wO-W1
 for 48015 <at> debbugs.gnu.org; Tue, 27 Apr 2021 14:58:13 -0400
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 36690100222;
 Tue, 27 Apr 2021 14:58:05 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2AFCD1000CF;
 Tue, 27 Apr 2021 14:58:03 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1619549883;
 bh=MosAmMBUXbTrEIDGiYs6QWODF4NHf7Mi+byz99pVm5Y=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=kr+xe4CY4RDEVSksQMKH0ybfErBjHcjhLt/3+8StsVncq9DW94gyg0l70JbJZED7o
 iWauhKpjVwgSRN00+ZgyD2HDhqwP44qm7/+jn9UQzekUI/sIXQqhN6IAx5RCMH0HJs
 KYmD7e9deZCZxwCk/bYYFNO1UzmXibqfSokKOpy2hIhJbvyFdiIEABwhlLZXe9hqWK
 xKGDXBrh23rTbIuCpYnm5kasNTTMKUV5MrhcEBTXqz5bGOeKU1xjELvvFiZlDYUHYC
 LWrxGW3nVoXui2ilQEDMNZNgGj9l9UOyGRY5Zm2NNtvTfZHXJRJ2AfEa3bXsq5ewnv
 nSwKw4F9EoB3w==
Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 11E8612026E;
 Tue, 27 Apr 2021 14:58:03 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Michael Albinus <michael.albinus@HIDDEN>
Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails
Message-ID: <jwvczufftg4.fsf-monnier+emacs@HIDDEN>
References: <875z0amyxo.fsf@HIDDEN> <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN>
 <87wnsql1ih.fsf@HIDDEN> <jwvlf94puu3.fsf-monnier+emacs@HIDDEN>
 <87v988c4qp.fsf@HIDDEN> <jwvpmyfn9f3.fsf-monnier+emacs@HIDDEN>
Date: Tue, 27 Apr 2021 14:58:25 -0400
In-Reply-To: <jwvpmyfn9f3.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Tue, 27 Apr 2021 09:47:25 -0400")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL 0.076 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48015
Cc: 48015 <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 (---)

> BTW, maybe one option to circumvent both problems is to replace
>
>     (load "tramp" 'noerror 'nomessage)
>
> with
>
>     (load "tramp-compat" 'noerror 'nomessage)
>     (load "tramp" 'noerror 'nomessage)

Hmm... no I don't think this will make any difference when
default-directory is not under the control of Tramp.

Another approach is to add something like

    ;; Reload `tramp-compat` when we reload `tramp-autoloads`.
    ;;;###autoload (when (featurep 'tramp-compat)
    ;;;###autoload   (load "tramp-compat"'noerror 'nomessage)

This presumes that the only file that really needs to be reloaded is
`tramp-compat`.


    Stefan





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

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


Received: (at 48015) by debbugs.gnu.org; 27 Apr 2021 13:47:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 27 09:47:37 2021
Received: from localhost ([127.0.0.1]:48342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lbO3s-0006eT-Qm
	for submit <at> debbugs.gnu.org; Tue, 27 Apr 2021 09:47:37 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6636)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1lbO3q-0006e0-L6
 for 48015 <at> debbugs.gnu.org; Tue, 27 Apr 2021 09:47:35 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 02E2280931;
 Tue, 27 Apr 2021 09:47:29 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 690DC8083B;
 Tue, 27 Apr 2021 09:47:27 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1619531247;
 bh=nGc4JVkr68OdStcQAGzZEKEt1evJFyxB8hAGYf+Xzjw=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=heIkyxf4lG5NTKe/i5qHi3RAhHZg0Fkgats0o+2tszTCKSirk81/YSqXqA5+NGajQ
 98mehrWwXTaGQp7yGU9NqsHUDfwzmuadqpRiDsA0skxnE5Zn8KR3JVwibMYyfuUcRj
 TAl25X/icQQk1DV3WR5dm68sbQTHhpl7ruUuSFRWj1uNDySEgarwr6iUQbx1zBphRb
 +uBuNbTlHQ9U0yJP89Ueex9cOZiG0TNjl30jb7ZDzD+41i5jQEsOJmex4vGIXiwrr0
 YuzD+qTTiDY13MNSw6PaiEy1lhDuAlbFxgShP1hHlT/srhvS37GEk8G7q9+A7gV4f3
 rpQHsYvNW9eRA==
Received: from alfajor (unknown [157.52.10.47])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 10DEC120312;
 Tue, 27 Apr 2021 09:47:27 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Michael Albinus <michael.albinus@HIDDEN>
Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails
Message-ID: <jwvpmyfn9f3.fsf-monnier+emacs@HIDDEN>
References: <875z0amyxo.fsf@HIDDEN> <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN>
 <87wnsql1ih.fsf@HIDDEN> <jwvlf94puu3.fsf-monnier+emacs@HIDDEN>
 <87v988c4qp.fsf@HIDDEN>
Date: Tue, 27 Apr 2021 09:47:25 -0400
In-Reply-To: <87v988c4qp.fsf@HIDDEN> (Michael Albinus's message of "Tue, 27
 Apr 2021 14:05:18 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.076 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48015
Cc: 48015 <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 (---)

>> The core problem that I see is the following:
>>
>> - Emacs's tramp gets loaded
>> - We go to a Tramp-controlled default-directory
>> - We call `package--load-files-for-activation`
>>   - This starts by loading ~/.emacs.d/elpa/tramp-NN.MM/tramp-autoloads.el
>>     This calls `tramp-register-autoload-file-name-handlers`.
>>   - At this point, `package--load-files-for-activation` would like to
>>     continue by (re)loading the new Tramp files, such as `tramp-compat`
>>     and friends in the same order that they have been loaded
>>     (i.e. `tramp-compat.el` before `tramp.el`).
>>   - But before it gets a chance to do that, the file-name handlers
>>     call `tramp-autoload-file-name-handler` because of `default-directory`,
>>     which does (load "tramp" 'noerror 'nomessage), which loads the new
>>     `tramp.el` before we got a change to load the new `tramp-compat.el`,
>>     which then leads to an error when the new code in `tramp.el` calls
>>     a new function from `tramp-compat.el` (which happens to be
>>     `tramp-compat-thread-yield` AFAICT).
>>
>> At this point, I'm not sure how best to fix the problem.
>> Maybe replacing (load "tramp" 'noerror 'nomessage) with
>> (require 'tramp nil t) is all it takes.
>> Or maybe a better option is to arrange the autoloads such that
>> `tramp-register-autoload-file-name-handlers` doesn't "unload/unregister" file
>> handlers that have already been loaded so that the directory that was
>> already under Tramp's control doesn't re-trigger a call to
>> `tramp-autoload-file-name-handler`?
>
> What I don't understand: when (load "tramp" 'noerror 'nomessage) is
> called, default-directory is already local due to a let-binding.

That's fine, this load functions properly.  The problem is elsewhere:
- loading the new `tramp.el` works properly but results in a broken
  setup because it will not load the new `tramp-compat.el`
  because that feature is already provided.  So you end up with a new`
  tramp.el` calling functions it expects to be provided by the new
  `tramp-compat.el`.
- the Tramp default-directory is not active during the load, but it is
  active right before it (it is the trigger that causes the load, actually)
  and it is active right after it (before package.el gets to reload
  `tramp-compat.el`) and that's when the new code from `tramp.el`
  signals an error because of the missing function from the new
  `tramp-compat.el`.

> Anyway, even if the compilation runs through in case of a local
> default-directory, the resulting *.elc files have errors.
>
> I have quit Emacs (from the first recipe), and then I have started
>
>     emacs -Q -L ~/.emacs.d/elpa/tramp-2.5.0.3/ /ssh::
>
> There are further errors, which are related to a wrong
> tramp-compat.el. Only my new command tramp-recompile-elpa fixes this.

I suspect this is the result of the `find-library-name` problem I fixed
yesterday on `master` (which causes `package.el` not to load the new
files to override the old ones before compiling the new files).

You can circumvent it by loading `find-func` before doing the
`package-install`.  I'm not sure how the GNU ELPA package of Tramp can
protect itself from this bug yet (beside `tramp-recompile-elpa`, of
course).

BTW, maybe one option to circumvent both problems is to replace

    (load "tramp" 'noerror 'nomessage)

with

    (load "tramp-compat" 'noerror 'nomessage)
    (load "tramp" 'noerror 'nomessage)

?


-- Stefan





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

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


Received: (at 48015) by debbugs.gnu.org; 27 Apr 2021 12:05:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 27 08:05:36 2021
Received: from localhost ([127.0.0.1]:48220 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lbMT9-0001kF-Mp
	for submit <at> debbugs.gnu.org; Tue, 27 Apr 2021 08:05:36 -0400
Received: from mout.gmx.net ([212.227.17.22]:53839)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1lbMT6-0001jz-QY
 for 48015 <at> debbugs.gnu.org; Tue, 27 Apr 2021 08:05:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1619525124;
 bh=yV8RoxkASGPCy/9G2uFifkBsn5z4QnLlvcjthuDZo5c=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=OZqgxY47h00P5B85Iy0NlpDu+H9EtB9+tTXRtDg0gkwY8b1DA8aI6cToL4+Ec91JR
 ampJf7/Q3ZXbiC7ZV16JiXIkOVTRY4tdW9OR/rPQOdL3cEud4f/nDmnQ8bCWJGJs6I
 ZiflhrgZO/qEh0ikH9x+qRLgIT9B/+UDvXktOm+0=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from gandalf.gmx.de ([212.86.54.40]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTAFb-1m1uyl2d7n-00UY4q; Tue, 27
 Apr 2021 14:05:20 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails
References: <875z0amyxo.fsf@HIDDEN> <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN>
 <87wnsql1ih.fsf@HIDDEN> <jwvlf94puu3.fsf-monnier+emacs@HIDDEN>
Date: Tue, 27 Apr 2021 14:05:18 +0200
In-Reply-To: <jwvlf94puu3.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Mon, 26 Apr 2021 18:16:18 -0400")
Message-ID: <87v988c4qp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:c/g937Fn8WCeMfro4co5lJYPVOENYln0WfK1v06CjouBtDLKFB3
 wTXwp3n0LHq3OKWSHn5bPlS07bpL6O/QgA8HtgySAEOPzZ9KCzGzuneeG/S01OeYHQmFmGK
 4krU9D+gghj3Peb3yRv1OxcWpDsNYRkAgXGpEcz6YtFSjpmnNyhaUAkPNScLMzQvdbmxu5I
 PP/55s8C4rcqnXmEHqa8Q==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:iPxvN0YrDv0=:MEkt+XuWbZEx7tC49vfgHA
 yopL9BPModZiAR/vQXx13Lx9MwT84OhbHl2/2pvZAUCitNTWqU4eD2pzHtnTpdVwEBFAjaDiy
 QqyOOX1SdckkmgjrvYtSN8HN0+fgtyIEPd/Aaj2lEoVTQc6NWBP2492vRDGKb9zRAmPbJONi6
 /U2oMAwwmywbSpe+XBj/d41zwyMLKBvb6UcHnxl37Y1Fw6Evq25VbhSsxLPF6wBmjcId1lSfW
 PeSnbRA93UJLm+Fy6C/EwbaxlVCIaxuK9RqcrvgdqUulAdL/4tkzPTcjcdxmiwLzoC5jfXVOl
 yAldgUtYw3TI3DQ8o8O/nZ8cd24QrJkJBXDyDqf5RaOHwbuLBW2TqLMZ1VneCIvIqQw2xDB99
 QjSCZdfRVf3jpnlUy3mhx+bvYUfmkKbF/K975FZ2mZxigqoeB+CpYsbIBKwcpEZmu5jkveKYz
 Zp+otzqaQqHH6Nhr9URZr9I3NNGFUNR33ght2Ehk4oJLm2hJUB5PZnH8jWJYmfESDs8wwN7Mh
 JBkC8/l9bO9onAji0hDYt8ApUTQOSADVuKMYPZPoBKIlV7bw09gU6V205omBUjgG09yGv9PDS
 w0RYzcgameWCeO+f6GhW7XHmQfr4FLhe0vKqTHhFgl5OJk692YnCnOfC2Py+BWGLWjPQ0c/Yx
 iaRbuD0HHMArGxHvCCByL45B8zQIT0wfNAUhdZi9Y/c+2MDfV1AhtQBpi1J53UK6cJu6AYWuO
 BJcTvfAG/3yMzU9RxtxYV6LUld+52DLBTuz+uHeE12gyaJWPsoiqaXZ0+LwxqSkMHrgWLsreE
 OGLgbwpXLyoZjsACPm0qavrVNKHTbNAMO/qOYJbcfXeIypJYxX2w7/FVhQfHFOIp26wHgvQX3
 qcN11Tq6VuWe+ZFZCdJCs7QFqWZXtLqoaV/6SpiNV4oppPtaDLH4yjQmI87liwvTcGeSX9rmx
 0BmL0FE+fpw22l/wsR8EuxzSvF8Y5vBSLiQKNE/UrHZhjcbf3KqJqmyWqEJnXZ86ySEcIM9p0
 ClYykIQXzh7vIXVxLVXkAsK8PEf/GlRyYC79QHb13INwS0WF13jw3rLDMDuVw107oZEcc++Dp
 m8Jl+6+mF9tHpN+FAwSC2IfcDVcf/hX2M/BYPIFmQFr/IhoI7tTNELPgdcZbSI4eBvWgQEzmd
 9rHloUbCCGqAk3ux45yn3vpSCnnY8xwmdkQjBtnWidAw31ceJIEM/pG6dHluKX4JrdgdnC44C
 kGCYRr2/Kr4fLTtXs
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 48015
Cc: 48015 <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.7 (-)

Stefan Monnier <monnier@HIDDEN> writes:

> The core problem that I see is the following:
>
> - Emacs's tramp gets loaded
> - We go to a Tramp-controlled default-directory
> - We call `package--load-files-for-activation`
>   - This starts by loading ~/.emacs.d/elpa/tramp-NN.MM/tramp-autoloads.el
>     This calls `tramp-register-autoload-file-name-handlers`.
>   - At this point, `package--load-files-for-activation` would like to
>     continue by (re)loading the new Tramp files, such as `tramp-compat`
>     and friends in the same order that they have been loaded
>     (i.e. `tramp-compat.el` before `tramp.el`).
>   - But before it gets a chance to do that, the file-name handlers
>     call `tramp-autoload-file-name-handler` because of `default-directory`,
>     which does (load "tramp" 'noerror 'nomessage), which loads the new
>     `tramp.el` before we got a change to load the new `tramp-compat.el`,
>     which then leads to an error when the new code in `tramp.el` calls
>     a new function from `tramp-compat.el` (which happens to be
>     `tramp-compat-thread-yield` AFAICT).
>
> At this point, I'm not sure how best to fix the problem.
> Maybe replacing (load "tramp" 'noerror 'nomessage) with
> (require 'tramp nil t) is all it takes.
> Or maybe a better option is to arrange the autoloads such that
> `tramp-register-autoload-file-name-handlers` doesn't "unload/unregister" file
> handlers that have already been loaded so that the directory that was
> already under Tramp's control doesn't re-trigger a call to
> `tramp-autoload-file-name-handler`?

What I don't understand: when (load "tramp" 'noerror 'nomessage) is
called, default-directory is already local due to a let-binding.

Anyway, even if the compilation runs through in case of a local
default-directory, the resulting *.elc files have errors. I have quit
Emacs (from the first recipe), and then I have started

emacs -Q -L ~/.emacs.d/elpa/tramp-2.5.0.3/ /ssh::

There are further errors, which are related to a wrong
tramp-compat.el. Only my new command tramp-recompile-elpa fixes this.

>         Stefan

Best regards, Michael.




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

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


Received: (at 48015) by debbugs.gnu.org; 26 Apr 2021 22:16:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 26 18:16:31 2021
Received: from localhost ([127.0.0.1]:47439 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lb9Wo-00082w-Oh
	for submit <at> debbugs.gnu.org; Mon, 26 Apr 2021 18:16:30 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:49887)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1lb9Wk-00082g-I1
 for 48015 <at> debbugs.gnu.org; Mon, 26 Apr 2021 18:16:29 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 11B098043C;
 Mon, 26 Apr 2021 18:16:21 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 843A380342;
 Mon, 26 Apr 2021 18:16:19 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1619475379;
 bh=9uy0ylT/3ZNnXF321Y8rH3I0K0rcvZCnSYkn1twc4DI=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=IkrqMqMEyMuqtauyNKg6J74G61DfC730ZsX5tNPx7j1EJbCNfxdHOwqv6Hh+Y2f8y
 pk4B0Y2RSqqiAUjlKqU/VXztKWXJFRNYdSIjfTFD9HY+x8gvHfyOnC0gQ+8NSYhvxp
 5M41goUdh0MWHAvYcTfEqHYyW3BbrZPipi3rMyPpT55rmcgBNqFAF6oWK4/c1R3sta
 3JcxgzFWo2ACnAMPmnK3HJ2s9iwSPGEOWS5TmokOiPwVTcgZSYJJ6SqF5KZmIQndTJ
 6NBRGRpNQTr6/Awlp/3vaVp3JeEWYQBjrAFdlsEm7IG3CbyK4yuIWjH5svqlkdn9b1
 cu42Tfwfm68Nw==
Received: from alfajor (unknown [157.52.10.47])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 55F681201B3;
 Mon, 26 Apr 2021 18:16:19 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Michael Albinus <michael.albinus@HIDDEN>
Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails
Message-ID: <jwvlf94puu3.fsf-monnier+emacs@HIDDEN>
References: <875z0amyxo.fsf@HIDDEN> <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN>
 <87wnsql1ih.fsf@HIDDEN>
Date: Mon, 26 Apr 2021 18:16:18 -0400
In-Reply-To: <87wnsql1ih.fsf@HIDDEN> (Michael Albinus's message of "Sun, 25
 Apr 2021 19:25:42 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.076 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48015
Cc: 48015 <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 (---)

> Same here. Hitting C-g at the password prompt is not sufficient to
> trigger the error for package installation.
>
> Maybe you could use something else? "emacs -Q /ssh::" did the failing
> test.

Indeed, I can reproduce the problem now.  Basically you need
default-directory to be under Tramp's control.

The core problem that I see is the following:

- Emacs's tramp gets loaded
- We go to a Tramp-controlled default-directory
- We call `package--load-files-for-activation`
  - This starts by loading ~/.emacs.d/elpa/tramp-NN.MM/tramp-autoloads.el
    This calls `tramp-register-autoload-file-name-handlers`.
  - At this point, `package--load-files-for-activation` would like to
    continue by (re)loading the new Tramp files, such as `tramp-compat`
    and friends in the same order that they have been loaded
    (i.e. `tramp-compat.el` before `tramp.el`).
  - But before it gets a chance to do that, the file-name handlers
    call `tramp-autoload-file-name-handler` because of `default-directory`,
    which does (load "tramp" 'noerror 'nomessage), which loads the new
    `tramp.el` before we got a change to load the new `tramp-compat.el`,
    which then leads to an error when the new code in `tramp.el` calls
    a new function from `tramp-compat.el` (which happens to be
    `tramp-compat-thread-yield` AFAICT).

At this point, I'm not sure how best to fix the problem.
Maybe replacing (load "tramp" 'noerror 'nomessage) with
(require 'tramp nil t) is all it takes.
Or maybe a better option is to arrange the autoloads such that
`tramp-register-autoload-file-name-handlers` doesn't "unload/unregister" file
handlers that have already been loaded so that the directory that was
already under Tramp's control doesn't re-trigger a call to
`tramp-autoload-file-name-handler`?


        Stefan





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

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


Received: (at 48015) by debbugs.gnu.org; 25 Apr 2021 17:25:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 25 13:25:55 2021
Received: from localhost ([127.0.0.1]:43628 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1laiW3-0008Vn-14
	for submit <at> debbugs.gnu.org; Sun, 25 Apr 2021 13:25:55 -0400
Received: from mout.gmx.net ([212.227.17.20]:50335)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1laiW1-0008Va-4T
 for 48015 <at> debbugs.gnu.org; Sun, 25 Apr 2021 13:25:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1619371544;
 bh=LaDVdkO1VYt+P61K+gVrl3xicaCLB6ASOCty+tv9vnE=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=KKcv0s0xn9riP+oG9xty2JYm19xCu3aaqcnG62K5PamsjoJiQWERMhRScBD7AsBOr
 amzqW0NvQpfP3o02C/VhQlHMcmbt5NdTRlBTcX/N5LtfpVeTDfSKv3YZzyTCZYMk7Q
 YKKXtT16Zl/PaP0NkkpJXjZhfRFiZWZtf3rvM3IE=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from gandalf.gmx.de ([212.86.54.40]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MAfUe-1llgsS09fM-00B5LQ; Sun, 25
 Apr 2021 19:25:44 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails
References: <875z0amyxo.fsf@HIDDEN> <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN>
Date: Sun, 25 Apr 2021 19:25:42 +0200
In-Reply-To: <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Sun, 25 Apr 2021 12:24:23 -0400")
Message-ID: <87wnsql1ih.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:bZ7FL8NgeGmXlDPouB4Un38RtGO3Lh2MVFpUZ+mXbM69u/XCW6P
 tnMdePaDgbYMtMzKCk0ctda27ztp4fBcyU+dbzIkN0qaNsYDsjM/TAzbZWRKtglKeR1QbAj
 dEUmQliHHs1mx6a3oGlcPxG7CT+euU1xgqiTwWH+P5jwKcA+lLq8V9vL+sIQFfvOSInuswu
 vJd4stwE8xt2RSIXYRgMA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:KGsqCZQwNcY=:B+sy2IdnfeSG74N72VhSrr
 /R72ELTJEx0hYDoerzcwWRzZ+uTttbilC1/ZAvI7PqQaIJUvmAXq24iskFNJA7eAL7e8tAcS9
 hTtieH7F3MQbMQqzykjBnsUTkE7mza0IdkbnQJT++wTfivli9QyNKD9My7zbJmM2Qi7RFQA+s
 wEllfX2rbSvk//06j9SiDQEMFDkGsyvduy9qSD7CKxm6Yh4YKiAOJ+wmZh0YsxtdGgTR+TqXu
 oidsg1jkrEYuizVg4akZFTU0h9iwHPHC70OZPT17Ywt5nTLyRbKHc0rtKJg7UQYl/H+JPnUnL
 Z51WQ1BVxp0CMAymarWG19YDygnV8+hFOEjtA703bNpM+M6xqNwHyIQBTviwn7HiDHalen5a8
 623xdTUX8t/1JD+Mi7Bw9QPVILk0ixkOd6ZttwxWFoRflpVT9KcZcp6z/sOYSeJOunqrRz9VA
 +148M1C2CYZYkX5brJL1wZ/h/r11gEcvLeUeskwTp6QoE9DevACbDJItS7Gw4vnI/TSVLwB2H
 +8ikMAmH0/WntRoYAVDl930dyJsw0uWxSDgzgQ6a8hohxsA0lkz6eQXcCtyI9Jdf6LLI5rQKV
 LjYji7JVWsoBq12JF8dAaHGarAEEX31vBOeGqSRUltQBTV3cCm5lEnbWDbTZURSsegiyKaEv9
 RMOjxZHYrDCrhamALuKB5pgib4c11Y1XuxWJ+xBODrho7OsRDx05IckOGAXffd/gCwUP2S/ut
 wHCD87176QK2jzNMTLhxrPExTMdY8s7GfVYPg1rEDe5d9wtnBLpYOxQ/sVvPxAy/RXJyVkCI2
 g7+XbWb5vGdSAjMayyOz3SyCLEBmFTiMKJDqF84mBoPbYks4YtgcyN8kIsslL0yudsbjxA/Rp
 HQDRaxt2YjUWcjBr06pjFKiY9vE6QI/ltAjKjmyrpV+jqlG3i2FhsFBuntcBDHeK4jZHQPjeV
 u2jSpMgg3AJP6b2PqHhhjllX1EXDhO0xm8yM1bEch7lXlVgXVS0vvWLdnJgigorBUDrkjvvyx
 GtNemDjyE76St4wExdoGsJuaTPK+j9Fnqqv4Zn8BHUKe+vRlHm1dK8cyvboKc2bMi/6njprlb
 pzZ5hN46xOvnAGzAR5btfC+781YacItexOLaBoanlnRDudMxGMp5ooryHb9guX1X48q6G+NCp
 X3Pd43TWNTrPs+kOb6OQL8+YreKY4Ri1Gm0aPttw9l6O6gWRAu45egE4RF49almgk+ErWeDAf
 4nunOf4QCll7cqose
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 48015
Cc: 48015 <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.7 (-)

Stefan Monnier <monnier@HIDDEN> writes:

Hi Stefan,

>> - emacs -Q /sudo:: # Emacs 27.2 with builtin Tramp
>
> Since my account doesn't have sudo access here, I just hit `C-g` at the
> prompt.  I don't think it makes the difference (Tramp was loaded in any
> case), but I mention it for completeness.

Same here. Hitting C-g at the password prompt is not sufficient to
trigger the error for package installation.

Maybe you could use something else? "emacs -Q /ssh::" did the failing
test.

>> => Compilation error
>
> I don't get any error, neither with Debian testing's Emacs-27.1
> nor with the `emacs-27` branch.
>
> What error do you get?

I'm running a recent build of "GNU Emacs 27.2.50 (build 1,
x86_64-pc-linux-gnu, GTK+ Version 3.24.27) of 2021-03-28" on Fedora
33. But I don't believe it matters.

The point seems to be that default-directory is remote, when you call
list-packages, and try to install Tramp 2.5.0.3. Emacs completely blocks then.

I have seen also other error messages during Tramp package compilation,
which I'm not able to reproduce just now. But let's fix the first
problem first.

>         Stefan

Best regards, Michael.




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

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


Received: (at 48015) by debbugs.gnu.org; 25 Apr 2021 16:24:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 25 12:24:33 2021
Received: from localhost ([127.0.0.1]:43588 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lahYe-000755-Tz
	for submit <at> debbugs.gnu.org; Sun, 25 Apr 2021 12:24:33 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:18428)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1lahYd-00074r-3i
 for 48015 <at> debbugs.gnu.org; Sun, 25 Apr 2021 12:24:31 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id AFC7A8084B;
 Sun, 25 Apr 2021 12:24:25 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 663008089D;
 Sun, 25 Apr 2021 12:24:24 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1619367864;
 bh=bd/Ic47ZhmWk0BzzhficBao/hlq/1jSq3vQ45a/LhX0=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=VSUF56C/ucYN4MTM7IaFPk5CQKJvvfjDO0k0K2rQbg3e37+ndiLKCnEmFeXqqpnGI
 Cv+W+/WWp9nauF+xsQ+HbAO0wtr+4KxSqa+Rbj0qcRxBqpypUs/pw4nmOEBDx33zne
 DfJLVnR91LgAp+5NW6hKPshhUdHm5fZr1f43d2UH4Jf6lirdxWdU1Ux4Mxelxgkb6u
 ihjJ518UAqtMnpzyHJb/a+C+PgLi9iU2FmfL95WPvcM2MwITDX7QiQ0DLxf98PGEcM
 5R1Nm98yfTpLc/XU55AV0mZioOjoKkDjPko5JNAaHS8qax1T0/gUcYPHqPUrY8rEIs
 XCwo74q8AEk8g==
Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id ECDF7120296;
 Sun, 25 Apr 2021 12:24:23 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Michael Albinus <michael.albinus@HIDDEN>
Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails
Message-ID: <jwvlf96uzl6.fsf-monnier+emacs@HIDDEN>
References: <875z0amyxo.fsf@HIDDEN>
Date: Sun, 25 Apr 2021 12:24:23 -0400
In-Reply-To: <875z0amyxo.fsf@HIDDEN> (Michael Albinus's message of "Sun, 25
 Apr 2021 12:38:27 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.055 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48015
Cc: 48015 <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 (---)

> - emacs -Q /sudo:: # Emacs 27.2 with builtin Tramp

Since my account doesn't have sudo access here, I just hit `C-g` at the
prompt.  I don't think it makes the difference (Tramp was loaded in any
case), but I mention it for completeness.

> - M-x list-packages
> - Mark Tramp 2.5.0.3 with "i"
> - Install it with "x"

Done.

> => Compilation error

I don't get any error, neither with Debian testing's Emacs-27.1
nor with the `emacs-27` branch.

What error do you get?


        Stefan





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

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


Received: (at submit) by debbugs.gnu.org; 25 Apr 2021 10:38:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 25 06:38:40 2021
Received: from localhost ([127.0.0.1]:42067 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lac9v-0004aA-MJ
	for submit <at> debbugs.gnu.org; Sun, 25 Apr 2021 06:38:40 -0400
Received: from lists.gnu.org ([209.51.188.17]:60102)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1lac9t-0004a3-NX
 for submit <at> debbugs.gnu.org; Sun, 25 Apr 2021 06:38:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53242)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael.albinus@HIDDEN>)
 id 1lac9t-0001Xp-GL
 for bug-gnu-emacs@HIDDEN; Sun, 25 Apr 2021 06:38:37 -0400
Received: from mout.gmx.net ([212.227.17.21]:45293)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael.albinus@HIDDEN>)
 id 1lac9n-000375-Vm
 for bug-gnu-emacs@HIDDEN; Sun, 25 Apr 2021 06:38:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1619347108;
 bh=P6mofE7rvqk9Q//3mD00vnS24OIA01jiMDJ6ibuJtbs=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=eeyU7Hi6bKJonKNH0F2XBggAVLUB4/5aPqPp0Cxu+5nhHCJ6JO/29O7E+DHseFOAH
 615juEavmp1PYXtdbtEzA6QJLtGIXFXqs1E86P57b50fTOpUEeRsh9foCsVeZI++Su
 mzPRBWjFvCoepyUaaZA6M0FplcwByTCKZcU7OpZk=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from gandalf.gmx.de ([212.86.54.40]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MRCOK-1lvSQi1C0i-00NDQd for
 <bug-gnu-emacs@HIDDEN>; Sun, 25 Apr 2021 12:38:28 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; ELPA package compilation fails
Date: Sun, 25 Apr 2021 12:38:27 +0200
Message-ID: <875z0amyxo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:ed5ELnCSSu4YjgU4d/wQ6fsaAXfDhp/XaPfOhiZ19yoXiABoDKO
 F+SniD+kEhQ87M6zNv3ZZoLjqYGgirzvGVGvmpBM4YwpS7GYTmAMAGH3UwZcJ1a8Cfyd/SV
 CcRCCgUFuH2Py2SNIpQcHcMIJq0cK+OryUeDlWNAIWKcK+7mMbv33ZNwotlWk8ZEmoUrsyC
 l+cxSIEIzFy3xcTP4VF/Q==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:TBrOat49XFQ=:ruG4QXUVNxZEvEAeoJ3EK6
 v4BHOuto7O4TcNujYPWmnLV712hbFdgCSfrM+pZzv1OgJux0WB3MESWGX52vuznljI9nlNayC
 ncqA1uJx050Rkr2BsMmaGAXqF64U45PcV7CglVTFJ9+j2kYyoWukGr4EZS8SN0YoM6dwYC0rV
 RqrJGI8LhF8CINdwrCr53R50tV9/tInKP8FmiLJ9ky3GJGNuqnJbFtdMedwaJU5zmLtDdQFsD
 GI91lp4foLpc6Qb6PB94ZFBQD+bj7KtwEY0fR6ODcx4VmeKdwyk2B8/Bi5t8tXhgoCs2JHPsq
 /GadsFGOm1f3plhCfnSAjPfsliqX1199J5oHbphRXXwuUaVEXV2xtCUIrS1t2NpWb6kXouClA
 RAla1ouh6tOJMfQeEWJyN5J9zpKa29SAB7yPkD6Y6br3XfIiOnYpRKecH9IDUPyrkWjsJ4hLS
 P2ntFj0EY+G8idATfdnGH8O1j6CoVRREtW8HBVE4Z75kEYK1ZkCj9fOPkOkrgfFFwuOeLVKWu
 3sVqxD6SwhKDLtlUvM3b53JP1iiP9Up6bsW0f4NFeMRUG75tS+qvkQHIGxc2/9nYQyTASY5ao
 0g+nK9Z15LeOtlDDq6o9qWD2ZlQsdBOPxRk+OEMUxusGDbv0gyisNSUlgFfTxYy3ryp/zMBEn
 Cc+KFNd7lpsW92s9DD05M3Fmb8h6WD8JzWKLU/CVrLzr3IE7FruwhqJ2fJv8pbHfXEYJDumX2
 xkfCM41rEueiFymdJvTFjPSTY4E2fIyI0hORepLlIuSmNaWptFauD+MLGTTsTIBCYYZVhhI1K
 cU8ygBk+laLlrZfaQGiNVehboNfRijF41tApEngzroayGr3ymoMCyFoH25L2bdnn3C8+V5m6r
 BZ3UBe82q6GuSk8XVUHr82i60gn3L5Oi3+feFqbmPqYOX8geHiZhSbceueBpbWFowkZ0uozeI
 IMLOBtn14IwsFHuk0Pz6D1G4yk+tr9UEkd7RqdvMDNWYyt6dNQi9OFO3VITunR9dKwzX8S/uo
 jNvAd5Gqv6ST8O51v2VOXrpkiIG1VaE8wabPzYaivHW8vlTIduUf1Dj5Rto5GntR3KhF6tXbo
 kBYTXbEjGDx9gQVZtgPuQHGOfsg/gu3SiWkqy69v4A9nPqr9AmeSq8ytma6E6giOTtfCe6SFM
 sKlxBrLv6PwSXBYi116UKcI7w2DKr6qm/1yYVgEC1S9MK7JP14SjO7cp7Bm8ZnH4XkChOuUmi
 lKlwYVJpv372hTpKb
Received-SPF: pass client-ip=212.227.17.21;
 envelope-from=michael.albinus@HIDDEN; helo=mout.gmx.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.1 (/)
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.4 (--)


Scenario:

- emacs -Q /sudo:: # Emacs 27.2 with builtin Tramp
- M-x list-packages
- Mark Tramp 2.5.0.3 with "i"
- Install it with "x"

=> Compilation error

The problem is, that the loaded Tramp version is not compatible with the
Tramp version to be installed.

For Tramp, this problem is mitigated by command `tramp-recompile-elpa'.
But this could happen for any package.


In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.26, cairo version 1.16.0)
 of 2021-03-08 built on gandalf
Repository revision: 11d3af3c7b9dc5a2910807d311168fb82d962d0d
Repository branch: master
Windowing system distributor 'Fedora Project', version 11.0.12010000
System Description: Fedora 33 (Workstation Edition)

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER
PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3
ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8

Major mode: Group

Minor modes in effect:
  async-bytecomp-package-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  gnus-undo-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  delete-selection-mode: t
  icomplete-mode: t
  show-paren-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
~/lisp/dbus hides /usr/local/share/emacs/28.0.50/lisp/net/dbus
/home/albinus/src/tramp/lisp/tramp-sh hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-sh
/home/albinus/src/tramp/lisp/tramp-fuse hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-fuse
/home/albinus/src/tramp/lisp/tramp-ftp hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-ftp
/home/albinus/src/tramp/lisp/tramp hides /usr/local/share/emacs/28.0.50/lisp/net/tramp
/home/albinus/src/tramp/lisp/tramp-cache hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-cache
/home/albinus/src/tramp/lisp/tramp-uu hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-uu
/home/albinus/src/tramp/lisp/tramp-rclone hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-rclone
/home/albinus/src/tramp/lisp/tramp-integration hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-integration
/home/albinus/src/tramp/lisp/tramp-archive hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-archive
/home/albinus/src/tramp/lisp/tramp-adb hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-adb
/home/albinus/src/tramp/lisp/tramp-cmds hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-cmds
/home/albinus/src/tramp/lisp/tramp-compat hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-compat
/home/albinus/src/tramp/lisp/tramp-sudoedit hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-sudoedit
/home/albinus/src/tramp/lisp/tramp-gvfs hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-gvfs
/home/albinus/src/tramp/lisp/tramp-loaddefs hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-loaddefs
/home/albinus/src/tramp/lisp/tramp-crypt hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-crypt
/home/albinus/src/tramp/lisp/tramp-smb hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-smb
/home/albinus/src/tramp/lisp/trampver hides /usr/local/share/emacs/28.0.50/lisp/net/trampver
/home/albinus/src/tramp/lisp/tramp-sshfs hides /usr/local/share/emacs/28.0.50/lisp/net/tramp-sshfs

Features:
(shadow emacsbug tramp-theme em-dirs esh-var esh-mode esh-cmd esh-ext
esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util finder
loadhist gdb-mi gud shortdoc ediff-vers rng-cmpct rng-nxml rng-valid
rng-loc rng-uri rng-parse nxml-parse rng-match rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap sgml-mode nxml-util nxml-enc xmltok
helm-for-files helm-comint helm-imenu semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet
helm-bookmark helm-external helm-mode helm-elisp helm-files image-dired
dired-x ffap helm-buffers helm-tags helm-locate helm-eval edebug
helm-occur helm-grep helm-regexp helm-net helm-adaptive helm-info
helm-utils helm-types helm-help helm async-bytecomp helm-global-bindings
helm-easymenu helm-source helm-multi-match async helm-lib lsp-html
lsp-icons lsp-completion lsp-mode lsp-protocol tree-widget spinner
markdown-mode lv inline ht f s git-rebase magit-bookmark bookmark
magit-submodule magit-obsolete magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log magit-diff git-commit
log-edit pcvs-util magit-core magit-autorevert magit-margin
magit-transient magit-process with-editor server magit-mode magit-git
magit-section benchmark magit-utils which-func dash skeleton ibuf-macs
find-dired grep ibuf-ext ibuffer ibuffer-loaddefs autorevert tar-mode
arc-mode archive-mode autoload lisp-mnt cus-edit cus-start cus-load
finder-inf transient vc-dir mailalias misearch multi-isearch shr-color
color timezone help-fns radix-tree cl-print nndoc gnus-dup crm
debbugs-gnu add-log debbugs soap-client rng-xsd rng-dt rng-util
xsd-regexp mule-util tramp-cmds vc-mtn vc-src vc-sccs vc-svn vc-cvs
vc-rcs eglot array filenotify jsonrpc ert pp ewoc debug backtrace xref
flymake-proc flymake warnings compile pcase project imenu vc-hg vc-bzr
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs vc-git bug-reference ediff ediff-merg ediff-mult
ediff-wind ediff-diff ediff-help ediff-init ediff-util dired-aux
time-stamp org-element avl-tree generator ol-eww ol-rmail ol-mhe ol-irc
ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe
ol-docview doc-view image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m org
org-macro org-footnote org-pcomplete org-list org-faces org-entities
noutline outline org-version ob-emacs-lisp org-table org-loaddefs
find-func cal-menu calendar cal-loaddefs smerge-mode diff diff-mode
easy-mmode flow-fill mm-archive eww xdg url-queue thingatpt mm-url
url-http url-gw url-auth gnus-gravatar gravatar dns url-cache sort
smiley gnus-cite mail-extr gnus-bcklg cl-extra help-mode gnus-async
gnus-ml disp-table qp pop3 utf-7 nndraft nnmh nnml gnutls network-stream
nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg
gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-cache gnus-sum
shr kinsoku svg dom nnnil smtpmail sendmail gnus-demon nntp gnus-group
gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail
mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc
puny rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win
gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
text-property-search mail-utils mm-util mail-prsvr wid-edit edmacro
kmacro face-remap ob-shell ob ob-tangle ol org-src ob-ref ob-lob
ob-table ob-exp ob-comint ob-core ob-eval org-keys org-compat advice
org-macs vc vc-dispatcher cperl-mode rx time tramp-sh docker-tramp
kubernetes-tramp tramp-cache lxc-tramp lxd-tramp tramp tramp-loaddefs
trampver tramp-integration files-x tramp-compat shell pcomplete comint
ansi-color ring parse-time iso8601 time-date ls-lisp format-spec delsel
ido jka-compr icomplete paren dired dired-loaddefs info package
browse-url url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 2966586 1169094)
 (symbols 48 66989 3)
 (strings 32 413079 71823)
 (string-bytes 1 30527564)
 (vectors 16 124936)
 (vector-slots 8 2237163 306886)
 (floats 8 690 4855)
 (intervals 56 738837 45564)
 (buffers 992 136))




Acknowledgement sent to Michael Albinus <michael.albinus@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#48015; 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: Wed, 28 Apr 2021 14:30:01 UTC

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