* feature/native-comp emacs: could not resolve realpath of "emacs": No such file or directory
@ 2021-04-15 20:18 wilde
2021-04-16 6:01 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: wilde @ 2021-04-15 20:18 UTC (permalink / raw)
To: emacs-devel, Andrea Corallo, Eli Zaretskii
Hi,
The current branch head of the native-comp branch produces an emacs
which after "install" yields the following error when run from $PATH
(say with out the path given explicitly):
% emacs
emacs: could not resolve realpath of "emacs": No such file or directory
whereas e.g.:
# /usr/local/bin/emacs
works as expected.
This is _not_ related to my tests on NetBSD, it happens on GNU/Linux
just the same...
I strongly suspect this is related to:
commit 0c1fc9d581ad64efc96c1efccbb4d057796ef807
Author: Andrea Corallo <akrl@sdf.org>
Date: Wed Apr 14 15:04:19 2021 +0200
* Fix native-comp startup for symliked binary (bug#44128)
* src/emacs.c (real_filename): New function.
(set_invocation_vars, load_pdump): Make use of.
cheers,
sascha
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: feature/native-comp emacs: could not resolve realpath of "emacs": No such file or directory
2021-04-15 20:18 feature/native-comp emacs: could not resolve realpath of "emacs": No such file or directory wilde
@ 2021-04-16 6:01 ` Eli Zaretskii
2021-04-16 9:36 ` wilde
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2021-04-16 6:01 UTC (permalink / raw)
To: wilde; +Cc: akrl, emacs-devel
> From: wilde@sha-bang.de
> Date: Thu, 15 Apr 2021 22:18:24 +0200
>
> The current branch head of the native-comp branch produces an emacs
> which after "install" yields the following error when run from $PATH
> (say with out the path given explicitly):
>
> % emacs
> emacs: could not resolve realpath of "emacs": No such file or directory
>
> whereas e.g.:
>
> # /usr/local/bin/emacs
>
> works as expected.
Is /usr/local/bin/emacs a regular executable file, or is it a symlink?
Anyway, this issue is being discussed in bug#47800, so please post any
additional information there.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: feature/native-comp emacs: could not resolve realpath of "emacs": No such file or directory
2021-04-16 6:01 ` Eli Zaretskii
@ 2021-04-16 9:36 ` wilde
0 siblings, 0 replies; 3+ messages in thread
From: wilde @ 2021-04-16 9:36 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel, akrl
Eli Zaretskii <eliz@gnu.org> wrote:
>> From: wilde@sha-bang.de
>> Date: Thu, 15 Apr 2021 22:18:24 +0200
>>
>> The current branch head of the native-comp branch produces an emacs
>> which after "install" yields the following error when run from $PATH
>> (say with out the path given explicitly):
>>
>> % emacs
>> emacs: could not resolve realpath of "emacs": No such file or directory
>>
>> whereas e.g.:
>>
>> # /usr/local/bin/emacs
>>
>> works as expected.
>
> Is /usr/local/bin/emacs a regular executable file, or is it a symlink?
Yes. However when running emacs-28.0.50 -- which is the binary the
symlink is pointing to -- the same problem occurs.
> Anyway, this issue is being discussed in bug#47800, so please post any
> additional information there.
I'll do that.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-16 9:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 20:18 feature/native-comp emacs: could not resolve realpath of "emacs": No such file or directory wilde
2021-04-16 6:01 ` Eli Zaretskii
2021-04-16 9:36 ` wilde
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).