From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yCc+MU6Jn2azLAEAqHPOHw:P1 (envelope-from ) for ; Tue, 23 Jul 2024 10:43:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yCc+MU6Jn2azLAEAqHPOHw (envelope-from ) for ; Tue, 23 Jul 2024 12:43:26 +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=qNKxnfVL; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721731406; 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: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=dcpakSBaCs6UNA5d6/Z1cVJZlaQ1WHq/gIakKIQpQOw=; b=IQCRY6Y2p3+zk5Tv8sZyT5fxxpKB+D8hXlUatKyZn0CMa1ZGzW4CU9dpRcGtYoJGdxHvRO 1YvRgJ9XVt5GX8daut6RF9Dt3ZhwLWpZmx9sdt1O/mnw7TBs43HQdrtcQXl6vn1fYVYE82 oAKtVO4XznjMpHIL+kxffQ9ll36j8DBc7VdgCIN4Fb/MAuryVU4imORwG7ei1X5bjNzF9X 8OoyBLR6PkhoiIRTpVAeE8Zyv0JZ5Yb4h3SbwoQlURWZ5/VnBDLJAKBiEodFLPpYLOuO1Q 2ufL//4747EkWyt74x6yyGVyXMiapErLCZCLWL1uAWzJ+bgdEaNLhx2QrJa6Eg== 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=qNKxnfVL; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721731406; a=rsa-sha256; cv=none; b=j662B04WhF/Y2Gln3NfU1CMGCa31o17UjhlxoavaJR7QfRSifwuYnU6fqZTHtzm6YYtIIW Of1ypPdlhjXWmftcd6HHZj0X5OJAHOfJIt1mHX7YJXEiAQmIWEtIxNwvEsOoojPjTsupnv E2YDY8aaW72RGxqcp5nJxhWKGCztrU0rWyNE6R8bSDJFWlSa3LsCHroKSMLaNbVeRUS0CY tzVJBGLhJ8PYAsRMZFqQV6dWq0wGfnev/l+rrWNK21ZNwGqm5Y0FfCs2Krc1FqdyzZBtZw unPrlwJGOXbxofhyIUBVe5GU4jjwPWEMfYVKnpfw0PIDcIA8CPNiu8qF3VT1Pg== 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 5F241F22B for ; Tue, 23 Jul 2024 12:43:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWCyw-0006Zh-M4; Tue, 23 Jul 2024 06:42: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 1sWCyv-0006ZK-RX for bug-guix@gnu.org; Tue, 23 Jul 2024 06:42: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 1sWCyv-0007Du-JX for bug-guix@gnu.org; Tue, 23 Jul 2024 06:42:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWCyz-0008JI-Sd for bug-guix@gnu.org; Tue, 23 Jul 2024 06:43: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 10:43: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.172173133131888 (code B ref 72239); Tue, 23 Jul 2024 10:43:01 +0000 Received: (at 72239) by debbugs.gnu.org; 23 Jul 2024 10:42:11 +0000 Received: from localhost ([127.0.0.1]:59285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWCyA-0008IG-UA for submit@debbugs.gnu.org; Tue, 23 Jul 2024 06:42:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWCy9-0008I3-AE for 72239@debbugs.gnu.org; Tue, 23 Jul 2024 06:42:10 -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 1sWCxx-00071F-UZ; Tue, 23 Jul 2024 06:41:57 -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=dcpakSBaCs6UNA5d6/Z1cVJZlaQ1WHq/gIakKIQpQOw=; b=qNKxnfVL6e151mUVc8B8 rSD8XvQOfiUB5F5TdWOTfQSFaB8MMWb14V4lrin2Evyw9nRpu/MQgB5Gxs9/ruQmwHX0MnchJ9ef/ n6Gdx1FZ7zQssHYsWYGTy/FzRl/bkDhUZ1UWQusHB9/zwfoD8EbGOAkNf1bRe3jCUq9s6BxXCbl1H EUSJYUfQlOVtNeq6jtY76K0v4xXx866PP/mdMblv0qwcWB4rtCyAJwLzzfydM84M+ht0fAnAJWXeO vg2KR8RF/vaacbLx9EpWsGCrec3iGLUhbN7g6kKT5Ft8/Y1XdDe864CgpwdSBqgXZFIz9eSAkR54N atXtqzqTRJxKfg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87le1t60y0.fsf@cbaines.net> (Christopher Baines's message of "Mon, 22 Jul 2024 13:55:19 +0100") References: <87ikwyl72s.fsf@inria.fr> <87cyn5lx9q.fsf@gnu.org> <87le1t60y0.fsf@cbaines.net> Date: Tue, 23 Jul 2024 12:41:54 +0200 Message-ID: <874j8gie4t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.81 X-Migadu-Queue-Id: 5F241F22B X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.81 X-TUID: vgJAGGK3GvyO Hi! Christopher Baines skribis: > When running without datefudge, the tests work and the cd in gtests.sh > seems to fail: > > Running tests for gtests > TIMESTAMP gtests BEGIN: Mon Jul 22 10:09:27 UTC 2024 > ./gtests.sh: line 25: cd: ./nss/tests: No such file or directory > /tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests/gtests > > But when running with datefudge, the cd seems to work, but the tests > fail: > > Running tests for gtests > TIMESTAMP gtests BEGIN: Tue Jan 23 00:00:01 UTC 2024 > /tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests I added =E2=80=98set -x=E2=80=99 in =E2=80=98gtests.sh=E2=80=99. With =E2= =80=98datefudge=E2=80=99, it goes like this: --8<---------------cut here---------------start------------->8--- log-Running tests for gtests log-TIMESTAMP gtests BEGIN: Tue Jan 23 00:00:00 CET 2024 log-++ echo FOOOOO log-FOOOOO log-+++ dirname /tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests/all.sh log-++ cd /tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests log-++ pwd log-/tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests log:++ SOURCE_DIR=3D/tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests/../.. log-++ set +x log-gtests: base_gtest certhigh_gtest certdb_gtest der_gtest pk11_gtest uti= l_gtest freebl_gtest softoken_gtest sysinit_gtest smime_gtest mozpkix_gtest log-gtests.sh: base_gtest =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D log-/tmp/guix-build-nss-3.99.drv-0/nss-3.99/dist/Linux6.9_x86_gcc_glibc_PTH= _DBG.OBJ/bin/certutil -N -d /tmp/guix-build-nss-3.99.drv-0/nss-3.99/tests_r= esults/security/guix-hpc5.7/gtests/base_gtest --empty-password log-/tmp/guix-build-nss-3.99.drv-0/nss-3.99/dist/Linux6.9_x86_gcc_glibc_PTH= _DBG.OBJ/bin/certutil -S -z ../tests_noise -d /tmp/guix-build-nss-3.99.drv-= 0/nss-3.99/tests_results/security/guix-hpc5.7/gtests/base_gtest -n dummy -s= CN=3Ddummy -t ,, -x -m 1 -w -2 -v 120 -k ec -q nistp256 -Z SHA256 -1 -2 log- log- log-Generating key. This may take a few moments... --8<---------------cut here---------------end--------------->8--- *Without* =E2=80=98datefudge=E2=80=99: --8<---------------cut here---------------start------------->8--- log.good-TIMESTAMP gtests BEGIN: Tue Jul 23 12:37:50 CEST 2024 log.good-++ echo FOOOOO log.good-FOOOOO log.good-+++ dirname ./nss/tests/all.sh log.good-++ cd ./nss/tests log.good-./gtests.sh: line 27: cd: ./nss/tests: No such file or directory log.good-++ pwd log.good-/tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests/gtests log.good:++ SOURCE_DIR=3D/tmp/guix-build-nss-3.99.drv-0/nss-3.99/nss/tests/= gtests/../.. log.good-++ set +x log.good-gtests: base_gtest certhigh_gtest certdb_gtest der_gtest pk11_gtes= t util_gtest freebl_gtest softoken_gtest sysinit_gtest smime_gtest mozpkix_= gtest log.good-gtests.sh: base_gtest =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D log.good-/tmp/guix-build-nss-3.99.drv-0/nss-3.99/dist/Linux6.9_x86_gcc_glib= c_PTH_DBG.OBJ/bin/certutil -N -d /tmp/guix-build-nss-3.99.drv-0/nss-3.99/te= sts_results/security/guix-hpc5.6/gtests/base_gtest --empty-password log.good-/tmp/guix-build-nss-3.99.drv-0/nss-3.99/dist/Linux6.9_x86_gcc_glib= c_PTH_DBG.OBJ/bin/certutil -S -z ../tests_noise -d /tmp/guix-build-nss-3.99= .drv-0/nss-3.99/tests_results/security/guix-hpc5.6/gtests/base_gtest -n dum= my -s CN=3Ddummy -t ,, -x -m 1 -w -2 -v 120 -k ec -q nistp256 -Z SHA256 -1 = -2 log.good- log.good- log.good-Generating key. This may take a few moments... --8<---------------cut here---------------end--------------->8--- In the latter case, the scripts gets a relative file name, which makes it fail to cd, which then makes it succeed by chance. This script looks extremely fragile. My suggestion would be to: (substitute* "nss/tests/gtests/gtests.sh" (("SOURCE_DIR=3D.*") (string-append "SOURCE_DIR=3D" (getcwd) "/nss\n"))) WDYT? (There=E2=80=99s a tension between getting a reasonably good understanding = of what=E2=80=99s happening and moving forward!) Ludo=E2=80=99.