From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#63288: 30.0.50; Emacs 30 packages fail to build with native comp on some machines Date: Fri, 5 May 2023 16:12:14 +0200 Message-ID: <098D461C-A742-45C4-BD85-B2F9B93F1D07@acm.org> References: <87mt2jl97p.fsf@posteo.net> <83mt2jjqzg.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) 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="1158"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Brian Leung , Eli Zaretskii , Andrea Corallo To: 63288@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 05 16:13:11 2023 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 1puwBK-000Adm-Hz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 May 2023 16:13:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puwBD-0004Pg-9k; Fri, 05 May 2023 10:13:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puwBC-0004PI-FB for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 10:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puwBC-0000ow-6s for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 10:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puwBC-0007rt-2l for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 10:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 May 2023 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63288 X-GNU-PR-Package: emacs Original-Received: via spool by 63288-submit@debbugs.gnu.org id=B63288.168329595030201 (code B ref 63288); Fri, 05 May 2023 14:13:02 +0000 Original-Received: (at 63288) by debbugs.gnu.org; 5 May 2023 14:12:30 +0000 Original-Received: from localhost ([127.0.0.1]:57185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puwAg-0007r2-8D for submit@debbugs.gnu.org; Fri, 05 May 2023 10:12:30 -0400 Original-Received: from mail1442c50.megamailservers.eu ([91.136.14.42]:54820 helo=mail264c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puwAb-0007qk-I8 for 63288@debbugs.gnu.org; Fri, 05 May 2023 10:12:29 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1683295938; bh=SZBC6/IFNgNd4loJexFJIxYaDLt4f/6QtJth5GCPVMY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=H3Q67izN1gMuDDctmpQkqTJwBZ8rCntGudsoMB3hcTyLkB4P8d3/a0N++3hk7+9xg O9VzXxC8jOyeNjo68o9e6/Ieje7rxWRtDhNf+cwOAUN/jzj55v1h7q7Q1DSLvoRn3H hmnFg8IMHc4nVOS6LbdgvxnGDkff1u8k+Cm2GKKU= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail264c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 345ECFa3007394; Fri, 5 May 2023 14:12:17 +0000 In-Reply-To: <83mt2jjqzg.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefvddgjeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepgfdvteefudeiudeuhfejleevgfelkeeggeffjeffueefteelheelhfehuedtheeknecuffhomhgrihhnpehgihhthhhusgdrtghomhdpghhnuhdrohhrghenucfkphepudekkedrudehtddrudeihedrvdefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeekrdduhedtrdduieehrddvfeehpdhhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhmrghilhhfrhhomhepmhgrthhtihgrshgvsegrtghmrdhorhhgpdhnsggprhgtphhtthhopeegpdhrtghpthhtohepieefvdekkeesuggvsggsuhhgshdrghhnuhdroh hrghdprhgtphhtthhopehlvghunhhgsghksehpohhsthgvohdrnhgvthdprhgtphhtthhopegrkhhrlhesshgufhdrohhrghdp X-Origin-Country: SE 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261109 Archived-At: >> In https://github.com/nix-community/emacs-overlay/issues/318, we >> received a report about failed external-package builds when using >> Nix, which has some additional plumbing including >> = https://github.com/nixos/nixpkgs/blob/abcc3146aeb06b8d2ded75bddac3a63544a6= be7e/pkgs/build-support/emacs/melpa2nix.el#L26-L32. >>=20 >> It was observed that reverting >> = https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3Dea9831bb3cb487827= 3f6f848051c9b8c3c76d5f1 >> would resolve our issue. >>=20 >> On my own machine, I don't always encounter the build failure = (happened >> to me once a few weeks ago, and then again today). That's remarkable -- not only is it difficult to see anything wrong with = that change (ea9831bb3c), it actually reverts byte-code generation for = `ignore` forms in general so that the bytecode generated for = `package-read-from-string` on master is again identical to that on = emacs-29. Andrea, does the native compiler somehow miscompile = package-read-from-string? Since the failure appears to be nondeterministic, perhaps there is a = native-comp build race involved?