From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 CBgrMjOXn2ZVUAEA62LTzQ:P1 (envelope-from ) for ; Tue, 23 Jul 2024 11:42:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CBgrMjOXn2ZVUAEA62LTzQ (envelope-from ) for ; Tue, 23 Jul 2024 13:42:43 +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=1721734963; 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; bh=dDcfUs3lcLnV4aFMj+lWkMt3FLBg+AqYZ+SFeENVfe0=; b=tuurBRZSn3AIM/TpKxSE4d95Lv59YtI51NV+g3xIHf64UswNqAKpqZ6o6s/20e0maHbdSv awZtWInIfygC58nErHG6IdGHdwE7RdBARADBlEs9pumACxNLRsuVQax6xLQ532KzVOP0tv JbFCyhKcJnG2IXbH480EAFUlIMTYiW3L1KrDb3L3yLzdauS//Mp+om+Y5YLcqatn6nTQBY 5aSwqKa9Sj/1iqI9zkZN3g2nQVnjwVgw7YKmpG6S4xuZDIF+sxpFu3OcCwNk0Sj2+8bEsG Usi5pkD+9tHONLefsuXceNk9nSCL4fk91uCIfkAhvMMU1wmOzmWNjCIztt7jww== 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=1721734963; a=rsa-sha256; cv=none; b=HLqWZaY0FwEGvhdglP0DpncXlZsVdDpiDJjiWThiKbT1JE6IwuSKpHpQl3hkgqPyPf6Jwn WqvKT1kTnJDnXdMV0kaWxqpcQrjlZ/HA0/5vcqi1BjrWZ3S8VBx+TFwZPQOMsrmPmbqbkM iWwLdV/zFSdWl9kz5Bg+uE4nqi5WtNkTdrty1Y2Iq1uA9Hc5MsFXrothYkWcBpokdSGKR+ mvQdpe/zT8o1OE+vfViIFkd2J6Yod0RbFrQHvnCq/y7GTEW3k4sfCTZUajIww4xaYQA2V+ EdwVAIQJlXltZ6sFNt3BmlpCUQ7K5Xnc/uiwERI5mHnJbmUMglFjt/pvspUPXg== 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 78E6922FD0 for ; Tue, 23 Jul 2024 13:42:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWDuU-0007E8-Rp; Tue, 23 Jul 2024 07:42:27 -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 1sWDu5-0005eM-0F for bug-guix@gnu.org; Tue, 23 Jul 2024 07:42:06 -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 1sWDu2-0004D1-7M for bug-guix@gnu.org; Tue, 23 Jul 2024 07:41:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWDu6-0004CD-Fh for bug-guix@gnu.org; Tue, 23 Jul 2024 07:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72239: libfaketime (still) broken on i686-linux Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 Jul 2024 11:42:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Z572 <873216071@qq.com>, 72239@debbugs.gnu.org Received: via spool by 72239-submit@debbugs.gnu.org id=B72239.172173487816073 (code B ref 72239); Tue, 23 Jul 2024 11:42:02 +0000 Received: (at 72239) by debbugs.gnu.org; 23 Jul 2024 11:41:18 +0000 Received: from localhost ([127.0.0.1]:59373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWDtN-0004BB-La for submit@debbugs.gnu.org; Tue, 23 Jul 2024 07:41:18 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWDtJ-0004Ay-1I for 72239@debbugs.gnu.org; Tue, 23 Jul 2024 07:41:16 -0400 Received: from localhost (unknown [212.132.255.81]) by mira.cbaines.net (Postfix) with ESMTPSA id 9D25F27BBE2; Tue, 23 Jul 2024 12:40:35 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 727c0a80; Tue, 23 Jul 2024 11:40:34 +0000 (UTC) From: Christopher Baines In-Reply-To: <874j8gie4t.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 23 Jul 2024 12:41:54 +0200") References: <87ikwyl72s.fsf@inria.fr> <87cyn5lx9q.fsf@gnu.org> <87le1t60y0.fsf@cbaines.net> <874j8gie4t.fsf@gnu.org> User-Agent: mu4e 1.12.4; emacs 29.3 Date: Tue, 23 Jul 2024 12:40:32 +0100 Message-ID: <87h6cg5ob3.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: -8.51 X-Migadu-Queue-Id: 78E6922FD0 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.51 X-TUID: 3xpsJw0Z7iRZ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > 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 u= til_gtest freebl_gtest softoken_gtest sysinit_gtest smime_gtest mozpkix_gte= st > 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_P= TH_DBG.OBJ/bin/certutil -N -d /tmp/guix-build-nss-3.99.drv-0/nss-3.99/tests= _results/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_P= TH_DBG.OBJ/bin/certutil -S -z ../tests_noise -d /tmp/guix-build-nss-3.99.dr= v-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/test= s/gtests/../.. > log.good-++ set +x > log.good-gtests: base_gtest certhigh_gtest certdb_gtest der_gtest pk11_gt= est util_gtest freebl_gtest softoken_gtest sysinit_gtest smime_gtest mozpki= x_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_gl= ibc_PTH_DBG.OBJ/bin/certutil -N -d /tmp/guix-build-nss-3.99.drv-0/nss-3.99/= tests_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_gl= ibc_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 d= ummy -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? That looks good to me. In a related note, I was going to push the original patch yesterday, but I got stuck rebasing core-updates. There's some substantial rust changes on the branch which clash with master. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmaflrBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfAZQ//dRiugEitxQ2/GsoYYzDi3QFIgL5CwKO2 U+P5v3fkEFr/Hh/VaMJCUfNd81x2YnEJ6jRlXspHpO2QZZ9PsIh+VNTsUZmIFtfE gio/y485MQeH7kQUkt/4DBP71KDa4yrDAdFcn1GSopmb88Kyej+E7ds6ZfbXSWJ+ P+daJ5vnYnwSrcGSGweyv5yO7KTDZLRfyUvxIZSj62eouKa8Y+vEOqc8lXe91XJN /RXXXC0hWY9u0/G2/bn2AVPImlqgJwgXuqb3BrxZnP1J4mbKgtbEH2KDcqsJUaj9 IpiUGk1EzjOrNkfmzJSDhy6a6Yz2GM8j1eNcdqH2cZxONon9hesAQDAWEmOVquck E0AXfVMBTgX0E0rUyFa9+v9tE2p6zf82LcM7RFUUFKy3WY2nKdtN9ts4HRTVhD30 /6zH5K9+me6F1A1okdXGRv1M+pmhRVnV1z1nOkRO/gdR6bseQlexiKjSEyFYW8Ob 1uVePa+XhhDt+LnCu6JhrvfRVMA0Vmn4DAnNgCxnciFQhiC97zsflpMgfz5Q3gG0 qOM5/Rt5mmRI+dVVcI6d7uIJh75jFkwpHq+1aNLZM06pQ6Tu3ohQV3tnvOoW1F0A uDdW1zpie6WxveHmtGRh+mNm1PRr1U2fES32PjlYHQw1oFtSwJfjysr9R0sIucpS iPAaZfGGHrA= =77jz -----END PGP SIGNATURE----- --=-=-=--