From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 10:54:46 2020 Received: (at 44039) by debbugs.gnu.org; 28 Oct 2020 14:54:46 +0000 Received: from localhost ([127.0.0.1]:50058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXmqW-0001m3-Nk for submit@debbugs.gnu.org; Wed, 28 Oct 2020 10:54:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXmqV-0001lq-FS for 44039@debbugs.gnu.org; Wed, 28 Oct 2020 10:54:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45620) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXmqP-0003Cd-RR; Wed, 28 Oct 2020 10:54:33 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44278 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXmqP-0005x6-9a; Wed, 28 Oct 2020 10:54:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tobias Geerinckx-Rice Subject: Re: [bug#44039] [PATCH] gnu: Add slade. References: <20201016184333.1445-1-jsubuntuxp@disroot.org> <87zh4lanh9.fsf@nckx> Date: Wed, 28 Oct 2020 15:54:31 +0100 In-Reply-To: <87zh4lanh9.fsf@nckx> (Tobias Geerinckx-Rice's message of "Fri, 16 Oct 2020 23:07:46 +0200") Message-ID: <87y2jq1jvc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44039 Cc: James Smith , 44039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Tobias Geerinckx-Rice skribis: > The following made multiple builds on one machine identical, but was > not consistent between file systems, probably due to readdir order: > > + (add-before 'build 'reset-slade.pk3-timestamps > + ;; This appears sufficient to make slade.pk3 reproducible. > + (lambda _ > + (invoke "find" "../source/dist/res" "-exec" "touch" > + "--no-dereference" "-t" "197001010000.00" "{}" "+"))) It=E2=80=99s surprising that this is necessary because the =E2=80=98unpack= =E2=80=99 phase copies the source directory preserving the mtime of files and since those files are in the store, their mtime is 1: ;; Preserve timestamps (set to the Epoch) on the copied tree so that ;; things work deterministically. (copy-recursively source "." #:keep-mtime? #t) Thoughts? Anyhow, we can probably push v2. Thanks, Ludo=E2=80=99.