From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gCEMJYuri2YhxAAA62LTzQ:P1 (envelope-from ) for ; Mon, 08 Jul 2024 09:04:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gCEMJYuri2YhxAAA62LTzQ (envelope-from ) for ; Mon, 08 Jul 2024 11:04:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-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=1720429451; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Bqa3lVly9Gqr6jc4fmHTz2paTgSq1sIlEmTDxxE7EMI=; b=eiez+DNUCMFoab5x25Y4rfkLo9XOZ9COWW/whJENO9VasHhMWZVwdnIVffwF2qTYcjEr2r 2btNaDZPlY3FCq0YLmfjb+VvkDZ2SZJ4POx1cA6MBfWr+mq32rruMzM/csHSoTOdGH7H1F IVf0aWB5US3n07/qZbaZVVqMPDJO/gBd4lp5KHxPXIR7fPOHuLtukMhmHV0k2eZODxC1vj IMIV5D3Gi9rSeBC+tVbdEgbbQBS1FdbR1FB5dlFWSuZWA3lBRL/wf3KRhZTFgI2EVpmngW ZxZLvJvXDCa2jU7AUQxIZB/9EFPmjCYeTus+70OgV/Cq8Znl6H+jEJ/Le7qV8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720429451; a=rsa-sha256; cv=none; b=uOprIkoqPduomW9DypTqjOa6oaHkQDD2/3+a1gkOVQ3QgawhFyIx9tuexVSWFcd7codKzH n9grwtqy9giOidsKVwvtx0wW14df8xWbklFoa5Yxdcz1NRWlbstvg4g0UC0Qt2oDENk07a rTOMGVnbuZUUtBM0ivKXrefKDlnL/Pc0chBp42LwUCl0i5ATah2MRntXn6KgGMgLMUzN9M dYi3ttvYCQgiisKWLkNifMTccwlXG9z64R7Mf+f9oTE8/i0u3Yx0SCb3qogPkRnAqv8VCR 3SMCOQhpXmDAfZZuvEvPnGbA/aVtZaFnDtmq7XNYFZKZpVx9Bs3vcg2FecXAKg== 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 448DD54992 for ; Mon, 8 Jul 2024 11:04:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQkHu-0006LU-S7; Mon, 08 Jul 2024 05:03:58 -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 1sQkHt-0006LM-Sw for guix-patches@gnu.org; Mon, 08 Jul 2024 05:03:57 -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 1sQkHt-0000sM-KG for guix-patches@gnu.org; Mon, 08 Jul 2024 05:03:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQkHy-00085p-Bj for guix-patches@gnu.org; Mon, 08 Jul 2024 05:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71993] [PATCH core-updates 1/2] gnu: nss: Don't use libfaketime on 32bit systems. References: <87bk389sop.fsf@cbaines.net> In-Reply-To: <87bk389sop.fsf@cbaines.net> Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jul 2024 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71993 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71993@debbugs.gnu.org Received: via spool by 71993-submit@debbugs.gnu.org id=B71993.172042942431081 (code B ref 71993); Mon, 08 Jul 2024 09:04:02 +0000 Received: (at 71993) by debbugs.gnu.org; 8 Jul 2024 09:03:44 +0000 Received: from localhost ([127.0.0.1]:49663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQkHg-00085C-Dg for submit@debbugs.gnu.org; Mon, 08 Jul 2024 05:03:44 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQkHd-00084v-Ta for 71993@debbugs.gnu.org; Mon, 08 Jul 2024 05:03:42 -0400 Received: from localhost (unknown [85.118.37.71]) by mira.cbaines.net (Postfix) with ESMTPSA id E3D3A27BBE2 for <71993@debbugs.gnu.org>; Mon, 8 Jul 2024 10:03:35 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 9ad91a8b for <71993@debbugs.gnu.org>; Mon, 8 Jul 2024 09:03:35 +0000 (UTC) From: Christopher Baines Date: Mon, 8 Jul 2024 11:03:33 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 448DD54992 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.89 X-Spam-Score: -4.89 X-TUID: NtGUU5q6rkMW As it fails to build and doesn't seem to work. * gnu/packages/nss.scm (nss)[arguments]: Only use faketime on 64bit systems. [native-inputs]: Only include libfaketime on 64bit systems. Change-Id: I78bc9b7b2010e5b77f6184ffb7c87740ceae241c --- gnu/packages/nss.scm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index 49276817ae..2162254760 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -215,7 +215,12 @@ (define-public nss ;; leading to test failures: ;; . To ;; work around that, set the time to roughly the release date. - (invoke "faketime" "2024-01-23" "./nss/tests/all.sh")) + (invoke #$@(if (target-64bit?) + '("faketime" "2024-01-23") + ;; libfaketime is currently broken on 32bit + ;; systems + '()) + "./nss/tests/all.sh")) (format #t "test suite not run~%")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) @@ -240,7 +245,13 @@ (define-public nss (copy-recursively (string-append obj "/lib") lib))))))) (inputs (list sqlite zlib)) (propagated-inputs (list nspr)) ;required by nss.pc. - (native-inputs (list perl libfaketime which)) ;for tests + (native-inputs + `(,perl + ,@(if (target-64bit?) + (list libfaketime) + ;; libfaketime is currently broken on 32bit systems + '()) + ,which)) ;for tests ;; The NSS test suite takes around 48 hours on Loongson 3A (MIPS) when ;; another build is happening concurrently on the same machine. base-commit: 75b4a29e12011ae3d1814932591e80dcb0b80aae -- 2.45.2