From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55305: 28.0.50: With async nativecomp, package manager fails to load hyperbole-autoloads.el before compilation Date: Sun, 15 May 2022 20:15:24 +0300 Message-ID: <838rr2k98z.fsf@gnu.org> References: <83czgekby6.fsf@gnu.org> <83bkvykbpx.fsf@gnu.org> <83a6bik9vi.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5441"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, rswgnu@gmail.com, 55305@debbugs.gnu.org, rsw@gnu.org To: monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 15 19:16:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nqHr2-0001EM-3B for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 May 2022 19:16:28 +0200 Original-Received: from localhost ([::1]:60142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqHr0-0007Ds-Rq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 May 2022 13:16:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqHqc-0007Dh-Uf for bug-gnu-emacs@gnu.org; Sun, 15 May 2022 13:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56677) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqHqc-0001Lr-MM for bug-gnu-emacs@gnu.org; Sun, 15 May 2022 13:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqHqc-0004XI-Fh for bug-gnu-emacs@gnu.org; Sun, 15 May 2022 13:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 May 2022 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55305 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55305-submit@debbugs.gnu.org id=B55305.165263494617408 (code B ref 55305); Sun, 15 May 2022 17:16:02 +0000 Original-Received: (at 55305) by debbugs.gnu.org; 15 May 2022 17:15:46 +0000 Original-Received: from localhost ([127.0.0.1]:50573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqHqM-0004Wi-ES for submit@debbugs.gnu.org; Sun, 15 May 2022 13:15:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqHqK-0004WS-Ht for 55305@debbugs.gnu.org; Sun, 15 May 2022 13:15:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqHqE-0001Kf-Es; Sun, 15 May 2022 13:15:38 -0400 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=6lzDGLUra0MICP+7vHWkTVHejU19daO3ZyXXMrhpW+0=; b=ma1CbUDU9I25 04q8UhbjSiI+NzJR8XnwjXiIwrh0K/LNEJddCN87LdEMBSwfINsOwKMmjaaXfAYq1OLNaclcP1HN6 HtL4bWsiCZXuI+PRX+DEiAxQWbpYIA2P7R54Rf4kKUA3QXdVMuv38Co0zJYRHQOnDgHq3dx9reRrk ene6mnbNCHO4gxd0E6TSs918bYlXZ0Dqlps2tGucgZ9l8lblCpdc8mVlm68rlQYPIFrLY1gP2W4lm Nk9Nj5o5hFqf/oybgEMyrnWulXckLL/jn0mLOERkFxOTgZGozq/LYEUgX8dCK2+1LssxkIKYrvvVH YkZ2X2xT3Bln5JWEt5lurg==; Original-Received: from [87.69.77.57] (port=2328 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqHqD-0005JY-Tc; Sun, 15 May 2022 13:15:38 -0400 In-Reply-To: <83a6bik9vi.fsf@gnu.org> (message from Eli Zaretskii on Sun, 15 May 2022 20:01:53 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:232338 Archived-At: > Cc: rsw@gnu.org, rswgnu@gmail.com, 55305@debbugs.gnu.org, akrl@sdf.org > Date: Sun, 15 May 2022 20:01:53 +0300 > From: Eli Zaretskii > > > My suggested patch adds the call to `package-activate-all` which is > > usually executed in `startup.el` between loading `early-init.el` and > > `init.el` and whose intention is to initialize things for the > > user-installed packages much like things are unconditionally initialized > > for the bundled packages (i.e. enough so it's easy to use them, but > > sufficiently little that it doesn't get in the way if the user doesn't > > want to use the package). > > We don't call package-activate-all at startup when Emacs is told to > ignore user and site customizations. That is NOT an accident, that is > the only way to have *.elc and *.eln files that can be copied to > another system and still work the same. Changing this makes no sense. Btw, having a package load its loaddefs (perhaps with a non-nil 2nd arg) is a much easier solution that doesn't need any changes at all, and will immediately resolve any problems with compilation. As you know only very well, that's what we do in core.