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#41877: Bug: feature/native-comp on MacOs Catalina w.r.t. subr-x.eln Date: Sat, 26 Sep 2020 13:57:14 +0000 Message-ID: References: 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="10561"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41877@debbugs.gnu.org To: Gregor Eeckels Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 26 15:58:14 2020 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 1kMAiK-0002cz-S0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Sep 2020 15:58:12 +0200 Original-Received: from localhost ([::1]:41158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMAiJ-0003bN-Qr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Sep 2020 09:58:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMAi9-0003aA-W1 for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2020 09:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMAi9-0004cb-MV for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2020 09:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMAi9-0004os-Kv for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2020 09:58:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Sep 2020 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41877 X-GNU-PR-Package: emacs Original-Received: via spool by 41877-submit@debbugs.gnu.org id=B41877.160112863618475 (code B ref 41877); Sat, 26 Sep 2020 13:58:01 +0000 Original-Received: (at 41877) by debbugs.gnu.org; 26 Sep 2020 13:57:16 +0000 Original-Received: from localhost ([127.0.0.1]:47477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMAhQ-0004nu-Az for submit@debbugs.gnu.org; Sat, 26 Sep 2020 09:57:16 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:55831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMAhP-0004nm-3c for 41877@debbugs.gnu.org; Sat, 26 Sep 2020 09:57:15 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08QDvEGT021766; Sat, 26 Sep 2020 13:57:14 GMT 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:189027 Archived-At: Gregor Eeckels writes: > Hello. I am experiencing a weird error. > > Native elisp load failed: > "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eln-x86_64-apple-darwin19.5.0-0d5d423ea4500a50/subr-x.eln", > "dlopen > (/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eln-x86_64-apple-darwin19.5.0-0d5d423ea4500a50/subr-x.eln, > 1): no suitable image found. Did find: > /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eln-x86_64-apple-darwin19.5.0-0d5d423ea4500a50/subr-x.eln: > file too short > /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eln-x86_64-apple-darwin19.5.0-0d5d423ea4500a50/subr-x.eln: > file too short" > > I built emacs using this guide carefully: https://github.com/shshkn/emacs.d/blob/master/docs/nativecomp.md > > Everything worked out, but now this causes errors during the first run and then emacs fails to load because of the same > error after rebooting. The mentioned file subr-x.eln is empty. > > I did create the symbolic link from Resources/elisp to elisp in the Emacs.app directory. > Thank you for your assistance. Hi Gregor, could you tell if this issue still applies to the current branch? Thanks! Andrea