From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oLB8FBI6kF+lVAAA0tVLHw (envelope-from ) for ; Wed, 21 Oct 2020 13:39:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YCJoEBI6kF9dFQAAbx9fmQ (envelope-from ) for ; Wed, 21 Oct 2020 13:39: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 aspmx1.migadu.com (Postfix) with ESMTPS id 0630C94060F for ; Wed, 21 Oct 2020 13:39:29 +0000 (UTC) Received: from localhost ([::1]:43546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVEKu-00058V-0Z for larch@yhetil.org; Wed, 21 Oct 2020 09:39:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVEKV-00056y-0a for bug-guix@gnu.org; Wed, 21 Oct 2020 09:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVEKU-0005kk-0r for bug-guix@gnu.org; Wed, 21 Oct 2020 09:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVEKT-0007pB-VH for bug-guix@gnu.org; Wed, 21 Oct 2020 09:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44112: SBCL is not reproducible Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 21 Oct 2020 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44112 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Received: via spool by 44112-submit@debbugs.gnu.org id=B44112.160328748630012 (code B ref 44112); Wed, 21 Oct 2020 13:39:01 +0000 Received: (at 44112) by debbugs.gnu.org; 21 Oct 2020 13:38:06 +0000 Received: from localhost ([127.0.0.1]:48276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVEJT-0007nb-H6 for submit@debbugs.gnu.org; Wed, 21 Oct 2020 09:38:06 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:43621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVEJR-0007nP-Sc for 44112@debbugs.gnu.org; Wed, 21 Oct 2020 09:37:58 -0400 Received: by mail-qt1-f177.google.com with SMTP id e6so2041877qtw.10 for <44112@debbugs.gnu.org>; Wed, 21 Oct 2020 06:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=46kcHOIprDXCztxU8K5v0bqnB3v+YEx/EPcrb0WQ2GI=; b=sV+8DNjjqFk2rQI9W/etnSC0yCgm1rGNGAYb6o5yDumhQVfPDXXNOakGxoBTiXM+f4 PhGO3mfr6MoIDShZTSqs4T2x4V+Q1R0xywZ4Qf8RUtHbZnJiWUPTzTUDSgoFZKVxuLsq gM4n43JYSvokSEwl/5b4xK3tho+IwMRL4E3opkNyIVuwhPalmzWaM46WTKEus0du3O5M 9e3G7kSEfpkx0K1Lcu+jyH5Rky3203QUf/P/cAv9ZoTTIacCm5DT6dM/djhTvU1iDkCK bdxv8Y359s+O3l4D/2hqyAtGciiu8W4BBfhWfWhSX2G8fDJqJ4ywE8zV/IDnUozXsOrw RcBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=46kcHOIprDXCztxU8K5v0bqnB3v+YEx/EPcrb0WQ2GI=; b=q66ZHVMpm1k3dqP9xMfgA8GIVK+Rpxn8wXlt1CCnkLPGQ3mkxLDUedXO7xLvLiMuS2 3vOeHI5HYWvLqqou6YjFnCC20w3S8DgUuCI9MMemgNwEGBO3fO0alH/hpyx9/ayiAp4u rL1U+/KouILhKmL9jwUGLqUAXmHUNXvFZVUIHOMHJwyffb453fxrSd6gJB5k4lz11VBu VvsQ+Pf8qeeicMrWuBnDpkEbVZzH/zjnTs1OXMTGY+w6ucpN2dZLjYL09uaXDL6QfXVA HQmsEjUxTa0Dfp5v7iulSVBVvxjDAZTljhXzQwF9oI899g3VWpG5Nqbzgh1I36aaE4An orzg== X-Gm-Message-State: AOAM533mf4GDEVzOoa/XmDmY1drZAGnBk/GEnzrjcKtAjsE5wbrQViP1 d1D9MFosI8ral6yeXjyWK2y0m0kEVk8z1FsXrgjP9YiZ X-Google-Smtp-Source: ABdhPJxvuWMUBOiq/ZFpGVEvNPicf89p7FEaHCJNHNdDbIsrG73tX+7ss3DqwWY+NNhelK5Frg/IBoJFYlyXSmTHJA4= X-Received: by 2002:aed:3b2a:: with SMTP id p39mr2960022qte.211.1603287472272; Wed, 21 Oct 2020 06:37:52 -0700 (PDT) MIME-Version: 1.0 References: <86o8kw80bl.fsf@gmail.com> <87wnzjzr77.fsf@yamatai> In-Reply-To: <87wnzjzr77.fsf@yamatai> From: zimoun Date: Wed, 21 Oct 2020 15:37:41 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44112@debbugs.gnu.org, Pierre Neidhardt Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=sV+8DNjj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.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-Spam-Score: 0.09 X-TUID: q+s+Q07VkHj4 Hi, Thank you for the explanations. On Wed, 21 Oct 2020 at 14:42, Guillaume Le Vaillant wrote: > However, some packages generate some source files at build time, usually > containing things like data type sizes fetched from system header in > order to use C libraries with FFI. The timestamp of a generated file > is the current time, therefore the build is not reproducible. This is an issue. Do you think it is affordable to fix these timestamps to 1970-01-01? > IIRC, SBCL itself is built in 2 stages. First its core is compiled > using another Common Lisp implementation (currently clisp in Guix), then > the complete SBCL is compiled using the core compiled in stage 1. There > is probably also an embedded timestamp issue here (coming for clisp, > from SBCL, or both) causing the reproducibility issue. Yes. But I have replaced this "clisp" by ECL or by SBCL itself. Still unreproducible. Out-of-scope with this bug report, my aim is to have a fixed point: - first compile SBCL with CLISP (using the 2 stages you describe): produce SBCL-A - second recompile SBCL with the previous SBCL-A (again using the 2 stages): produce SBCL-B - third recompile SBCL with the previous SBCL-B (again using the 2 stages): produces SBCL-C The binary SBCL-A is not deterministic probably because of CLISP (and CLISP should be fixed but that's another story :-)). However, SBCL-B and SBCL-C must be deterministic. And ideally bit-to-bit identical but that's another story. :-) And they are not; from my experiments at least. Even, you could do the same procedure replacing CLISP by ECL, producing SBCL-{A,B,C}-bis. Then SBCL-C and SBCL-C-bis should be bit-to-bit identical. > Removing this source file timestamp from compiled files would simplify > things. Maybe nothing really depends on it and it would be possible... Thanks for the explanation. All the best, simon