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#49271: 28.0.50: native-comp: Signing macOS self-contained .app bundle fails due to new *.eln location Date: Tue, 29 Jun 2021 20:18:57 +0100 Message-ID: References: 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="16644"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49271@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 22:04:56 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 1lyJyZ-00045P-8z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Jun 2021 22:04:55 +0200 Original-Received: from localhost ([::1]:50372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyJyY-0002mu-6T for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Jun 2021 16:04:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyJH8-0002N2-Tc for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 15:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyJH8-0000Pl-Io for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 15:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyJH8-0005oQ-Cx for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2021 15:20: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 19:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49271 X-GNU-PR-Package: emacs Original-Received: via spool by 49271-submit@debbugs.gnu.org id=B49271.162499434922250 (code B ref 49271); Tue, 29 Jun 2021 19:20:02 +0000 Original-Received: (at 49271) by debbugs.gnu.org; 29 Jun 2021 19:19:09 +0000 Original-Received: from localhost ([127.0.0.1]:55465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyJGG-0005mo-TM for submit@debbugs.gnu.org; Tue, 29 Jun 2021 15:19:09 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:42871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyJGF-0005mJ-A2 for 49271@debbugs.gnu.org; Tue, 29 Jun 2021 15:19:08 -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 7C0E3940; Tue, 29 Jun 2021 19:19:00 +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=1624994339; bh=LxmU8uBoCw5KhANoRYjxnxh2zZI+tlUhz9RuZP6f51I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T1/2r0iNI+ehOR17SGPKDqrXl1rNO01Fy9D8/sJnh3l+RnQ/IeQ7DtvD0oF2y95gz ywiwGRdU08fcNE/gJsrneYf9OJeDhgEgK4GZ4AjSblNlMkP2JapViC3EA/poUaS/mB o0JS4HWddgigXSk+DTe8/NOz7rKl86YDZZRqRVJmsAKsQzXTL8oC0NXDr8F0/6dIdE dx+AeiGbfTqVHcIMjvrgPiDG+1qwOqK7d2vVRizwgeuIzCBya6ks2f5RE24wrxaH6B G1Wyr6Jd9YJRXBgNSkup7SKhfU/QafxbEitGgcQYFT7BvMZp6GYibTA/wb6YFFxvVe gviJdryb1pGsw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1lyJG5-002OPu-Ec; Tue, 29 Jun 2021 20:18:57 +0100 Mail-Followup-To: Alan Third , Jim Myhrberg , 49271@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:209115 Archived-At: On Tue, Jun 29, 2021 at 12:58:44PM +0100, Jim Myhrberg wrote: > Commit 5dd2d50 seems to have moved the native-lisp folder within self-contained > Emacs.app bundles: > > - from: "Contents/Resources/native-lisp" > - to: "Contents/MacOS/lib/emacs/28.0.50/native-lisp" > > Unfortunately, Apple's codesign utility blows up with an error if there is any > folder within "Contents/MacOS" (recursively) which contains two dots within its > name. Here is an example of what the error looks like: > > /Users/runner/work/emacs-builds/emacs-builds/builds/Emacs.2021-06-26.b8f9e58.master.macOS-10-15.x86_64/Emacs.app: > bundle format unrecognized, invalid, or unsuitable > In subcomponent: > /Users/runner/work/emacs-builds/emacs-builds/builds/Emacs.2021-06-26.b8f9e58.master.macOS-10-15.x86_64/Emacs.app/Contents/MacOS/lib/emacs/28.0.50 Bummer. I had three options: * Contents/MacOS/lib * Contents/Resources/ * Contents/lib and a close reading of the Apple documentation left me none-the-wiser as to which option I should use. Executable binaries go under MacOS, but these aren't executables. Framework libraries go somewhere else entirely, but these aren't framework libraries. Resources is intended for images and things, not libs. Lib is entirely non-standard. I really don't know where the best place is. I'm still thinking Resources is definitely not the right place, but none of the other existing places make any sense, so perhaps the non-standard /Contents/lib is the best option... Can you try that? In order to sort it edit configure.ac, search for the first occurrence of "ns_applibdir" and change the path. If that fails then I guess we move them back under Resources. Unless you have any better ideas. -- Alan Third