unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmail.com>
To: 57494@debbugs.gnu.org
Subject: bug#57494: `package-install' no longer byte-compiles files of installed packages
Date: Tue, 30 Aug 2022 19:29:42 +0200	[thread overview]
Message-ID: <CAG7Bpaqb0jGy==SXL4RZCVfEc7Ec_p6JX6qhOh_6AcwYFv0s4w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

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 <<EOF
(setf package-user-dir (make-temp-file "emacs-packages" t))
(require 'package)
(package-initialize t)
(package-install 'dash)
(message "%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". With all
images I have tested, this is the case. But Emacs 29 (i.e. that `:master'
image), it reads "nil" instead.

Paul

[-- Attachment #2: Type: text/html, Size: 1091 bytes --]

             reply	other threads:[~2022-08-30 17:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 17:29 Paul Pogonyshev [this message]
2022-08-31 10:15 ` bug#57494: `package-install' no longer byte-compiles files of installed packages Lars Ingebrigtsen
2022-08-31 11:27   ` Paul Pogonyshev
2022-09-01 10:12     ` Lars Ingebrigtsen
2022-09-01 10:37       ` Paul Pogonyshev
2022-09-01 11:44         ` Lars Ingebrigtsen
2022-09-01 11:00       ` Paul Pogonyshev
2022-09-01 11:40         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG7Bpaqb0jGy==SXL4RZCVfEc7Ec_p6JX6qhOh_6AcwYFv0s4w@mail.gmail.com' \
    --to=pogonyshev@gmail.com \
    --cc=57494@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).