From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simon Tournier Newsgroups: gmane.emacs.devel Subject: Re: emacs reproducible builds part1 of 2 : eln Date: Fri, 12 Jan 2024 17:14:57 +0100 Message-ID: <87wmsev88u.fsf@gmail.com> References: <8d01d73e-7ce1-4b3a-a25c-03b518a7e584@lsmod.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38808"; mail-complaints-to="usenet@ciao.gmane.io" To: "Bernhard M. Wiedemann" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 12 21:07:04 2024 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 1rONo0-0009uN-RK for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Jan 2024 21:07:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rONnE-0001a2-8h; Fri, 12 Jan 2024 15:06:18 -0500 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 1rOMbU-0004ZJ-5Y for emacs-devel@gnu.org; Fri, 12 Jan 2024 13:50:04 -0500 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOMbS-0005Zx-Eb for emacs-devel@gnu.org; Fri, 12 Jan 2024 13:50:03 -0500 Original-Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-33761776af9so1091300f8f.0 for ; Fri, 12 Jan 2024 10:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705085400; x=1705690200; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=nWLX1BJuBI8rYMfhZ247lzxqf7f6ue8/tS4zm/fauBA=; b=WGH0+R/pCXYAVbUOTDrK/V3aj4JP1S7JH9AYRT2rycw2N1SaCQaF3nyFKsIz0P/9jK DYDMWx+egYcyYpRYS/hHEk+RbUdZo+y2HIc9qWIPseo50MTet8g+PaLCq5Wk5aSbY55e CCiUfSeTh96Rl8wW8NIGpRGi2CoUjyj736Dt1cUxxpSRL/V4iQ5DWCVn/enNN3bUMx1I rOBSttubVGFQn0gJD8yPBdpP2GWCuxinErSRUTeaMO1DV07Awj/QBFBrX6C0umQlpndh busCSKuAyPjsg3DQFgz645KvficwOXIzgvJBLP0cEMP2cjL12y1My6Uab6twcj1VpzkE WbyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705085400; x=1705690200; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nWLX1BJuBI8rYMfhZ247lzxqf7f6ue8/tS4zm/fauBA=; b=hldPYf2xh91sSAn4zrUdS3Gd0sf3KreVTdj/eXW+q89A8dz29/S+JQU6VnN+lh+mky ZyjvUtRwQvAD9WrnwROijlyc/hvjr4sSoXkMVCKMPTKeWRvveNhSKbgEeg6aFcEUvCI0 LgV1Ebq7tRhOGuIZq1Qyzmxm6uKrKjCjHhJuib6Wk7o/XERaV19p8DPc9yqVrBGjrvWF hLpvzuGd/ZZCzN3ufg7raYzuMEqebJfZ42G6NWLMjZV6AWelEJsS7/NWiztuYka28+d2 UJkPsSN8fCQcqRic1ILjWt9T8bCMJLI2pTtflU39V5Z7gLou0S7MBNc9+vfI1xDm9tCc MzBQ== X-Gm-Message-State: AOJu0YwRBKnldffwuDOP602MYfB0g/wh9ay3a1C+rrpWeiKNudObVSPl otSWtC1il7al/+YXTWTBe1H1FDnVX6g= X-Google-Smtp-Source: AGHT+IFbFKxbGGD1OWngFA/C2LJPSJxOeWJzlRtCyCMBgzyXpmRihHqjD8Gw7KypVRdlThwO06J2MQ== X-Received: by 2002:a5d:53c1:0:b0:336:dd1c:a952 with SMTP id a1-20020a5d53c1000000b00336dd1ca952mr1553174wrw.0.1705085400298; Fri, 12 Jan 2024 10:50:00 -0800 (PST) Original-Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c15-20020adfef4f000000b00336d24b4847sm4525013wrp.114.2024.01.12.10.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 10:50:00 -0800 (PST) In-Reply-To: <8d01d73e-7ce1-4b3a-a25c-03b518a7e584@lsmod.de> Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 12 Jan 2024 15:06:14 -0500 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314914 Archived-At: Hi, On Thu, 11 Jan 2024 at 22:17, "Bernhard M. Wiedemann" wrote: > I'm working on reproducible builds for openSUSE > and in that process found that our emacs-29.1 > package varies across builds from 2 different issues Similar results with GNU Guix. Let first build a first time, then let build a second time (--check). And let compare the two builds: --8<---------------cut here---------------start------------->8--- $ guix build emacs --no-grafts $ guix build emacs --no-grafts --check -K guix build: error: derivation `/gnu/store/p73n8hvadw1q8m0k47xgvj0qpqlws09s-emacs-29.1.drv' may not be deterministic: output `/gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1' differs from `/gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1-check' $ diff -qr --no-dereference /gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1 /gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1-check | wc -l 56 $ diff -qr --no-dereference /gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1 /gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1-check | grep eln | wc -l 53 $ diff -qr --no-dereference /gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1 /gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1-check | grep elc | wc -l 2 $ diff -qr --no-dereference /gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1 /gnu/store/ab5l8h98a56fb7r1r40iqjkxzv4smv1i-emacs-29.1-check | grep pdmp | wc -l 1 --8<---------------cut here---------------end--------------->8--- In addition to .eln files, two .elc files are also different: share/emacs/29.1/lisp/emacs-lisp/package.elc share/emacs/29.1/lisp/gnus/nnspool.elc Well, any pointers for helping in removing this non-determinism would be appreciated. Cheers, simon