From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46790: 28.0.50; make install with native-comp branch Date: Sat, 10 Apr 2021 06:57:26 +0000 Message-ID: References: <87h7lzgtyv.fsf@posteo.net> <83h7kf70dz.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17754"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Thierry Volpiatto , 46790@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 10 08:58:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lV7ZJ-0004SU-WF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 08:58:10 +0200 Original-Received: from localhost ([::1]:35922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lV7ZI-0005Af-Jt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 02:58:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lV7ZC-0005AX-J5 for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 02:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lV7ZC-0002qW-C6 for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 02:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lV7ZC-0003AE-Ar for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 02:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Apr 2021 06:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46790 X-GNU-PR-Package: emacs Original-Received: via spool by 46790-submit@debbugs.gnu.org id=B46790.161803785412127 (code B ref 46790); Sat, 10 Apr 2021 06:58:02 +0000 Original-Received: (at 46790) by debbugs.gnu.org; 10 Apr 2021 06:57:34 +0000 Original-Received: from localhost ([127.0.0.1]:51352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lV7Yk-00039W-3P for submit@debbugs.gnu.org; Sat, 10 Apr 2021 02:57:34 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:49820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lV7Yh-00039M-EN for 46790@debbugs.gnu.org; Sat, 10 Apr 2021 02:57:32 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 13A6vR0J024678 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 10 Apr 2021 06:57:27 GMT In-Reply-To: <83h7kf70dz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 09 Apr 2021 21:56:08 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203782 Archived-At: Eli Zaretskii writes: >> From: Thierry Volpiatto >> Date: Fri, 26 Feb 2021 08:35:30 +0100 >> >> giving a try to native-comp branch. >> >> I install Emacs generaly with: >> >> make install bindir=/usr/local/sbin/emacs-28.0.50 infodir=/usr/local/share/info-28.0.50 >> >> This always worked fine. However with native-comp branch, I have to >> manually add a symlink of "/usr/local/lib/emacs/28.0.50/native-lisp/" to >> "/usr/local/sbin" otherwise I endup with an error: >> >> thierry@IPadS340:/usr/local/sbin/emacs-28.0.50$ ls >> ctags ebrowse emacs emacs-28.0.50 emacsclient etags >> thierry@IPadS340:/usr/local/sbin/emacs-28.0.50$ ./emacs-28.0.50 >> emacs: /usr/local/sbin/emacs-28.0.50/../native-lisp/28.0.50-40158ec0/window-0d1b8b93-738411b0.eln: cannot open shared object file: No such file or directory >> thierry@IPadS340:/usr/local/sbin/emacs-28.0.50$ ./emacs >> emacs: /usr/local/sbin/emacs-28.0.50/../native-lisp/28.0.50-40158ec0/window-0d1b8b93-738411b0.eln: cannot open shared object file: No such file or directory > > Hmm... I'm not sure we can resolve this in any other way, although we > should try. What worked for you with previous versions was just a > side effect of the implementation detail: how Emacs finds the files it > needs when it starts. The *.eln files bring more restrictions to the > table, and it could very well be that the symlink trick will be the > only practical solution to such a non-standard installation. > > A possible solution is to set EMACSNATIVELOADPATH in the environment. As the error is while resurrecting from dump I think acting on the load path will not help as in this phase we relocate elns simply by filename. Thierry, are you specifying your custom bindir only when installing or also while building? If the case is the first could you please try again setting bindir also while building? Sorry for not responding earlier, I've been in round robin on the issues I had the feeling were higher priority but was still in my todo list :) Regards Andrea