Subject: bug#48015: 28.0.50; ELPA package compilation fails

From: Stefan Monnier <[email-masked]>
Date: Wed, 28 Apr 2021 11:32:25 -0400

Michael Albinus [2021-04-28 16:22:49] wrote:
> Stefan Monnier <[email-masked]> writes:
>> 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.

Even if you `M-x load-library RET find-func RET` before `package-install`?

        Stefan