From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kKGcDvISMWCYeAAA0tVLHw (envelope-from ) for ; Sat, 20 Feb 2021 13:47:30 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id RhI/CvISMWDcYAAAbx9fmQ (envelope-from ) for ; Sat, 20 Feb 2021 13:47:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 70E14152A0 for ; Sat, 20 Feb 2021 14:47:29 +0100 (CET) Received: from localhost ([::1]:35298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDSbX-0003Ji-0L for larch@yhetil.org; Sat, 20 Feb 2021 08:47:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDSb8-0003H9-Nh for bug-guix@gnu.org; Sat, 20 Feb 2021 08:47:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDSb8-0000wc-AA for bug-guix@gnu.org; Sat, 20 Feb 2021 08:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDSb8-0001d2-6y for bug-guix@gnu.org; Sat, 20 Feb 2021 08:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44559: Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Feb 2021 13:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44559 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 44559-submit@debbugs.gnu.org id=B44559.16138288026232 (code B ref 44559); Sat, 20 Feb 2021 13:47:02 +0000 Received: (at 44559) by debbugs.gnu.org; 20 Feb 2021 13:46:42 +0000 Received: from localhost ([127.0.0.1]:51273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDSao-0001cS-Gy for submit@debbugs.gnu.org; Sat, 20 Feb 2021 08:46:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDSam-0001cF-2G for 44559@debbugs.gnu.org; Sat, 20 Feb 2021 08:46:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43786) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDSae-0000kb-4T; Sat, 20 Feb 2021 08:46:33 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35208 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDSac-0005tg-AB; Sat, 20 Feb 2021 08:46:30 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87d00los2d.fsf@cbaines.net> <87lfbkkr6r.fsf@gnu.org> <5d72d9c66d0e9f70f6ff1fb3b4d08ed530551288.camel@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 20 Feb 2021 14:46:28 +0100 In-Reply-To: <5d72d9c66d0e9f70f6ff1fb3b4d08ed530551288.camel@telenet.be> (Maxime Devos's message of "Fri, 19 Feb 2021 19:32:34 +0100") Message-ID: <87v9amj1hn.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44559@debbugs.gnu.org, Mathieu Othacehe , Carl Dong Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.37 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 70E14152A0 X-Spam-Score: -2.37 X-Migadu-Scanner: scn1.migadu.com X-TUID: cxpIi2miCbp3 Hi, Maxime Devos skribis: > On Fri, 2021-02-19 at 16:33 +0100, Ludovic Court=C3=A8s wrote: >> [...] >> Longer-term, we need to find a way to address or avoid this issue. A >> brute-force approach would be to have the build machines at ci.guix run >> with a clock ten years ahead. That should generally be fine since the >> only place where timestamps matter are unmodified upstream tarballs. In >> all other cases, mtime is set to 1. > > Alternatively, could the build container be adjusted to always begin at > 1970-01-01, using =E2=80=98time namespaces=E2=80=99? > > Linux: https://lwn.net/Articles/766089/ Unfortunately, time namespaces are just for CLOCK_{MONOTONIC,BOOTTIME}, which I think is of little use here: https://issues.guix.gnu.org/44559#3 > Also, is there any particular reason to set the clock only ten years ahea= d, > and not, say, a millenia or two? Some possible reasons: > > * year 2038,2446 problem: the ext2 and ext4 filesystems have a restricted > date range > * year 2038 problem: https://www.gnu.org/software/hurd/gnumach-doc/Host-I= nterface.html#Host-Interface > > IMO, the year 2038 problem is a bug and affected packages should simply= be fixed. > But perhaps reality is a little more complicated. Yeah, one problem at a time. :-) Setting it 10 years ahead would cache the kind of issue we=E2=80=99re talki= ng about, while not opening the Y2038 can of worms. I think we need to try that out and see how it goes. Ludo=E2=80=99.