From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Newsgroups: gmane.emacs.bugs Subject: bug#45552: 28.0.50; bootstrap-emacs apparently not correctly codesigned Date: Wed, 30 Dec 2020 14:10:46 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32673"; mail-complaints-to="usenet@ciao.gmane.io" To: 45552@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 30 14:11:13 2020 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 1kubFw-0008NF-QJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Dec 2020 14:11:12 +0100 Original-Received: from localhost ([::1]:46400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kubFv-0007dL-SW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Dec 2020 08:11:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kubFn-0007af-0y for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 08:11:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kubFm-0007Mr-Ds for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 08:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kubFm-0004IY-9j for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 08:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Dec 2020 13:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45552 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160933385716508 (code B ref -1); Wed, 30 Dec 2020 13:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Dec 2020 13:10:57 +0000 Original-Received: from localhost ([127.0.0.1]:42129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kubFg-0004IC-JH for submit@debbugs.gnu.org; Wed, 30 Dec 2020 08:10:56 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kubFf-0004I5-94 for submit@debbugs.gnu.org; Wed, 30 Dec 2020 08:10:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kubFd-0007WU-Ip for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 08:10:54 -0500 Original-Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:41520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kubFa-0007Iq-K9 for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 08:10:53 -0500 Original-Received: by mail-ej1-x62d.google.com with SMTP id ce23so21831071ejb.8 for ; Wed, 30 Dec 2020 05:10:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=VcatmR3qONm6G1jigccgjsUZskivqgY7ut7VSD4v930=; b=iXDxiI2T2XfFqVKkSWipc6br3Lpmfegm2UX/fYTxl5tuyjs6RCfMTOvMRzzAHRvcRb GYJ67ChuPR5uT+uDPRxWkTzgPmYyckfBNXRH1yYJ1p0T8Z3gZpfHXhZ8fDf5pH54TtDv yY9yKDFz0BmsSMpzm0d1/kAVf01NixGPN5SpT9K0W7R70ourBrYetFRt6d8eIVVWVO8R Up6CMrrYInuiPJ4jhTqfg+yOsiUqVbBDKUiKD6pZQ4u8Fgnfz9H2iCRfmtSA+ux1T++R 6MKAeES7uKLx8r/2xLamwRBbV7prPx7ifIeJP6HPIbUiIvQbwD3JnlpIGlB8oB8Imtzk VF8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=VcatmR3qONm6G1jigccgjsUZskivqgY7ut7VSD4v930=; b=WMIaudgAGdYI2dt3LWpXgwRcf/TuO6515rQDVelLnSiS9WFiSUORB0D7lLtOlKXYId Lru79yY/qRFbkXoS+ZUwGyPs0j2NjNmzTrd+N/6FLPSYsiCifNYaqBk+dFQQq2cpj+SX sYvduBbUiF4upL8/EcjaCwYcNuT6LYaI5pQx2hOev6uOAhdPmcVSqikJmyRbe3RW/VkT cGykJ0Jc/s9CRy8U/KRBH3h15QKcwjCU8vwQKVvqlQ1CLcEsMXWcQLOCPfpGcDjukCjU ILfgxrBbZz/0209rIsZDX5PqdHiJ/aX8dJ5BOFRNkrhYfFVwxErRXQm771huvx79kQ6P eyDQ== X-Gm-Message-State: AOAM530pabkjiRxCAGFFrlTa8OcBrX7GZX+cg6cGR95aYp2FkaOdu08r cSn4CsPQEd/pWh4MiqMJJLh+cm4VlVcXsg== X-Google-Smtp-Source: ABdhPJzzksSH/r4rFaCMDfQZV7/u8ZKJiFiHu/4K8f6Szuu7L+OUG7CfsYQCrZH/8aRfnlQk4pbTnQ== X-Received: by 2002:a17:906:9386:: with SMTP id l6mr19838006ejx.425.1609333848592; Wed, 30 Dec 2020 05:10:48 -0800 (PST) Original-Received: from MacBook-Pro.fritz.box (p5799782b.dip0.t-ipconnect.de. [87.153.120.43]) by smtp.gmail.com with ESMTPSA id l1sm19021602eje.12.2020.12.30.05.10.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 05:10:47 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=p.stephani2@gmail.com; helo=mail-ej1-x62d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:197026 Archived-At: The following happens for me (on macOS Big Sur on ARM 64, which needs codesigning) pretty frequently: every time Emacs needs to re-dump as part of `make', the code signature for bootstrap-emacs is somehow invalid. For example: $ ./config.status [...] $ gmake [...] /bin/sh: line 3: 18759 Killed: 9 EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp -l autoload --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"calendar/diary-loaddefs.el\")))" -f batch-update-autoloads ./calendar [...] $ src/bootstrap-emacs Killed: 9 The crash reports for these crashes say Exception Type: EXC_BAD_ACCESS (Code Signature Invalid) Exception Codes: 0x0000000000000032, 0x0000000104098000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace CODESIGNING, Code 0x2 However, `codesign' thinks the signature is valid: $ codesign -v -v src/bootstrap-emacs src/bootstrap-emacs: valid on disk src/bootstrap-emacs: satisfies its Designated Requirement Removing src/bootstrap-emacs and running `gmake' again fixes the issue (until the next re-dump). In GNU Emacs 28.0.50 (build 28, aarch64-apple-darwin20.2.0, NS appkit-2022.20 Version 11.1 (Build 20C69)) of 2020-12-29 Repository revision: 90bd3b3d69d40339127b4744c459cedb7eb962b0 Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.1 Configured using: 'configure --with-modules --without-xml2 --without-pop --with-mailutils --enable-gcc-warnings=warn-only --enable-checking=all --enable-check-lisp-object-type 'CFLAGS=-ggdb3 -O0'' Configured features: PNG NOTIFY KQUEUE ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS XIM NS MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc dired dired-loaddefs rfc822 mml easymenu mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton derived edmacro kmacro pcase ffap thingatpt url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars mailcap rx gnutls puny dbus xml subr-x seq byte-opt gv bytecomp byte-compile cconv compile text-property-search comint ansi-color ring cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 70992 6262) (symbols 48 8581 1) (strings 32 24358 1310) (string-bytes 1 794668) (vectors 16 14985) (vector-slots 8 206069 5818) (floats 8 26 28) (intervals 56 209 0) (buffers 984 10))