From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#46790: 28.0.50; make install with native-comp branch Date: Sat, 10 Apr 2021 15:46:18 +0200 Message-ID: <87y2dqb67z.fsf@posteo.net> References: <87h7lzgtyv.fsf@posteo.net> <83h7kf70dz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16066"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.11; emacs 27.2 Cc: 46790@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 10 15:49:37 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 1lVDzT-00044T-Dc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 15:49:35 +0200 Original-Received: from localhost ([::1]:51954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVDzS-0000PL-Av for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 09:49:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVDyw-0000MN-Uv for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 09:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVDyw-0007dO-Mt for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 09:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVDyw-0006pI-Kr for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 09:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Apr 2021 13:49: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.161806254226237 (code B ref 46790); Sat, 10 Apr 2021 13:49:02 +0000 Original-Received: (at 46790) by debbugs.gnu.org; 10 Apr 2021 13:49:02 +0000 Original-Received: from localhost ([127.0.0.1]:51626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVDyv-0006p3-OQ for submit@debbugs.gnu.org; Sat, 10 Apr 2021 09:49:02 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:43655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVDyt-0006oq-KX for 46790@debbugs.gnu.org; Sat, 10 Apr 2021 09:49:00 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F03422400FC for <46790@debbugs.gnu.org>; Sat, 10 Apr 2021 15:48:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618062534; bh=0vTAWinoEp5hr2rKg0yRDqQ03djvila5VmvjqxNVhaQ=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=UV0z/rBJoYXehvZPLJ2oMCYeko9anMQwcHDmYhZBqVzDNsGJSZRgaXKJaf6QK/OIH JL9i3+Ej3aEYuytc+KxmvqXP67VKWPHFzNEciaQbJ7n8vQ89gz2XxQTBk30ifoB69w xQkgHiRRXpOVuv/bNleFMIRwMZNAfGcRfavUJ4so4r1ffnIkjgHCGCy+TWS9EEDmZS auPbTarC0ETpInuV+woBGVm28ClsNq3eGS2239aQgQ0kIj0YuCcoHPRelczPxlAG/O gAgdKZhi9AjAo+gS940fJffvZlKksKQVeQhCvqKk3MXLA0lKA3rbSek0XKAjB+eprz shFZCvbp6XLBA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FHbv8490Lz9rxH; Sat, 10 Apr 2021 15:48:52 +0200 (CEST) In-reply-to: Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHUBBMBCgA+FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAl8y lcICGwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQDsVtFB0W75MB3QwAlTsVzFmr +S/tMKwwwOibjhNPi/OZiUC2AYfaqfVAiIHDT3RbzDe03sAJoomJkJnYVjGzQZwibCMO2+ITkMPV 2wvrd4CbgS1KCVbrltwcuK/nxPCBaHytOCZUIInnhJo5PE/h03K 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:203795 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=3D/usr/local/sbin/emacs-28.0.50 infodir=3D/usr/loca= l/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/wi= ndow-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/wi= ndow-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? > 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. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmBxrMATHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvkyj8DACxHneLVDo6aVJCVn21QowzJLXy3ZnB U5yqWWb9sYDl9sidOwDyjz8s18L4sLOXrPSwFcau+ab9In93MDqAuJHIntODnGIn gHOvXmxgxR0fuovZS657pxf7hZrs5o1mF1KRw6UKBuNmHEdqnGwxqPjbi0hFwAcE NocLyvcLHEJojKXUdR+U3qfXlDlp/e+eTr9/P/xxdca5zn3/7BWJJ057ONatWrAz gEfMtNzf9UryYgr2RWlgro+arABsskFIP+OTVVscGoih7HUPPDdd5sIr/9DG8G3v 53PU+h3vujAEXS1OFlYFZd3MBiMf9DjyMDIBBBtigNNP99uqwzQj3WB7SavSydbr J9dlC50v6+HASVOznBHzRWgub3LjDccVDI7Cm3AHq6aF1bpM0iurQ+Y0lycBYFRH NLfAwUP68Wb1xCkTIXFgI9JQNGUDYm966mZALW2AF7PQbpfdcOM9v2GLFhrYBwUZ 5elSGcMyWL2jU3b7I0TWJCQpQyRNlmw5QbA= =64Td -----END PGP SIGNATURE----- --=-=-=--