From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bob Kline Newsgroups: gmane.emacs.bugs Subject: bug#57563: 28.1; macOS - layout warning at startup Date: Fri, 16 Sep 2022 09:16:48 -0400 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="17805"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Robert Pluim , 57563@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 15:34:31 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 1oZBUF-0004Ru-1Q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 15:34:31 +0200 Original-Received: from localhost ([::1]:36012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZBUE-0005DP-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 09:34:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZBEI-0007qt-Qb for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 09:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZBEH-0005Zv-Ps for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 09:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZBEH-00079s-L6 for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 09:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bob Kline Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2022 13:18:01 +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.166333422827449 (code B ref 57563); Fri, 16 Sep 2022 13:18:01 +0000 Original-Received: (at 57563) by debbugs.gnu.org; 16 Sep 2022 13:17:08 +0000 Original-Received: from localhost ([127.0.0.1]:42120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZBDP-00078f-IZ for submit@debbugs.gnu.org; Fri, 16 Sep 2022 09:17:07 -0400 Original-Received: from mail-yb1-f170.google.com ([209.85.219.170]:38493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZBDM-00077d-IE for 57563@debbugs.gnu.org; Fri, 16 Sep 2022 09:17:05 -0400 Original-Received: by mail-yb1-f170.google.com with SMTP id c9so32474587ybf.5 for <57563@debbugs.gnu.org>; Fri, 16 Sep 2022 06:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rksystems-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=yKXHHgVUxsT9CUSqA2oRVEK6hqIBv4ZTsj4arw9M0ZE=; b=MfwUeBzynvbBul6XsgdAnkGhGxsRQ0DNpLxT3TzRQrUwCAxJFqAeMjAATMg1h4XBIJ 6EkYwX+sRWJoBXk2q5aukQWOkECHS7i8l7GF+AcKxtDYNommw41H7nO2fHHvzz5p1Q66 u70ocw+Cf5h8V38hApiiLmtkdNsD87ArnyYXNGL6hoQSH8HyPIkzoGYn2CS/c+RpztKD 39DV27rmKLwJ8VapkA6wAT/UK1WSXimqor3lgv0lrtLsdQj2D0rn9GBPFaWxZ7RjD4af S/xzcV6/I5C9A6tsOiheJQ3B/2JYaZmFaCerjCs/onu2ymOb5fIXXXS7adr3Zw2WBrjA lCaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=yKXHHgVUxsT9CUSqA2oRVEK6hqIBv4ZTsj4arw9M0ZE=; b=1GP9Q2ZYppLiYJsbEzksDTCRRVjuGvLpYw9W/iWJwyQ1CJnjxyBgzBDlAu/FWtoKbS T905Uz2NYAbeZU6JbhZmE6rbYjV1E84UekV8wEybLJyp/26Ff9IbXn2ryzB7RG6PqXdy H0+BgNQWJdDrnSIFgMhrWO9ri6UNO5qO92NuiVqcojcRfyRb2N/jHBKtnOZFQX5asnqM tGcjZIZp565W9/konZMldYxEZtn+4e+gQiV2Oak8GVN+GYru6oBIqAOYJPnq25Z7Ha4g YRxNX3aq9mu7CHJ37LFxSsxBCDAR/os0KcnpQd1dforlFXYFlEKYiK+ynU5GyA1CYXBA hXsw== X-Gm-Message-State: ACrzQf0yBds6NvYj1WsekDalHFLVq3kYqdBEhZxXD6QXvzzhIpQCbJAj HVuREGRiUSJo/fMzAtgNCpU3+FEfIZyqiy3H2eXHaQ== X-Google-Smtp-Source: AMsMyM592gI6gDbDayyonDr+XljBxL8N4sL7k3358tU+np+pSM++4T2qNEH5wmksarwAVGz3WUSidMM+sBlnjubteBY= X-Received: by 2002:a25:bdd4:0:b0:696:4dbd:dcc9 with SMTP id g20-20020a25bdd4000000b006964dbddcc9mr4387321ybk.392.1663334218869; Fri, 16 Sep 2022 06:16:58 -0700 (PDT) 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:242761 Archived-At: On Fri, Sep 16, 2022 at 1:56 AM Gerd M=C3=B6llmann wrote: > > Bob Kline writes: > ... > > https://github.com/caldwell/build-emacs/issues/123 > > Thanks for the info, Bob. I got a quick response from the maintainer of the build scripts which feed into emacsformacosx.com (which is where homebrew gets its pre-built packages). He showed me how to figure out which Emacs executable the launcher will choose and how to run that executable directly, bypassing the launcher. I did so, and the bug still kicked in. So as my mental picture of what's going on slowly comes into better focus, what I think I'm seeing now is: * the build script creates three binaries: - one for arm64 macOS 11 - one for x86_64 macOS 10.11 - one for x86_64 macOS 10.14 * the launcher narrows the candidates to those matching the computer's architecture * the launcher eliminates candidates built for a newer OS version than the computer's * the launcher chooses and runs the candidate built for the most recent OS version * when I run that Emacs (x86_64 macOS 10.14) on my x86_64 macOS 12 I see th= e bug * when I run the build script on this machine I get Emacs built for x86_64 macOS 12 * when I execute that Emacs on this machine I don't see the bug So the launcher does not appear to be involved with the bug after all. MacOS 12 appears to be happy running an Emacs (any version) built on macOS 12, but unhappy running Emacs built on macOS 10.14. It seems plausible that the reason the bug doesn't surface on arm64 is that macOS 12 has no problems with an Emacs built on macOS 11, and the launcher can find a macOS 11 Emacs for arm64 but not for x86_64. I tried to set up a machine with macOS 10.14 or macOS 11 to see if the bug showed up there, but it seems that Apple doesn't want users installing older versions of macOS on their computers (Apple has instructions [1] for downloading installers for those versions, but when you follow the links you are taken to the Apple store where you can click "Get" and watch the download progress to the end followed by an error message saying that the installer was launched and failed, and instead of dropping the launcher into the file system so you can put it on some removable media the download is nowhere to be found, as far as I could see). I'll leave it up to you whether or not the bug should be reopened. As noted in an earlier comment, we do have the requested stack trace [2]. I'm perfectly willing to supply any other information I can provide, or attempt any further experiments, but I do have an Emacs without the bug, so I'm happy (or as happy as I'll be with an unsolved mystery). =F0=9F=98=82 [1] https://support.apple.com/en-gb/HT211683 [2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53481#5