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 16:25:28 +0000 Message-ID: References: <87h7lzgtyv.fsf@posteo.net> <83h7kf70dz.fsf@gnu.org> <87y2dqb67z.fsf@posteo.net> 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="4703"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46790@debbugs.gnu.org, Eli Zaretskii To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 10 18:26:16 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 1lVGR5-00018B-Q4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 18:26:15 +0200 Original-Received: from localhost ([::1]:41264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVGR4-0002fH-Rs for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 12:26:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVGQt-0002f4-8O for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 12:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVGQr-0006uW-Sk for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 12:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVGQr-0004b4-Pi for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 12:26:01 -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 16:26:01 +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.161807193417633 (code B ref 46790); Sat, 10 Apr 2021 16:26:01 +0000 Original-Received: (at 46790) by debbugs.gnu.org; 10 Apr 2021 16:25:34 +0000 Original-Received: from localhost ([127.0.0.1]:53110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVGQQ-0004aL-9L for submit@debbugs.gnu.org; Sat, 10 Apr 2021 12:25:34 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:51654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVGQM-0004aB-Qr for 46790@debbugs.gnu.org; Sat, 10 Apr 2021 12:25:33 -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 13AGPS6A008247 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 10 Apr 2021 16:25:29 GMT In-Reply-To: <87y2dqb67z.fsf@posteo.net> (Thierry Volpiatto's message of "Sat, 10 Apr 2021 15:46:18 +0200") 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:203803 Archived-At: Thierry Volpiatto writes: > Andrea Corallo writes: > >> 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? > > Only when installing. > >> If the case is the first could you please try again setting bindir >> also while building? > > How, is this allowed or even possible? make bootstrap bindir=/xxx I think ATM this should work (would be nice if you could check this), reading Eli's opinion we may change it tho. >> 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 :) > > No problems, congrats for the huge work. Thanks Andrea