From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SCTAMqtyM2aCXgAAe85BDQ:P1 (envelope-from ) for ; Thu, 02 May 2024 13:02:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SCTAMqtyM2aCXgAAe85BDQ (envelope-from ) for ; Thu, 02 May 2024 13:02:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714647723; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=xqrTKysf0HSIZ8Dm6y0gj/Xy3h2+CX8cF3YnEj7emtI=; b=FcS2jElGZIEJ2E6Cl8kn1sCbBFPyDHavklaXhGyYCzOf8Qo6kxnDUcClkFemjag7hS4T4N 0CEXuEKP1zd9ZMWsgFlf3pIWR9XxZowo/ZEmAGtjpvOrY3NW0/A0bxR2VNMv+lsyudFym0 48TcVZGAuhnqKzldfLi4kstfQHlktaF0wd89n6gHu0/uUtzXa1Mll5jvGYoeBf4CNdmCvM fhXK6czwzhlW/aGtTVGzMmkLhRa6gFkTHxu2yCcVADkUeO99fdDQbU/hUXiJE2p3ABZtef ccjYliUh8z/CrTg2yxvwzfYMu0KdZPsqWK+XSXVhIIHWDp/2EmNvRgIh67KcSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714647723; a=rsa-sha256; cv=none; b=MaoupUZSqPrrcL/ubku68XF84DqBB+w2t9/i/QdtTRnRNiGJZY61eS0wE9W8qTNz1pUXWz GwpN23e9CVdbfyCt0TjlqoAXlj5BZZNPDP+CirWAalrEkE3rlIWgJJuvm3QFv91zQmfFO7 pwTgUZILeO3kTwoTIq5ilSpmWc46FiUeMH4gL7nwRdg1QXaqqQabtTHuEDJ404oo6Nqdjo TNj6ps0BOtydgJTaJY9KI4MHFWlvA/wKXg0eXn+2oMpkduTcP6YrWPtixuFBLBSAiH4Ic+ NgNClCE955rhZheXOwJpFNND90g1ctF8ZluuIP1Q55yuRi9X+HffOT3fjftVKg== 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 9A7FC17570 for ; Thu, 2 May 2024 13:02:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2UCB-0004TG-Sw; Thu, 02 May 2024 07:01:47 -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 ) id 1s2UC7-0004RJ-7r for bug-guix@gnu.org; Thu, 02 May 2024 07:01:43 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2UC6-0003eq-QD for bug-guix@gnu.org; Thu, 02 May 2024 07:01:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2UCS-00071B-GP for bug-guix@gnu.org; Thu, 02 May 2024 07:02:04 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40316: [PATCH v2 6/6] gnu: nss: Disable FIPS in lowhashtest. Resent-From: Christina O'Donnell Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 02 May 2024 11:02:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40316 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 40316@debbugs.gnu.org Cc: Christina O'Donnell , zhengjunjie@iscas.ac.cn, vagrant@reproducible-builds.org, steve@futurile.net Received: via spool by 40316-submit@debbugs.gnu.org id=B40316.171464769226899 (code B ref 40316); Thu, 02 May 2024 11:02:04 +0000 Received: (at 40316) by debbugs.gnu.org; 2 May 2024 11:01:32 +0000 Received: from localhost ([127.0.0.1]:43064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2UBv-0006zk-Kz for submit@debbugs.gnu.org; Thu, 02 May 2024 07:01:31 -0400 Received: from vmi993448.contaboserver.net ([194.163.141.236]:33038 helo=mutix.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2UBq-0006yc-9I for 40316@debbugs.gnu.org; Thu, 02 May 2024 07:01:27 -0400 Received: from [86.132.246.87] (host81-152-149-149.range81-152.btcentralplus.com [81.152.149.149]) (Authenticated sender: cdo) by mutix.org (Postfix) with ESMTPSA id 357F5A63B4C; Thu, 2 May 2024 13:01:01 +0200 (CEST) From: Christina O'Donnell Date: Thu, 2 May 2024 12:00:50 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <5ac99f62f8c43d2df3f64cd77ccbe0540dd82269.1714647502.git.cdo@mutix.org> References: <5ac99f62f8c43d2df3f64cd77ccbe0540dd82269.1714647502.git.cdo@mutix.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.89 X-Spam-Score: -4.89 X-Migadu-Queue-Id: 9A7FC17570 X-Migadu-Scanner: mx13.migadu.com X-TUID: bWci7/W3N8Jk * gnu/packages/nss.scm (nss): Disable FIPS in lowhashtests. This is required as FIPS is inherently non-deterministic, making the build no longer reproducible. Change-Id: I2b294530b017285d0949a1082abaaf3a8fe1f6b5 --- gnu/packages/nss.scm | 3 +- .../nss-disable-fips-in-lowhashtest.patch | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/nss-disable-fips-in-lowhashtest.patch diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index 08e4cb06ee..02081c32e1 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -125,7 +125,8 @@ (define-public nss (patches (search-patches "nss-3.56-pkgconfig.patch" "nss-getcwd-nonnull.patch" "nss-increase-test-timeout.patch" - "nss-disable-shlibsign.patch")) + "nss-disable-shlibsign.patch" + "nss-disable-fips-in-lowhashtest.patch")) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/patches/nss-disable-fips-in-lowhashtest.patch b/gnu/packages/patches/nss-disable-fips-in-lowhashtest.patch new file mode 100644 index 0000000000..c8fc1e7e7a --- /dev/null +++ b/gnu/packages/patches/nss-disable-fips-in-lowhashtest.patch @@ -0,0 +1,28 @@ +From f32bd353c5b741d6da5811fd40681dda80799bfb Mon Sep 17 00:00:00 2001 +Message-ID: +From: Christina O'Donnell +Date: Wed, 1 May 2024 20:30:15 +0100 +Subject: [PATCH] nss: Disable FIPS in lowhashtest. + +--- + nss/tests/lowhash/lowhash.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/nss/tests/lowhash/lowhash.sh b/nss/tests/lowhash/lowhash.sh +index 2984b9b..9dcc89b 100755 +--- a/nss/tests/lowhash/lowhash.sh ++++ b/nss/tests/lowhash/lowhash.sh +@@ -63,7 +63,7 @@ lowhash_test() + else + TESTS="MD5 SHA1 SHA224 SHA256 SHA384 SHA512" + OLD_MODE=`echo ${NSS_FIPS}` +- for fips_mode in 0 1; do ++ for fips_mode in 0; do + echo "lowhashtest with fips mode=${fips_mode}" + export NSS_FIPS=${fips_mode} + for TEST in ${TESTS} + +base-commit: 85b7cf166687cbfaf3e3764ed1ea9bb3b9404ef0 +-- +2.41.0 + -- 2.41.0