Subject: Re: bug#36349: 27.0.50; does not start if called as symlink

From: "Basil L. Contovounesios" <[email-masked]>
Date: Mon, 24 Jun 2019 15:47:33 +0100

Gregor Zattler <[email-masked]> writes:

> I did a fresh git co -f from emacs master branch (at
> 157fced053601c993734c61078c42d7905389828).  Emacs was built and
> installed just fine.  But Emacs does not start if called as a
> symlink.
>
> See this terminal session (numbers at the beginning of a line are
> return values from last command):
>
> 0 (master *%=) grfz@len:~/src/emacs$ hash -r
> 0 (master *%=) grfz@len:~/src/emacs$ emacs-snapshot -Q --debug-init
> emacs: could not resolve realpath of "(null)": No such file or directory

This error was introduced in [1] and attempted to be fixed in [2].
Do you still encounter problems with latest master?
See also the following emacs-devel threads:

https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00902.html
https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00907.html

[1: b9ac4f815e]: Fix locating pdump by symlink
  2019-06-23 18:19:08 -0700
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b9ac4f815ebaa1acb0d045fe9583f665efa6f628

[2: 65d45def8d]: Fix pdumper executable-finding code
  2019-06-24 06:53:30 -0700
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=65d45def8d71e50d111adf1141011a5d30a27447

Thanks,

-- 
Basil