Subject: bug#77962: Emacs recompiling tramp-loaddefs.el.gz

From: Eli Zaretskii <[email-masked]>
Date: Mon, 21 Apr 2025 21:15:51 +0300

tags 77962 notabug
thanks

> From: stigl cz <[email-masked]>
> Date: Mon, 21 Apr 2025 11:59:21 +0200
> 
> On every startup, emacs is compiling this file for no reason:
> Compiling /usr/share/emacs/30.1/lisp/net/tramp-loaddefs.el.gz...
> uncompressing tramp-loaddefs.el.gz...
> uncompressing tramp-loaddefs.el.gz...done
> Compilation finished.

It just says that it compiles, but it really doesn't.  Because
tramp-loaddefs.el has this at its end:

  ;; Local Variables:
  ;; version-control: never
  ;; no-update-autoloads: t
  ;; no-native-compile: t  <<<<<<<<<<<<<<<<<<<<<<<<<<
  ;; coding: utf-8-emacs-unix
  ;; End:

So it attempts to compile it, then sees that it shouldn't, and does
nothing.

This is harmless, and is not a bug.

> Not sure why this is happening, happened after upgrading from I believe 29.4 to 30.1.

Emacs 29 did that as well.  Perhaps your Emacs 29 was built without
native-compilation?