all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 43050@debbugs.gnu.org, "T.V Raman" <raman@google.com>
Subject: bug#43050: 28.0.50; portable dump file name should respect program-prefix config option
Date: Fri, 13 Nov 2020 01:16:35 -0500	[thread overview]
Message-ID: <2olff53hoc.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <im8sb5olju.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 13 Nov 2020 00:47:17 -0500")

Glenn Morris wrote:

>> The only thing that's missing, AFAICT, is that "make install" should
>> apply the prefix to the dumper file name.
>
> There's a patch for that in https://debbugs.gnu.org/42790

However, that probably isn't enough since by experiment it seems as if
Emacs prefers "emacs.pdmp" to more specific names. So if you have an
Emacs configured without a name transformation and one configured with a
name transformation (and some different options) installed in the same
place, trying to start the second one fails with:

  emacs: could not load dump file "/path/to/emacs.pdmp": not built for
  this Emacs executable

So you can't have two different Emacs installed in the same place,
which defeats the purpose of configure's name transformation options.

Ie this kind of thing fails:

configure --prefix=/tmp/EMACS --without-x --program-suffix=-nox
...
make install
rename installed "emacs.pdmp" to "emacs-nox.pdmp" [1]


configure --prefix=/tmp/EMACS
...
make install


[1] You also have to make a symlink "emacs-28.0.50-nox.pdmp" if you
want to be able to use the binary under the name "emacs-28.0.50-nox"
as well as "emacs-nox".

This whole business seems rather fragile.

I guess putting the fingerprint in the pdmp name is the only proper solution.
Hope someone knows how to do that...





  reply	other threads:[~2020-11-13  6:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-25 20:24 bug#43050: 28.0.50; portable dump file name should respect program-prefix config option T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-26  5:33 ` Eli Zaretskii
2020-11-13  5:47   ` Glenn Morris
2020-11-13  6:16     ` Glenn Morris [this message]
2020-11-13  8:24       ` 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

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

  git send-email \
    --in-reply-to=2olff53hoc.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=43050@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=raman@google.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.