From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id EDs4BGpWQWWGNQAA9RJhRA:P1
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 31 Oct 2023 20:32:58 +0100
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id EDs4BGpWQWWGNQAA9RJhRA
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 31 Oct 2023 20:32:58 +0100
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 B02A15CAC5
	for <larch@yhetil.org>; Tue, 31 Oct 2023 20:32:57 +0100 (CET)
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20230601 header.b=Bqf7UYm+;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698780778; a=rsa-sha256; cv=none;
	b=eB/faSkkWgJJbuj7Nh3TpQEr5Hw3x8WNh9FBJI0q3x6PCQ3UEVkBgkrd3v9165SYkoxq9N
	exH3knEz+Hf1TOHnKzXxk0BGAMnahyKgDw79FiCu1W1c21SLJxBHnDpEBZXdXkNimZQTQW
	2x2SCwLw9T4/yEVBygIhFvo6PvszhgMEInkLDX1Wbk+iRNOhyCv0v7VEEyf6b/R5H+7y2a
	DtKR+MHsveNYb//j0mIK/OsctsF+ZNLAsZMEqrWpzMSpBUN9IuyeRYl2gq40TcIL70RebS
	qcojQg1KykeAD3o7vNFKXkBvKMS7xKKeJaIISf8XTvitDjjJdXXeVJCLymkpzg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1698780778;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=wuES9mA3fP8cD6YVJdjOopsNVPHsSSY4aqTEJr29MnM=;
	b=sET5O8hIhpkrozo2+Hps4I/F6hAR4sQPqzJxt3KjRJeWWA/UvyyDsqOd3bqqSWZlriT4kZ
	vpM5+R78S0+PYbPhadsC/GjcpQtHkOQQQwxde2VyU75JNpOmVbAD9iDjTKgWlF1qsosBA+
	Yzi92TXJWa5GPMfoqEuAb3O29TLMTftDKn5EkkBYoQs9EoFRmMfhaVJ/ZMZB0g7Wk0zc3r
	ZutMZife/6P00TnKu2T34zxzs0CrYa5Hcfm7osvLODSo9lDKF8k62wPCRMua6T3DLiTeOC
	VscHg3K2lJH4+hQnCDM2pnZvYbDI/QnfWw1Jo/bTPsATqoYOuCFOf8o9RttPXA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20230601 header.b=Bqf7UYm+;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces@gnu.org>)
	id 1qxtiF-0004Dc-Op; Tue, 31 Oct 2023 14:43:39 -0400
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 <zimon.toutoune@gmail.com>)
 id 1qxtiE-0004DT-Lp
 for help-guix@gnu.org; Tue, 31 Oct 2023 14:43:38 -0400
Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@gmail.com>)
 id 1qxtiC-0003EE-Vb
 for help-guix@gnu.org; Tue, 31 Oct 2023 14:43:38 -0400
Received: by mail-lj1-x236.google.com with SMTP id
 38308e7fff4ca-2c519eab81fso14132431fa.1
 for <help-guix@gnu.org>; Tue, 31 Oct 2023 11:43:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698777815; x=1699382615; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=wuES9mA3fP8cD6YVJdjOopsNVPHsSSY4aqTEJr29MnM=;
 b=Bqf7UYm+QbzCKc2sCjnTZY5v1TnDr0BYSRBtSWl3BoBg2VJEGLCMV3bCcln9u75tcH
 jw8UKTj4ZcJuxr5j0JdWXe+eB80wfe1uAbnwORvlbWXPvitcM79t/oxnYcjdGh9fH4Z5
 7mgdSbQTDm6UyUouRx5P4S8a50arvha6DsR1OfwsozCvdHkR01zO5gH1DpPv4kPQXeSM
 qEU3JOYrVl/NpTPbiOCejBNB70P/gXN3WJAfC4SICMWI4wnpjE5wu/rGPHQQJ2RRv1Qz
 5neI7WCycYbBYwGkbBXvimxbgVuJWfwvIMTZS3FoGUjsIiC8Ow6dgjyZrp7wETIlF3r5
 w54Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698777815; x=1699382615;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=wuES9mA3fP8cD6YVJdjOopsNVPHsSSY4aqTEJr29MnM=;
 b=PKxrfTxw730E16hEQcwuIxFFtT4h8KcVd+i4lM8LgS7uekw8UM8lzad4fePv/vk4NC
 GbEsFG7CC2n1EZdR+Z4gjQRaoHsCJ5Bg4h3T0gaaObKalZzJbXKB9aOmUuXL0sUmWnoh
 pJz/QJ25J0+fR3R4OLX4D1mQFqqs2qH2DsFW8IUKvyaQfSmy21ywaMYiUETk7gAvv0W1
 mc86Jrf60hWyt0JoEwD4Nhu7Ui6UvZa9iZUhB2eMzQPl+i79dZh0JXkhc6QzWjPgvN6B
 +yXad+ArO9XFnt4/tsLvFJuOf4IoR638wug2ITpPcZlmjXXDDNrz7qkTXITPkoQnnGu2
 hDkA==
X-Gm-Message-State: AOJu0YwTpi5GTft9yKL1kB2iQy1CacylvyLvxU3SWjXNvMf74139BgAD
 LDftfb7+8cP5/pShjyUZF0g=
X-Google-Smtp-Source: AGHT+IF4MK+ptp/sZxuS5ZTE9d6nBpMntUPTOVZxwhEXov8s/Od8PcEHMvRVAoz4yY9l8ztna4b8/Q==
X-Received: by 2002:a2e:7a19:0:b0:2c0:196c:e38f with SMTP id
 v25-20020a2e7a19000000b002c0196ce38fmr9952160ljc.1.1698777814362; 
 Tue, 31 Oct 2023 11:43:34 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 g9-20020adffc89000000b0032da8fb0d05sm2094526wrr.110.2023.10.31.11.43.33
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 31 Oct 2023 11:43:34 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Suhail <suhail@bayesians.ca>, Help-Guix mailing list <help-guix@gnu.org>
Cc: Suhail <suhail@bayesians.ca>
Subject: Re: Unable to build "Ten Years Reproducibility Challenge" paper
In-Reply-To: <87r0ldgtes.fsf@>
References: 
Date: Tue, 31 Oct 2023 16:19:57 +0100
Message-ID: <875y2mzun6.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::236;
 envelope-from=zimon.toutoune@gmail.com; helo=mail-lj1-x236.google.com
X-Spam_score_int: -4
X-Spam_score: -0.5
X-Spam_bar: /
X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592,
 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=no autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: help-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Scanner: mx11.migadu.com
X-Spam-Score: -7.66
X-Migadu-Queue-Id: B02A15CAC5
X-Migadu-Spam-Score: -7.66
X-TUID: tPPLYDir/r1l

Hi,

Thanks for the attempt and the report.

On dim., 29 oct. 2023 at 18:44, Suhail <suhail@bayesians.ca> wrote:

> <https://hpc.guix.info/blog/2020/06/reproducible-research-articles-from-s=
ource-code-to-pdf/>.

[...]

>   $> guix time-machine -C channels.scm -- build -f guix.scm

[...]

> As can be seen in the attached build log, it seems some tests for
> openssl are failing.

Arf, it was still working end of June 2023.  The substitutes is probably
gone and yeah OpenSSL has a time-bomb in its test suite.

Sadly, it is a known issue:

     Note: Although it should technically be possible to travel to such
     an old commit, the ease to do so will largely depend on the
     availability of binary substitutes.  When traveling to a distant
     past, some packages may not easily build from source anymore.  One
     such example are old versions of Python 2 which had time bombs in
     its test suite, in the form of expiring SSL certificates.  This
     particular problem can be worked around by setting the hardware
     clock to a value in the past before attempting the build.

     https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-time_002d=
machine

Here, we are hitting some unexpected limitations about time-travel. :-)
For an immediate fix, you can do something along these lines:

        sudo timedatectl set-ntp false
        sudo timedatectl set-time '2020-06-23 00:00:00'

or adapt for OpenSuse.  This should make the OpenSSL test suite passes.


For a long-term fix, I have done a systematic review about what happens
in the worst case scenario:

    https://simon.tournier.info/posts/2023-06-23-hackathon-repro.html

And we are not yet bullet-proof.  Work in progress=E2=80=A6 :-)

Cheers,
simon