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 14:51:46 +0000 Message-ID: References: <8335w8fs4b.fsf@gnu.org> <83y2dzev4b.fsf@gnu.org> <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="7715"; 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 16:52:19 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 1lTn3z-0001tm-Oq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 16:52:19 +0200 Original-Received: from localhost ([::1]:45580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTn3y-0001eO-M4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 10:52:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTn3i-0001dI-Or for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 10:52:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTn3i-0008Kk-HO for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 10:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTn3i-0001ZG-FB for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 10:52: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: Tue, 06 Apr 2021 14:52:02 +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.16177207135998 (code B ref 47558); Tue, 06 Apr 2021 14:52:02 +0000 Original-Received: (at 47558) by debbugs.gnu.org; 6 Apr 2021 14:51:53 +0000 Original-Received: from localhost ([127.0.0.1]:41419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTn3Y-0001Yg-OQ for submit@debbugs.gnu.org; Tue, 06 Apr 2021 10:51:52 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:58410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTn3U-0001YU-9B for 47558@debbugs.gnu.org; Tue, 06 Apr 2021 10:51:50 -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 136EpkeE013270 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 6 Apr 2021 14:51:46 GMT In-Reply-To: (Alan Third's message of "Tue, 6 Apr 2021 11:00:34 +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:203632 Archived-At: Alan Third writes: > On Tue, Apr 06, 2021 at 07:56:46AM +0000, Andrea Corallo wrote: >> Alan Third writes: >> > emacs: >> > dlopen(/Users/alan/src/emacs/native/nextstep/Emacs.app/Contents/MacOS/../native-lisp/28.0.50-24e3df15/window-0d1b8b93-513ac8ca.eln, >> > 1): image not found >> >> Hi Alan, >> >> Okay the value of ELN_DESTDIR is used during dump to inform Emacs where >> the eln will be located (src/Makefile.in:570) so redumping is necessary. >> Have you tried redumping or rebuilding from scratch? > > Yes, I've tried 'make bootstrap' to no avail. could you share the output of like "make bootstrap V=1"? (go parallel if you like) > FWIW, as I mentioned earlier in this thread, which you may not have > seen, NS provides a method for detecting which paths to use if running > in the self contained bundle, which Emacs already uses for finding the > lisp path, exec path, etc. Would it be worth extending this to work > with the eln files? I think talking about preloaded files we'll want to to stick to the relative path to the binary as it should work on every system, but this might information be useful in the future for the filename hashing. Thanks Andrea