From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#57494: `package-install' no longer byte-compiles files of installed packages Date: Tue, 30 Aug 2022 19:29:42 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000073f3c705e778ba1d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31103"; mail-complaints-to="usenet@ciao.gmane.io" To: 57494@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 30 20:01:05 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 1oT5Xs-0007vp-MD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 20:01:04 +0200 Original-Received: from localhost ([::1]:37256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oT5Xr-00031M-E6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 14:01:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT54o-0006Z7-Gz for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 13:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oT54o-00081o-5u for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 13:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oT54n-00030a-MN for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 13:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Aug 2022 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57494 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166188060311403 (code B ref -1); Tue, 30 Aug 2022 17:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2022 17:30:03 +0000 Original-Received: from localhost ([127.0.0.1]:37391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oT53q-0002xY-AG for submit@debbugs.gnu.org; Tue, 30 Aug 2022 13:30:02 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oT53n-0002wz-Kf for submit@debbugs.gnu.org; Tue, 30 Aug 2022 13:30:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT53n-00060k-9y for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 13:29:59 -0400 Original-Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:34391) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oT53k-0007Y6-T8 for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2022 13:29:58 -0400 Original-Received: by mail-ed1-x529.google.com with SMTP id z2so15175854edc.1 for ; Tue, 30 Aug 2022 10:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=uMWhFfJhnMipI5G9+i4G4OR+MFvK7AwKIbZbH2j9TNk=; b=h/zy2N+BeeCQLvfzPUayH3Ry09THE2pMViwK4oxw4qHR2EwUDh9h0UPYWbxuqbSjKI QzQ9jEaU5+Yg4sEncSDhbdETwACoxD60I6oscc8chsX/ZQKB0rMI+iztGxppBVsPfaID zZ4EG3sAvAIEsqkskAHzMpr5OOkFjMhHhwopA8/9TWh84aEVV52bx9JflLZyFlLY7CG/ YAJhm7sNtR8pew7AA8q97UImZfvwuZ0XUQx8AOOYKqt7X+3hCHOhm/bqfwIEo5YfKPHk ptH0fC0Z+Ty4Ani567KUmQa2AF2KoW+P6DRMp+HbA8mbvvgMhy9lZ/H4aBXUivBVxaHy 2y7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=uMWhFfJhnMipI5G9+i4G4OR+MFvK7AwKIbZbH2j9TNk=; b=c+WPFSMJAVIYoaoPkZpmyU20lcovDvSNsuOatOzxBW+SXE2JU9N4ysQmuMWnxsdPsA W4l/Pz3DHiWbgoN2a9Axnuuhfnjkxk3zALRuTUpfSyrm47DxVsh2Ar2LOxzKzVEm5Z53 3Kt+sRwWt1l99Syj+4TAN4f5dBihOw1+Lu3KtMIMaIbO066dWCc7vVK3KOKwXVZ4qyNF VR4swMieeOG31291wiAO/Rjs+D5dENnGTP7XWCrsrOBS4XgugvouAJA6j6pu+qTQ/mOb OWJRV9EMZ0avEn6NjNsy/x3jrgHQaV1Blb1ZICCyfB/AZbRLpo+1C+P7ig6eLyUKxN3h e7HQ== X-Gm-Message-State: ACgBeo3gKJjZMWT7hyRuPUz7gu+2k2deL8wNasjPJz/Qx8DvSxQrfuQn lF9IY1zxsA4jvf5ZZ4DUYHxzNL21TtTK9R/eshmWpleh6g== X-Google-Smtp-Source: AA6agR61Ch9WHMsRcrA8qnvLsOR0lEPoAHfEPpa9UtuqqpOxp+pDj3smnTdhqQ38eFX2NcjfASZdLDt4qzMgt2M8nC8= X-Received: by 2002:a05:6402:4282:b0:43e:612c:fcf7 with SMTP id g2-20020a056402428200b0043e612cfcf7mr20977317edc.242.1661880593804; Tue, 30 Aug 2022 10:29:53 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=pogonyshev@gmail.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:241151 Archived-At: --00000000000073f3c705e778ba1d Content-Type: text/plain; charset="UTF-8" Originally reported as https://github.com/doublep/eldev/issues/76 but apparently boils down to the fact that Emacs 29 no longer byte- compiles `.el' files in installed packages. I managed to reproduce the original problem with `silex/emacs:master' Docker image. To reproduce with Emacs only: cat >does-install-byte-compile.el <Originally reported as=C2=A0https://github.com/doublep/eldev/issues/76but apparently boils down to the fact that Emacs 29 no longer byte-<= div>compiles `.el' files in installed packages. I managed to reproduce = the
original problem with `silex/emacs:master' Docker image.<= /div>

To reproduce with Emacs only:

=
cat >does-install-byte-compile.el <<EOF
(setf package-user= -dir (make-temp-file "emacs-packages" t))
(require 'packag= e)
(package-initialize t)
(package-install 'dash)
(message &qu= ot;%S" (byte-code-function-p (symbol-function '-each)))
EOF
=
emacs --batch --load does-install-byte-compile.el

If the file is byte-compiled, the last line should read as "t&= quot;. With all
images I have tested, this is the case. But Emacs= 29 (i.e. that `:master'
image), it reads "nil" ins= tead.

Paul
--00000000000073f3c705e778ba1d--