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: Fri, 2 Apr 2021 22:51:56 +0100 Message-ID: References: <83ft09fdc4.fsf@gnu.org> <8335w8fs4b.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="982"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bryan.m.obrien@gmail.com, 47558@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 02 23:53:17 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 1lSRj9-00006B-0w for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Apr 2021 23:53:15 +0200 Original-Received: from localhost ([::1]:40794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSRj7-0006Af-S9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Apr 2021 17:53:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSRiw-00067v-Mb for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 17:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSRiw-0003zH-FH for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 17:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lSRiw-000565-Cm for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 17:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Apr 2021 21:53: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.161740032719529 (code B ref 47558); Fri, 02 Apr 2021 21:53:02 +0000 Original-Received: (at 47558) by debbugs.gnu.org; 2 Apr 2021 21:52:07 +0000 Original-Received: from localhost ([127.0.0.1]:32979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSRi3-00054v-38 for submit@debbugs.gnu.org; Fri, 02 Apr 2021 17:52:07 -0400 Original-Received: from outbound.soverin.net ([116.202.65.218]:47161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSRi1-00054S-Mt for 47558@debbugs.gnu.org; Fri, 02 Apr 2021 17:52:06 -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 E54F76008B; Fri, 2 Apr 2021 21:51:59 +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=1617400319; bh=v5fxcJwfvJEMzG9TgUoNIjM2aiptfCpZB5muJf/8NY4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KxOCq+zjx1OeIMF4um4Q5x9zk05VN8x5+kwByFDJccLBpoKdIy9BWhmIcaCZh0Hpm 4kWjIx+JHKqqW1i/lrp8FxLLCzSXQz6LqyFezL2pULlpcAOouN89PZmC+bQGy7shDz HTSrWGa+aNS0zj7WJGBfG24ZMpUJ1ByYiFWmIiCYIzEgJFvtHuJ4zDzw0XnjtwIB8N iShG0OAvIJ7NCjyv08fSYFHJkIV481krEPekUV2Kj3iVol0u1yDiGaL3aBNxvAA3sl VhKtn2d1hzs3oLOa6YhYJZcOidev2I+81mJClctQGntGBByUDDtusrjLt8Yz2RYjT2 6aDKMl5KDGQYA== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 73317202B7C4F2; Fri, 2 Apr 2021 22:51:56 +0100 (BST) Mail-Followup-To: Alan Third , Eli Zaretskii , bryan.m.obrien@gmail.com, 47558@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <8335w8fs4b.fsf@gnu.org> 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:203479 Archived-At: On Fri, Apr 02, 2021 at 09:39:32PM +0300, Eli Zaretskii wrote: > > Date: Fri, 2 Apr 2021 17:29:22 +0100 > > From: Alan Third > > Cc: Bryan O'Brien , 47558@debbugs.gnu.org > > > > It looks to me like the "-D" flag for the install command isn't > > available on macOS. I think the equivalent is "-d", which appears to > > do something different again on GNU/Linux. > > > > Line 752 of Makefile.in: > > > > ### Install native compiled Lisp files. > > install-eln: > > ifeq ($(HAVE_NATIVE_COMP),yes) > > find native-lisp -type f -exec ${INSTALL_DATA} -D "{}" "$(ELN_DESTDIR){}" \; > > endif > > We should use mkdir explicitly, I think. I think I've figured that out, but there's actually another wrinkle. 'make install' is installing the eln files in nextstep/Emacs.app/Contents/MacOS/lib/emacs/28.0.50/native-lisp/28.0.50-24e3df15 but the emacs executable is looking for them in nextstep/Emacs.app/Contents/MacOS/../native-lisp/28.0.50-24e3df15/ And just to add the confusion I feel they should *actually* be installed in nextstep/Emacs.app/Contents/Resources/native-lisp or similar. -- Alan Third