From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Where is the eln search path defined Date: Sat, 16 May 2020 09:37:36 +0300 Message-ID: <834ksgv0zz.fsf@gnu.org> References: <87v9kxd18j.fsf@linaro.org> <873681cdzc.fsf@linaro.org> <87sgg0c2ve.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90023"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, akrl@sdf.org To: Alex =?utf-8?Q?Benn=C3=A9e?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 16 08:38:33 2020 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 1jZqSv-000NK4-6K for ged-emacs-devel@m.gmane-mx.org; Sat, 16 May 2020 08:38:33 +0200 Original-Received: from localhost ([::1]:46354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZqSu-0000Xu-7k for ged-emacs-devel@m.gmane-mx.org; Sat, 16 May 2020 02:38:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZqSC-00085D-G8 for emacs-devel@gnu.org; Sat, 16 May 2020 02:37:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60070) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZqSC-0001RR-2r; Sat, 16 May 2020 02:37:48 -0400 Original-Received: from [176.228.60.248] (port=4725 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZqSB-0001u5-18; Sat, 16 May 2020 02:37:47 -0400 In-Reply-To: <87sgg0c2ve.fsf@linaro.org> (message from Alex =?utf-8?Q?Benn?= =?utf-8?Q?=C3=A9e?= on Fri, 15 May 2020 22:19:49 +0100) 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:250454 Archived-At: > From: Alex Bennée > Date: Fri, 15 May 2020 22:19:49 +0100 > Cc: emacs-devel@gnu.org > > > Mmh I see. Would be interesting if you could check the DESTDIR value > > (if any) in your build environment. > > Definitely not in env: > > 19:55:42 [alex@qemu-test:~/s/e/emacs.git] native-comp|✔ + env | grep DESTDIR > 19:56:31 [alex@qemu-test:~/s/e/emacs.git] native-comp|✔ 1 + > > >>> I believe of the two information the first is wrong in this case. This > >>> is coming from the DESTDIR value while compiling. Is it possible that > >>> Emacs was compiled with a certain DESTDIR value and then installed using > >>> a different one? > >> > >> I can't quite follow where the automake magic sets DESTDIR but in the > >> main Makefile I certainly have: > >> > >> # The default location for installation. Everything is placed in > >> # subdirectories of this directory. The default values for many of > >> # the variables below are expressed in terms of this one, so you may > >> # not need to change them. This defaults to /usr/local. > >> prefix=/home/alex/src/emacs/install > >> > >> Where is DESTDIR defined during the build? > > > > That is a very good question. > > I can't see it set, although LISP and BIN DESTDIRS are set: I think this is looking in the wrong direction: DESTDIR is almost _never_ defined. It exists for a corner use case, so much so that I even don't think it will help to describe that use cased here. My guess is something else is causing this. Of course, I could be wrong, since I don't know enough about these details of native compilation. Apologies if I cause more confusion than help.