From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#47558: 28.0.50; dlopen 'image not found' gccemacs native-lisp macos Date: Mon, 5 Apr 2021 11:34:24 +0100 Message-ID: References: <83ft09fdc4.fsf@gnu.org> <8335w8fs4b.fsf@gnu.org> <83y2dzev4b.fsf@gnu.org> <83mtufe9ke.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12335"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bryan.m.obrien@gmail.com, 47558@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 05 12:35:31 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 1lTMZu-00036R-Ub for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Apr 2021 12:35:31 +0200 Original-Received: from localhost ([::1]:33924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTMZt-00023R-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Apr 2021 06:35:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTMZR-000231-Uj for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2021 06:35:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTMZR-0003Tz-Na for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2021 06:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTMZR-0005vr-Kv for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2021 06:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Apr 2021 10:35: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.161761887822745 (code B ref 47558); Mon, 05 Apr 2021 10:35:01 +0000 Original-Received: (at 47558) by debbugs.gnu.org; 5 Apr 2021 10:34:38 +0000 Original-Received: from localhost ([127.0.0.1]:37006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTMZ3-0005um-Tg for submit@debbugs.gnu.org; Mon, 05 Apr 2021 06:34:38 -0400 Original-Received: from outbound.soverin.net ([116.202.65.218]:48209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTMZ1-0005uQ-FN for 47558@debbugs.gnu.org; Mon, 05 Apr 2021 06:34:36 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 6E632600C1; Mon, 5 Apr 2021 10:34:29 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1617618868; bh=guThNGcPmLFzETeRDR28Hagidu2NOLwFygHPWQJsHss=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DQEyh9ukmiw8qq1ivR0CZ3jjs79EsduGptZEGEsno+fqHKix3uW28KzwoYiTfT+2D 9acY6tb8SQ/aixHwY0KmUwtCJu3imA/1zbMZNZNq6krPbHsBauxz9aTYq65v1zVZSC WyTEpsmYqwLq5/MSXWwcd0+XC/1dj/qpJNQM3dAKRT9YbOoo/Y7IqN3a0IFPr/MwXh 9p/dw9ztD69YxPlVisVtqOMuGt03ZsclTIZlZsW8ovn8AKAUYOVSNicjyOsSid04bN 39z/jhWFY0zCKqpHZimDAqAvY1QhSIhiar3U7Aq60diNLZEhw4F276DrTN2CccM2sk jWGepEoA+lQ9Q== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id B8CAA202B8E46F; Mon, 5 Apr 2021 11:34:24 +0100 (BST) Mail-Followup-To: Alan Third , Andrea Corallo , Eli Zaretskii , bryan.m.obrien@gmail.com, 47558@debbugs.gnu.org Content-Disposition: inline In-Reply-To: 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:203585 Archived-At: On Sun, Apr 04, 2021 at 07:10:50AM +0000, Andrea Corallo wrote: > Eli Zaretskii writes: > > >> Date: Sat, 3 Apr 2021 15:01:20 +0100 > >> From: Alan Third > >> Cc: bryan.m.obrien@gmail.com, 47558@debbugs.gnu.org > >> > >> It's not entirely clear to me where the load path is set, is it > >> > >> fixup_eln_load_path (Lisp_Object directory) > >> > >> in comp.c? > > > > I hope Andrea (CC'ed) will be able to answer that. > > Okay, as window is loaded and dumped during the build > `comp-eln-load-path' here doesn't come into play. > > While resurrecting from dump we locate preloaded eln files by filename > (relative to the emacs executable position). Indeed the complication is > that we have to support both uninstalled but also installed builds. > > To do that before dumping we inform Emacs of where will have to search > the eln files if installed. We do that using ELN_DESTDIR defined > Makefile.in:326. > > If the directory structure on MacOS is different I guess we have to add > the correct information there. No matter what I set ELN_DESTDIR to, emacs still looks in /Users/alan/src/emacs/native/nextstep/Emacs.app/Contents/MacOS/../native-lisp/28.0.50-24e3df15 so something isn't being updated, I guess? -- Alan Third