unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: wilde@sha-bang.de
To: emacs-devel@gnu.org, Andrea Corallo <akrl@sdf.org>,
	Eli Zaretskii <eliz@gnu.org>
Subject: feature/native-comp emacs: could not resolve realpath of "emacs": No such file or directory
Date: Thu, 15 Apr 2021 22:18:24 +0200	[thread overview]
Message-ID: <87fszrti7j.fsf@tammy.lan.sha-bang.de> (raw)

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



             reply	other threads:[~2021-04-15 20:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-15 20:18 wilde [this message]
2021-04-16  6:01 ` feature/native-comp emacs: could not resolve realpath of "emacs": No such file or directory Eli Zaretskii
2021-04-16  9:36   ` wilde

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=87fszrti7j.fsf@tammy.lan.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=akrl@sdf.org \
    --cc=eliz@gnu.org \
    --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).