Subject: Re: bug#55305: 28.0.50: With async nativecomp, package manager fails to load hyperbole-autoloads.el before compilation

From: Stefan Monnier <[email-masked]>
Date: Mon, 16 May 2022 12:42:44 -0400

> I see no harm in propagating `package-user-dir' `package-directory-list'
> to the async worker if it's useful, but I'm with Eli in not calling
> `package-activate-all' when compiling.

The currently discussed error happens because `hyperbole-autoloads.el`
was not loaded before the compilation.  Setting `package-user-dir` and
`package-directory-list` won't help.

> An idea would be that if the code being compiled needs that it could
> leverage `native-comp-async-env-modifier-form' for that.

Ewww!

        Stefan