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 17:29:22 +0100 Message-ID: References: <83ft09fdc4.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="8907"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Bryan O'Brien , 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 18:33:48 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 1lSMk0-0002D9-1q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Apr 2021 18:33:48 +0200 Original-Received: from localhost ([::1]:44272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSMjz-0005KB-2j for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Apr 2021 12:33:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSMgN-0003A9-1J for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 12:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSMgM-0001q1-NH for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 12:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lSMgM-0005bx-Hw for bug-gnu-emacs@gnu.org; Fri, 02 Apr 2021 12:30: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 16:30: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.161738097421508 (code B ref 47558); Fri, 02 Apr 2021 16:30:02 +0000 Original-Received: (at 47558) by debbugs.gnu.org; 2 Apr 2021 16:29:34 +0000 Original-Received: from localhost ([127.0.0.1]:32803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSMfu-0005ap-38 for submit@debbugs.gnu.org; Fri, 02 Apr 2021 12:29:34 -0400 Original-Received: from outbound.soverin.net ([116.202.65.218]:56895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSMfr-0005ad-SB for 47558@debbugs.gnu.org; Fri, 02 Apr 2021 12:29:32 -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 21AE66008B; Fri, 2 Apr 2021 16:29:26 +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=1617380965; bh=pZ/SWnhRj1WHS1rx9AUNeLBMgIoHji2eDNoEbjU0XDc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GEwZUax55pFseek1G1hzJST4at5g454gy4VpisyIvCDUnM1DNBgv2H5j5fNbuUiSs GKEum+02xSByq7MF6+oTrx5VW/6OpfnkRlm5il7hJS2v/lJJM/GlZ3+hlgM0fBHFTz XWfHCzbpt1ULo+PgdQ6318cVhvslYYyI8VPe5+7iWUqQnABCkIw+S+nH3GaoKsitNY uwsuYz2Ap1Ya+mmk7mKrZSJSdxq2OfYfYaOcLtkpXiMPS2F1t8iorN+5lGCOultSqX vItN6bcunAaYoMfmo6hrOo3+zNx8tM8SgumW70lmwKnZ9aUkfrjq5ugo02w21KTLDx 2LI34uagdpkwg== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 79CF2202B6E055; Fri, 2 Apr 2021 17:29:22 +0100 (BST) Mail-Followup-To: Alan Third , Eli Zaretskii , Bryan O'Brien , 47558@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <83ft09fdc4.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:203474 Archived-At: On Fri, Apr 02, 2021 at 08:46:35AM +0300, Eli Zaretskii wrote: > > From: Bryan O'Brien > > Date: Thu, 01 Apr 2021 20:36:43 -0500 > > > > > > Compiling gccemacs from latest git branch. > > Emacs compiles with warnings but no errors. > > Starting Emacs with fails with: > > > > gccemacs/nextstep/Emacs.app/Contents/MacOS/Emacs -Q --debug-init > > emacs: > > dlopen(/Users/bobrien/src/gnu-emacs/28/gccemacs/nextstep/Emacs.app/Contents/MacOS/../native-lisp/28.0.50-2865d7b3/window-0d1b8b93-513ac8ca.eln, 1): image not found > > > > Workaround is as follows: > > > > cd ~/src/gnu-emacs/28/gccemacs/nextstep/Emacs.app/Contents > > ln -s ~/src/gnu-emacs/28/gccemacs/native-lisp . > > Do you understand the need for this workaround on macOS? If so, can > you explain what's going on here? 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 ^^ -- Alan Third