From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yD01JAodoGaF/wAAqHPOHw:P1 (envelope-from ) for ; Tue, 23 Jul 2024 21:13:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yD01JAodoGaF/wAAqHPOHw (envelope-from ) for ; Tue, 23 Jul 2024 23:13:46 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jrtvXI8e; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721769211; 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: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: dkim-signature; bh=V/5tlPNvjwWJPo7665lYnLs+p+wKfsBpdYwpYsIfqUw=; b=CX5vR4S+QIDFdXydL8tO7uJBFSMZ7Jmq3vx2P9BriRj9BBqJB1BH/s/ktytvp7hy0zpWt5 XsglTW/M0Fg+W1ru2vXm1WPy3oP01QW9hT4R90OJTiAJspXuCMcqUz3dNg3IoxAOuZUMIB /QUuGs8L/y4nsdQVdJ0W6Szmr+SJCxRyFvE+PofDxV3MXjv5emNY4DYiYvcBCgelUB7sLm JICengXs6+pKIzRW2WK/pBH4Puyzy9jXtrrHkeGh6bzRVIkgZa7Q3J5L4WgkFjWysty9fB cT7D7yTMk38LtIQ1uxpTyr3TTPr9s4aU57rBHfLd6C1MtL3QX7QNNWS8waDJfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721769211; a=rsa-sha256; cv=none; b=lAmOJNTbSDLldVeRo2Wg+x+kBvYl/eA6B1AZTRVaueMvMa6wAr5BhmnnGz6HeVahT6XHnC R63r80T4EspwqdRPoUPNW5k7qol5I2QIOnOCbB+zsK1rbmxKgloIkvWZvULN/ma1VDnnGU KMTboWmTufNU53FVPKuysuLy3xMAUWTaCT11/dHipQWrOrHwAEFYPQZvc/+B1m2Z67mXrn 6cH5lWguJdzk+hTnjLIp7eC+SP8b2+b0S3GsUxmWrbbzyIR9OvDZoT5f/NZjMi1+BXPKXk buXCVcKubvHmxTxlJOUM7mSTvsGfhOFjbH5aQe1oY5H1n/2zfbf7u07tcvXZGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jrtvXI8e; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 5155468BDF for ; Tue, 23 Jul 2024 23:13:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWMod-0004u2-8e; Tue, 23 Jul 2024 17:12:59 -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 1sWMob-0004o3-MB for bug-guix@gnu.org; Tue, 23 Jul 2024 17:12: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 1sWMob-0001Tl-ES for bug-guix@gnu.org; Tue, 23 Jul 2024 17:12:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWMof-0007se-Uy for bug-guix@gnu.org; Tue, 23 Jul 2024 17:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72239: libfaketime (still) broken on i686-linux Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 Jul 2024 21:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72239 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Z572 <873216071@qq.com>, 72239@debbugs.gnu.org Received: via spool by 72239-submit@debbugs.gnu.org id=B72239.172176912530190 (code B ref 72239); Tue, 23 Jul 2024 21:13:01 +0000 Received: (at 72239) by debbugs.gnu.org; 23 Jul 2024 21:12:05 +0000 Received: from localhost ([127.0.0.1]:60813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWMnk-0007qs-HM for submit@debbugs.gnu.org; Tue, 23 Jul 2024 17:12:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWMni-0007qN-1g for 72239@debbugs.gnu.org; Tue, 23 Jul 2024 17:12:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWMnU-0001Nx-1b; Tue, 23 Jul 2024 17:11:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=V/5tlPNvjwWJPo7665lYnLs+p+wKfsBpdYwpYsIfqUw=; b=jrtvXI8ejL3FFq56jm5B uVw3o58iB13awlg526N+2R8aaQ5GbDiUEOnmG6h4ezLYfZVn1p8YYRXJMuwbLk548ds56xxiDCiyK BvXfolUQTgRivqs/Qh4z7UarTcShQbaP/rKqETgRiq7gKLzzyooyEH5Z8F38RtIwJOJngA52WotEc JteLzT1tNzLDFOEeUI7rxA2N9ieu/skJdYtGTpyNqBBdKKgcphh2BPZ+dAnZjChvXa0yw0wfQxfp7 fBOJ3N4YCnTdIiFHuhysrzFrFapruU9V7SiUm5aLS9PXQf9XWNc7vCZ9uDyIF78mXZU4sBj6yqi9f J0SndlKv6D+tQQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87h6cg5ob3.fsf@cbaines.net> (Christopher Baines's message of "Tue, 23 Jul 2024 12:40:32 +0100") References: <87ikwyl72s.fsf@inria.fr> <87cyn5lx9q.fsf@gnu.org> <87le1t60y0.fsf@cbaines.net> <874j8gie4t.fsf@gnu.org> <87h6cg5ob3.fsf@cbaines.net> Date: Tue, 23 Jul 2024 23:11:43 +0200 Message-ID: <878qxrg6eo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-Queue-Id: 5155468BDF X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.32 X-Spam-Score: -7.32 X-TUID: BRsjWaMBymKL --=-=-= Content-Type: text/plain Hi, Christopher Baines skribis: >> My suggestion would be to: >> >> (substitute* "nss/tests/gtests/gtests.sh" >> (("SOURCE_DIR=.*") >> (string-append "SOURCE_DIR=" (getcwd) "/nss\n"))) >> >> WDYT? > > That looks good to me. I have tested the following patch and successfully built nss on i686-linux with it: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index 49276817ae..4b4d907e61 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -40,7 +40,8 @@ (define-module (gnu packages nss) #:use-module (gnu packages crates-io) #:use-module (gnu packages compression) #:use-module (gnu packages perl) - #:use-module (gnu packages sqlite)) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages time)) (define-public nspr (package @@ -211,11 +212,21 @@ (define-public nss (substitute* "nss/tests/dbtests/dbtests.sh" ((" -lt 5") " -lt 50")) + #$@(if (target-64bit?) + '() + ;; The script fails to determine the source + ;; directory when running under 'datefudge' (see + ;; ). Help it. + #~((substitute* "nss/tests/gtests/gtests.sh" + (("SOURCE_DIR=.*") + (string-append "SOURCE_DIR=" (getcwd) "/nss\n"))))) + ;; The "PayPalEE.cert" certificate expires every six months, ;; 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" "datefudge") + "2024-01-23" "./nss/tests/all.sh")) (format #t "test suite not run~%")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) @@ -240,7 +251,9 @@ (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 (list perl + (if (target-64bit?) libfaketime datefudge) + 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. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Go for it? Thanks, Ludo=E2=80=99. --=-=-=--