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, 08 May 2022 08:09:28 +0300 Message-ID: <8335hky5iv.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19734"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55305@debbugs.gnu.org To: rswgnu@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 08 07:10:21 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 1nnZBV-0004zL-1D for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 07:10:21 +0200 Original-Received: from localhost ([::1]:32770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnZBT-0007Jz-NK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 01:10:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZBC-0007JL-H1 for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 01:10:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnZBC-00065f-7e for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 01:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnZBB-00010f-Rt for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 01:10:01 -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, 08 May 2022 05:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55305 X-GNU-PR-Package: emacs Original-Received: via spool by 55305-submit@debbugs.gnu.org id=B55305.16519865963858 (code B ref 55305); Sun, 08 May 2022 05:10:01 +0000 Original-Received: (at 55305) by debbugs.gnu.org; 8 May 2022 05:09:56 +0000 Original-Received: from localhost ([127.0.0.1]:53245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnZB2-000106-Us for submit@debbugs.gnu.org; Sun, 08 May 2022 01:09:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnZB1-0000zs-Vq for 55305@debbugs.gnu.org; Sun, 08 May 2022 01:09:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZAw-00062X-K7; Sun, 08 May 2022 01:09:46 -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=Pn22fPbh6OR/79to2u/ZjBH70k/tidAcJ19p55cT4Tw=; b=Qrw+PxyYjoxj inl77Pug+ggpKi11EbkPUxX+Pg2iPdRC5Pr2wY0ccpYwCegyhsJ8UjnrBZVtZf6DYsexa5/42qxUW 6bdj5n6612lE000ug6u6AOyGvarRiUmBnONjh8n+ycemoEW56kksnCfl5N4AaotpGrHUriQIOJImj zMoe7ce3deYOlWADRgBOQ8Yniw6IrwgyiX5f2Y4VL1lY+tZujdciU/MeO1tyk9Lv21rRy1EXrTibg SpAmyNErDocgxPtzofLviUHgAdEGFdTagNiYPqjj7FfQ3Oc1tBe2SGDX0fBASFGvKQ2JzwY7BGoqg gFRQ/NUmGDjs9a0L38XEZw==; Original-Received: from [87.69.77.57] (port=2566 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 1nnZAl-00036i-Mt; Sun, 08 May 2022 01:09:44 -0400 In-Reply-To: (message from Robert Weiner on Sat, 7 May 2022 16:05:17 -0400) 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:231620 Archived-At: > From: Robert Weiner > Date: Sat, 7 May 2022 16:05:17 -0400 > > Tested under Emacs 28.1 and a recent tip of the Emacs git repo for Emacs > 29 with asynchronous native compilation enabled: > > M-x package-install RET hyperbole RET > > fails to load the hyperbole-autoloads.el file before the > async native compiler and byte compiler produce these errors since > the autoloaded var:append function is not defined: Hyperbole is not part of Emacs, so this problem should first be taken up with the Hyperbole developers. > Warning (comp): ~/.emacs.d/elpa/hyperbole-8.0.0/hui-em-but.el: Error: Symbol's function definition is void > var:append Disable showing Disable logging > Warning (comp): ~/.emacs.d/elpa/hyperbole-8.0.0/hui-mouse.el: Error: Symbol's function definition is void > var:append Disable showing Disable logging > Warning (comp): ~/.emacs.d/elpa/hyperbole-8.0.0/hbut.el: Error: Symbol's function definition is void > var:append Disable showing Disable logging > > The package manager definitely generates hyperbole-autoloads.el at some > point though I do not know if it is before these errors are produced. Do the *.el files that produce the error 'require' or 'load' hyperbole-autoloads? If not, how would compilation know to load that file? Asynchronous native compilation runs in a separate pristine Emacs session, so it needs every dependency explicitly spelled out, or it will fail. But again, I think this is a matter for the Hyperbole developers to look into first. Thanks.