From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 21:11:58 +0300 Message-ID: <837dico80h.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36988"; 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 20:13: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 1lyIEX-0009UY-BE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Jun 2021 20:13:17 +0200 Original-Received: from localhost ([::1]:45342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyIEW-0000qg-AU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Jun 2021 14:13:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyIEI-0000qY-PK for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 14:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyIEI-0007vI-Ef for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 14:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyIEI-00046n-69 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 14:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Jun 2021 18:13: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.162499032615728 (code B ref 49270); Tue, 29 Jun 2021 18:13:02 +0000 Original-Received: (at 49270) by debbugs.gnu.org; 29 Jun 2021 18:12:06 +0000 Original-Received: from localhost ([127.0.0.1]:55278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyIDO-00045b-EQ for submit@debbugs.gnu.org; Tue, 29 Jun 2021 14:12:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyIDN-000456-7Y for 49270@debbugs.gnu.org; Tue, 29 Jun 2021 14:12:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37552) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyIDH-0007IB-Nc; Tue, 29 Jun 2021 14:11:59 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4155 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyIDH-0008SG-80; Tue, 29 Jun 2021 14:11:59 -0400 In-Reply-To: (message from Jim Myhrberg on Tue, 29 Jun 2021 12:51:48 +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:209112 Archived-At: > From: Jim Myhrberg > Date: Tue, 29 Jun 2021 12:51:48 +0100 > > 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. That's not (exactly) how this stuff is supposed to work, AFAIR, not after the recent changes. Please look at the code and the comments in comp.c:comp-el-to-eln-rel-filename, and tell if you understand why this isn't working for you.