From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#57563: 28.1; macOS - layout warning at startup Date: Mon, 12 Sep 2022 07:58:18 +0200 Message-ID: References: <87h71jbam3.fsf@gmail.com> <87a67bb9uh.fsf@gmail.com> <87zgfa8e7n.fsf@yahoo.com> <87k06e7zw0.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38900"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: Po Lu , Robert Pluim , 57563@debbugs.gnu.org To: Bob Kline Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 12 07:59:13 2022 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 1oXcTQ-0009uD-Bv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 07:59:12 +0200 Original-Received: from localhost ([::1]:38136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXcTP-000226-Fi for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 01:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXcTG-00021g-V4 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 01:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXcTG-000359-Ll for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 01:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXcTG-0004aj-H3 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 01:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2022 05:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57563 X-GNU-PR-Package: emacs Original-Received: via spool by 57563-submit@debbugs.gnu.org id=B57563.166296231217592 (code B ref 57563); Mon, 12 Sep 2022 05:59:02 +0000 Original-Received: (at 57563) by debbugs.gnu.org; 12 Sep 2022 05:58:32 +0000 Original-Received: from localhost ([127.0.0.1]:43873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXcSm-0004Zg-A9 for submit@debbugs.gnu.org; Mon, 12 Sep 2022 01:58:32 -0400 Original-Received: from mail-ej1-f54.google.com ([209.85.218.54]:33608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXcSh-0004ZP-1n for 57563@debbugs.gnu.org; Mon, 12 Sep 2022 01:58:30 -0400 Original-Received: by mail-ej1-f54.google.com with SMTP id lc7so17733079ejb.0 for <57563@debbugs.gnu.org>; Sun, 11 Sep 2022 22:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=nAes1UllAO7ee8szR66LpSAI5G6pt/sfk2XkeW5nxqI=; b=OKxuTVnmSsxzABZjTVIMiQqMc6qVTqTrIM8WlQxMY8ND8a35Ev0TViwyTqHiZKH0v2 YLrkePn0orNb1Vibz188QubzmPGUV8oZmQ1lPiqpcweCzdhxCMwEyBCx0HskYKLMGmNv O7fw5/IqNQzyoS//Z+8Fe9MMlOV9ht9HB15wQUQ1WZRkQZXBfmOGc8l7TCMvjRXEQqye lh2DYt7voKXC0oLkcHjwH4XHsNEZsfzthmDgva/36jT46wrMsBSp7grGkdW7VJlJVu7h ID55LtB+oJcZj4BOLIlo50x/Pl8+cqLvVWAz5M2J9/q42jEN5o3gkhPlG/6dC27uJ++C Rg6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=nAes1UllAO7ee8szR66LpSAI5G6pt/sfk2XkeW5nxqI=; b=WaYhqeusloEe4lVZHBYRC8HVgxFMcmopAldsm1AAsNGyC+IbTagcN7DjaxyfgxRrzM FmFBb/5oOs1n3uRAcpoO2uPImVGUdWn5iUrmurzsB7bkmukrRCxNkHlOfirsAUeIdn38 pwiCuOTbjiE4ZL44Szrr7ebHFVUQaDBB3y7cqlCz2JPgvOp+umN27TIH5ftSzKCvysLD YwG8X+25kiFto+Ih6I+rftdHPUzYwtlFFgPhnBFIjhCyJdIk885bkux0OSCsRwwkctIz qonzMnrWcL5RRq7KArUu3a6nwXksU97+VnoSapmKWMTdv0MfCifm7qda9+HG0Wh4Qup1 4j4A== X-Gm-Message-State: ACgBeo2/f+M7d14jb9qYJoIaxXa0n/k6dB0Cqc3ws0U3UhUeKxkiSV9I aLyJ889ht0VxMyOp3L/y9DiiEuZaf1BNYg== X-Google-Smtp-Source: AA6agR62YE8yztgvOsbcyaiC/Fu6LHpRUF9WiBwxAenNC2U4D4ZMA46hUzMdvNiBKDbbFY7D+UYM4g== X-Received: by 2002:a17:907:97c6:b0:771:edd:d86d with SMTP id js6-20020a17090797c600b007710eddd86dmr15902794ejc.618.1662962300582; Sun, 11 Sep 2022 22:58:20 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36bd4.dip0.t-ipconnect.de. [217.227.107.212]) by smtp.gmail.com with ESMTPSA id p8-20020aa7d308000000b00443d657d8a4sm4964485edq.61.2022.09.11.22.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 22:58:19 -0700 (PDT) In-Reply-To: (Bob Kline's message of "Sun, 11 Sep 2022 07:13:03 -0400") 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:242210 Archived-At: Bob Kline writes: > On Fri, Sep 9, 2022 at 1:02 AM Gerd M=C3=B6llmann wrote: >> ... >> I hope they'll tell how they codesign'ed their executable, and how to >> change it to let a debugger attach. > > He didn't really know how to modify the program so that the debugger > could attach to it. He wrote > >> It's possible that bypassing Gatekeeper (requires a reboot) might let it= work. > > But I tried that, without any success. > > Oh, well. At least I know how to create an executable that behaves correc= tly. Meanwhile, I also tried with codesign --remove-signature and with adding entitlements with add_debug_entitlement.sh, which can be found on github, and both of these "worked" but had no positive effect. The first one macOS doesn't like at all, the application cannot be started anymore. And the second one worked in the sense that the entitlements were added, which can be seen with codesign -vdd --entitlements, but I still couldn't debug Emacs. I get to main, but then the application mysteriously exits without me being able to see why. So, as far as I'm concerned, I'm giving up. Would it be okay with you when we declare this a problem of other people, that is emacsformacosx.com, and close this bug?