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#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS Date: Mon, 21 Sep 2020 10:26:33 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29633"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 43532@debbugs.gnu.org To: Jim Myhrberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 21 12:27:12 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 1kKJ2N-0007ZN-Cm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Sep 2020 12:27:11 +0200 Original-Received: from localhost ([::1]:60104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKJ2L-0003hi-QQ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Sep 2020 06:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKJ2E-0003hY-La for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 06:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKJ2E-0001RL-CD for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKJ2E-0004MB-7D for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 06:27: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: Mon, 21 Sep 2020 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43532 X-GNU-PR-Package: emacs Original-Received: via spool by 43532-submit@debbugs.gnu.org id=B43532.160068400016716 (code B ref 43532); Mon, 21 Sep 2020 10:27:02 +0000 Original-Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 10:26:40 +0000 Original-Received: from localhost ([127.0.0.1]:53500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKJ1r-0004LX-Mk for submit@debbugs.gnu.org; Mon, 21 Sep 2020 06:26:39 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:57030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKJ1o-0004LM-6q for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 06:26:38 -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 08LAQX8R012612; Mon, 21 Sep 2020 10:26:33 GMT In-Reply-To: (Jim Myhrberg's message of "Mon, 21 Sep 2020 10:19:06 +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:188562 Archived-At: --=-=-= Content-Type: text/plain Jim Myhrberg writes: > Here they are: > > #define PATH_LOADSEARCH > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545/nextstep/Emacs.app/Contents/Resources/lisp" > #define PATH_DUMPLOADSEARCH > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545/lisp" > > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545" > is obviously my local source/build directory that my build script > extracts the source tarball to and builds from. Could you have a run with the attached blind patch? Thanks Andrea --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=macos-relpath.path diff --git a/src/comp.c b/src/comp.c index 15d85d30fc..c51d13ade1 100644 --- a/src/comp.c +++ b/src/comp.c @@ -4060,6 +4060,10 @@ DEFUN ("comp-el-to-eln-filename", Fcomp_el_to_eln_filename, FOR_EACH_TAIL (loadsearch_list) loadsearch_re_list = Fcons (Fregexp_quote (XCAR (loadsearch_list)), loadsearch_re_list); + loadsearch_re_list = + Fcons ( + build_string ("^[[:ascii:]]+/Emacs\\.app/Contents/Resources/lisp"), + loadsearch_re_list); } Lisp_Object loadsearch_res = loadsearch_re_list; FOR_EACH_TAIL (loadsearch_res) --=-=-=--