unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: emacs-devel@gnu.org
Subject: What does "Changing `byte-compile-dest-file'" mean?
Date: Tue, 22 Feb 2022 20:22:18 +0000	[thread overview]
Message-ID: <YhVF+trshSxjNxDQ@ACM> (raw)

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



             reply	other threads:[~2022-02-22 20:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 20:22 Alan Mackenzie [this message]
2022-02-22 21:13 ` What does "Changing `byte-compile-dest-file'" mean? Stefan Monnier

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=YhVF+trshSxjNxDQ@ACM \
    --to=acm@muc.de \
    --cc=emacs-devel@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).