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#47558: 28.0.50; dlopen 'image not found' gccemacs native-lisp macos Date: Tue, 06 Apr 2021 21:22:57 +0000 Message-ID: References: <83mtufe9ke.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="11979"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: bryan.m.obrien@gmail.com, Eli Zaretskii , 47558@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 06 23:24:41 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 1lTtBh-00030H-TY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 23:24:41 +0200 Original-Received: from localhost ([::1]:47864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTtBg-0005VX-Va for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 17:24:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTtB4-000572-BA for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 17:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTtB4-0001qL-1x for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 17:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTtB3-0007Cy-UU for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 17:24: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: Tue, 06 Apr 2021 21:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47558 X-GNU-PR-Package: emacs Original-Received: via spool by 47558-submit@debbugs.gnu.org id=B47558.161774418227635 (code B ref 47558); Tue, 06 Apr 2021 21:24:01 +0000 Original-Received: (at 47558) by debbugs.gnu.org; 6 Apr 2021 21:23:02 +0000 Original-Received: from localhost ([127.0.0.1]:41934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTtA6-0007Be-8c for submit@debbugs.gnu.org; Tue, 06 Apr 2021 17:23:02 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:49592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTtA4-0007B1-8z for 47558@debbugs.gnu.org; Tue, 06 Apr 2021 17:23:00 -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 136LMv1x010805 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 6 Apr 2021 21:22:58 GMT In-Reply-To: (Alan Third's message of "Tue, 6 Apr 2021 22:11:52 +0100") 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:203655 Archived-At: Alan Third writes: > On Tue, Apr 06, 2021 at 07:26:16PM +0000, Andrea Corallo wrote: >> >> Okay the log looks good AFAICT. >> >> We are suggesting the eln to go in: >> /Users/alan/src/emacs/native/nextstep/Emacs.app/Contents/MacOS/bin/ >> >> and the eln in: >> /Users/alan/src/emacs/native/nextstep/Emacs.app/Contents/Resources/ > > OK, I think I see what's going on. The binary is installed in > Emacs.app/Contents/MacOS, but the bindir is > Emacs.app/Contents/MacOS/bin, so we're going one level too far up when > generating the eln path. > > "../../Resources/native-lisp/28.0.50-0f05d3d3/preloaded/misc-lang-7cb33d20-db3eb4ae.eln" > >> If this does not help I suggest we apply the attached and re-bootstrap >> to see if the 'rel-filename-from-install-bin' we are constructing is >> correct. > > I've attached the new bootstrap log in case I'm wrong and you can see > something else. I think your analysis is correct. ATM we form BIN_DESTDIR as '$(DESTDIR)${bindir}/' (Makefile.in:419), maybe we should use 'ns_appbindir' to form it? Thanks Andrea