From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: wilde@sha-bang.de Newsgroups: gmane.emacs.devel 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 Message-ID: <87fszrti7j.fsf@tammy.lan.sha-bang.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5522"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix) To: emacs-devel@gnu.org, Andrea Corallo , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 15 22:29:55 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lX8cd-0001JD-FX for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Apr 2021 22:29:55 +0200 Original-Received: from localhost ([::1]:35286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX8cc-0008Bp-IK for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Apr 2021 16:29:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX8c4-0007jJ-PQ for emacs-devel@gnu.org; Thu, 15 Apr 2021 16:29:20 -0400 Original-Received: from mail.sha-bang.de ([2a01:4f8:110:34e1::42:1]:60223) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX8c2-0003On-SQ; Thu, 15 Apr 2021 16:29:20 -0400 Original-Received: from tammy.sha-bang.de (dyndsl-092-252-053-064.ewe-ip-backbone.de [92.252.53.64]) by mail.sha-bang.de (Postfix) with ESMTPSA id B3BB517D; Thu, 15 Apr 2021 22:29:14 +0200 (CEST) Original-Received: by tammy.sha-bang.de (Postfix, from userid 1000) id 1EBA65A79; Thu, 15 Apr 2021 22:18:25 +0200 (CEST) Received-SPF: none client-ip=2a01:4f8:110:34e1::42:1; envelope-from=wilde@sha-bang.de; helo=mail.sha-bang.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268111 Archived-At: 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 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