unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* What does "Changing `byte-compile-dest-file'" mean?
@ 2022-02-22 20:22 Alan Mackenzie
  2022-02-22 21:13 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Mackenzie @ 2022-02-22 20:22 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

I'm trying to debug a failing bootstrap.  Central to the failure is the
error message:

    "Changing `byte-compile-dest-file' is obsolete (as of 23.2);
    set `byte-compile-dest-file-function' instead."

..  The error message comes from emacs-lisp/bytecomp.el L. 171.

But what does it mean?  In what respect is byte-compile-dest-file being
changed?  Is the message talking about the variable or the function of
that name?  (I'm guessing the function.)  Is the entity being altered in
some fashion, or is it getting replaced by something else?

What is causing the error?  It seems that if a function called
byte-compile-dest-file is already defined when bytecomp.el first gets
loaded, this triggers the error.  But what causes that circumstance?

There are no clues in the comments around that part of bytecomp.el.  Just
that it might have something to do with early versions of automake.
(Which we don't use, do we?)

Help!

Thanks in advance!

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-22 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-22 20:22 What does "Changing `byte-compile-dest-file'" mean? Alan Mackenzie
2022-02-22 21:13 ` Stefan Monnier

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).