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.devel Subject: Re: Intermitten build problems on Macos Date: Thu, 11 Nov 2021 17:15:23 +0100 Message-ID: References: <87zgqdrjj0.fsf@gnus.org> <875yt0oq5f.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22241"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 11 17:16:41 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mlCki-0005Yy-DZ for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Nov 2021 17:16:40 +0100 Original-Received: from localhost ([::1]:32798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlCkh-0001uZ-7P for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Nov 2021 11:16:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlCja-00080M-Jq for emacs-devel@gnu.org; Thu, 11 Nov 2021 11:15:30 -0500 Original-Received: from [2a00:1450:4864:20::334] (port=53786 helo=mail-wm1-x334.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlCjY-0002nP-QE for emacs-devel@gnu.org; Thu, 11 Nov 2021 11:15:30 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id y196so5507506wmc.3 for ; Thu, 11 Nov 2021 08:15:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=K3mLqVOm4mwpfFxmWfn/0ubYAOmqJHipn+7SaqQApi4=; b=iXmdXBX4HORNxB78j8hWjbRIxpKx8/jcY671jeHKroKLpy5luDI6VRajAGiber179c AZVzeASekWryoTez6qQ/r33Goll0YzxKIsFFJep7/mkhMogShKHv3ZprRQVg9DnZNL7D otA6wFUtlIx8GxuVO/TrCx+h1AKfyJSqrnxxXi1KQJtmzPKcrcOAsvfvhukngzrZmYc2 oRJZd+hacbTRFzJjBP71+S7LA21MvdDTbBMK73bPxt5CPl4K3N+wiKwjBRoMrAqJvf/k xBk6esZM7Q/GRSDRrV80jsDtew+/NlzXIBLm0UaHL4DzPjCUmMiJyA06Bv/lepm/rFKW Sgmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=K3mLqVOm4mwpfFxmWfn/0ubYAOmqJHipn+7SaqQApi4=; b=xsLwNv7XYIEnk3oVbIzwCQKn9dY3k2TE+EdbOGQuWJRRWBC/tVWlJlUxWL1HXvJpKD A6YvazfAyTqlcAAvFLT0OsyEm39vviBU5Eyc3YpJLA6WkbA2RPGQqSS6YfCwK94R361R WNcGp/HCOIlW6sgJlZKQJ8y3Sv9LdOQqC4wnCiidJjvu0astvs7zU7j7quQf30ovJLeA troj04iHjodBnozw1hfLeRaqEcz9b4whr5ycfdt8mp1jHajb4FNwH2/vw6buTJE27kZ6 rN7Un4H/RSdUgVwFU6SE/fdwCllAx1MUOx4J4DkNnRf5/C3ZbfrEmkVIPnolkaV0TXW1 mxZw== X-Gm-Message-State: AOAM532t+D4uMIedtI2Oa5BUKrvtfCbcNpA/pg5Yxg6dvEG3SjNl5WVg d8/dnEMyYnjj+0zr/HWIvdA= X-Google-Smtp-Source: ABdhPJxMWtm/PjwMpVu6yHAofZeY6L/wMz8I1/cuMvE2cwYCNpquolr5AZKVuwQ93zl6IAyKjN9CHg== X-Received: by 2002:a1c:f31a:: with SMTP id q26mr9208769wmq.148.1636647326275; Thu, 11 Nov 2021 08:15:26 -0800 (PST) Original-Received: from smtpclient.apple (p579970db.dip0.t-ipconnect.de. [87.153.112.219]) by smtp.gmail.com with ESMTPSA id g4sm3212023wro.12.2021.11.11.08.15.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Nov 2021 08:15:25 -0800 (PST) In-Reply-To: <875yt0oq5f.fsf@gnus.org> X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::334 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=p.stephani2@gmail.com; helo=mail-wm1-x334.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279267 Archived-At: > Am 10.11.2021 um 00:39 schrieb Lars Ingebrigtsen : >=20 > Philipp writes: >=20 >> Yes, this happens to me all the time. Deleting bootstrap-emacs also >> fixes it temporarily. The problem is generally that bootstrap-emacs >> is occasionally not properly codesigned. See e.g. this crash report: >=20 > Hm... So is the problem that this bit doesn't always run? Or... is > run at the wrong time? >=20 > temacs$(EXEEXT): $(LIBXMENU) $(ALLOBJS) $(LIBEGNU_ARCHIVE) $(EMACSRES) = \ > [...] > ifeq ($(DO_CODESIGN),yes) > codesign -s - -f $@.tmp > endif >=20 > Unfortunately, the Macos build doesn't fail for me now, so I can't = test. > I'll try to poke at this more the next time it fails. I don't quite understand where the problem lies exactly. The Makefile = rule doesn't look wrong per se, but it does appear to result in binaries = that are occasionally not codesigned. Maybe it's worth investigating a more robust approach: Instead of having = make-fingerprint modify the binary directly, have it write out the = fingerprint into a generated C source file, then compile that and link = it against the rest of the object files using the system linker. That = approach should be more portable, as it only relies on the system linker = to produce correct binaries.=