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#49270: 28.0.50: native-comp: macOS self-contained .app does not use bundled *.eln files Date: Tue, 29 Jun 2021 22:06:43 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="V3I3HI0zC00u6XFs" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39615"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49270@debbugs.gnu.org To: Jim Myhrberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 29 23:07:11 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 1lyKwn-000A6c-Qq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Jun 2021 23:07:09 +0200 Original-Received: from localhost ([::1]:54060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyKwm-0005ji-TD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Jun 2021 17:07:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyKwg-0005j3-MJ for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 17:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyKwg-0006Hm-F7 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 17:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyKwg-0002He-90 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 17:07: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: Tue, 29 Jun 2021 21:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49270 X-GNU-PR-Package: emacs Original-Received: via spool by 49270-submit@debbugs.gnu.org id=B49270.16250008208770 (code B ref 49270); Tue, 29 Jun 2021 21:07:02 +0000 Original-Received: (at 49270) by debbugs.gnu.org; 29 Jun 2021 21:07:00 +0000 Original-Received: from localhost ([127.0.0.1]:55769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyKwd-0002HO-Kn for submit@debbugs.gnu.org; Tue, 29 Jun 2021 17:06:59 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:38677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyKwY-0002H5-VF for 49270@debbugs.gnu.org; Tue, 29 Jun 2021 17:06:59 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (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 87D21940; Tue, 29 Jun 2021 21:06:48 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1625000808; bh=W4fl6QkkGSL4qDcIeYRE7GU82TSWHRErBUTorp3OGaY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kbm3AKEmGv8AQ7u/qF4UdYJQxMxKlHc+UadZjjZrj496Br4h3bht1JP3A8Aq2XzwU 8TF7mZ4uwhyspiazPy0ZBrEWvs6cbp7WGbUN1zKwPRDOTD5+AqqRWng1GwvU57zGx4 1iRgJd3Es6AI6z3y1Y7epyIX8QXCapQpJK92HGTf9CDDdEU9qo6jpKixyvvkdpyooi Qui5WN3UnPbRhpD8wSIHAC7BLg7t1dpwhr+WtcIOZXc6PE5gIpaI0MGc2POrEN+7Mm MyRy1du5cERRKf43/XuhQtMUF0iR9WDsh+G7yiMUXxGLdiDcIH9YW7SX5Ts9BhrNpC B08aXrag82BCA== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id F24F7202CCEEA1; Tue, 29 Jun 2021 22:06:43 +0100 (BST) Mail-Followup-To: Alan Third , Jim Myhrberg , 49270@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:209122 Archived-At: --V3I3HI0zC00u6XFs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 29, 2021 at 12:51:48PM +0100, Jim Myhrberg wrote: > When performing a self-contained Emacs.app build, *.eln files for > Emacs' built-in lisp files stored within the Emacs.app bundle are not > used. > > I believe commit 5dd2d50 which moved *.eln files and various paths > around a bit for macOS builds, has re-introduced an old bug from last > year. Basically the checksums that makes up part of the *.eln file > names uses the absolute path of the .el file in question, but for self > contained .app builds it needs to just use the relative path to the > app itself. I don't think this is the same bug (although I guess it has the same symptoms). Please try the attached patch, it fixes it here. -- Alan Third --V3I3HI0zC00u6XFs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-Fix-NS-native-comp-search-path-bug-49270.patch" >From 0517874eb4bce2cbbcdf58516c43d50b0174c0ec Mon Sep 17 00:00:00 2001 From: Alan Third Date: Tue, 29 Jun 2021 22:02:43 +0100 Subject: [PATCH] Fix NS native comp search path (bug#49270) * configure.ac (NS_SELF_CONTAINED): We need to make lispdirrel the same as lispdir when building a self contained app bundle as they're both relative paths. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index c8920d877e..6e2cda947a 100644 --- a/configure.ac +++ b/configure.ac @@ -2025,6 +2025,7 @@ AC_DEFUN infodir="\${ns_appresdir}/info" mandir="\${ns_appresdir}/man" lispdir="\${ns_appresdir}/lisp" + lispdirrel="\${ns_appresdir}/lisp" test "$locallisppathset" = no && locallisppath="\${ns_appresdir}/site-lisp" INSTALL_ARCH_INDEP_EXTRA= fi -- 2.29.2 --V3I3HI0zC00u6XFs--