From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#63288: 30.0.50; Emacs 30 packages fail to build with native comp on some machines Date: Wed, 10 May 2023 10:01:24 +0000 Message-ID: References: <87mt2jl97p.fsf@posteo.net> <83mt2jjqzg.fsf@gnu.org> <098D461C-A742-45C4-BD85-B2F9B93F1D07@acm.org> 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="11797"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Brian Leung , Eli Zaretskii , 63288@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 10 12:02:13 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 1pwgeD-0002tl-15 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 May 2023 12:02:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwge4-0000oH-NQ; Wed, 10 May 2023 06:02:04 -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 1pwge2-0000nr-KD for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 06:02: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 1pwge2-0002Wg-C1 for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 06:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwge2-0002Vm-3a for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 06:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 May 2023 10:02: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.16837128889604 (code B ref 63288); Wed, 10 May 2023 10:02:02 +0000 Original-Received: (at 63288) by debbugs.gnu.org; 10 May 2023 10:01:28 +0000 Original-Received: from localhost ([127.0.0.1]:45264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwgdU-0002Uq-6w for submit@debbugs.gnu.org; Wed, 10 May 2023 06:01:28 -0400 Original-Received: from ma.sdf.org ([205.166.94.33]:52272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwgdS-0002Ui-2h for 63288@debbugs.gnu.ORG; Wed, 10 May 2023 06:01:26 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1pwgdQ-0004Md-MX; Wed, 10 May 2023 10:01:24 +0000 In-Reply-To: <098D461C-A742-45C4-BD85-B2F9B93F1D07@acm.org> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Fri, 5 May 2023 16:12:14 +0200") 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:261477 Archived-At: Mattias Engdeg=C3=A5rd writes: >>> 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/abcc3146aeb06b8d2ded75bddac3a6354= 4a6be7e/pkgs/build-support/emacs/melpa2nix.el#L26-L32. >>>=20 >>> It was observed that reverting >>> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3Dea9831bb3cb487= 8273f6f848051c9b8c3c76d5f1 >>> 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-str= ing? Hi, (sorry for being late) not that I'm aware! But in this case the failer should be deterministic no? > Since the failure appears to be nondeterministic, perhaps there is a nati= ve-comp build race involved? Mmmh, or maybe related to the presence or not of some eln? Best Regards Andrea