From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gIDtKsZWf2LtXgEAbAwnHQ (envelope-from ) for ; Sat, 14 May 2022 09:14:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UEfpKcZWf2KtngAAG6o9tA (envelope-from ) for ; Sat, 14 May 2022 09:14:14 +0200 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 4201722E1A for ; Sat, 14 May 2022 09:14:14 +0200 (CEST) Received: from localhost ([::1]:35024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nplye-0007HR-LF for larch@yhetil.org; Sat, 14 May 2022 03:14:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npluc-0003wK-R1 for guix-patches@gnu.org; Sat, 14 May 2022 03:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npluc-0001mH-Hk for guix-patches@gnu.org; Sat, 14 May 2022 03:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npluc-0003YU-BA for guix-patches@gnu.org; Sat, 14 May 2022 03:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55242] [PATCH 01/10] guix: import: Print the number of packages at the end. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 May 2022 07:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Attila Lendvai , 55242@debbugs.gnu.org Received: via spool by 55242-submit@debbugs.gnu.org id=B55242.165251215113578 (code B ref 55242); Sat, 14 May 2022 07:10:02 +0000 Received: (at 55242) by debbugs.gnu.org; 14 May 2022 07:09:11 +0000 Received: from localhost ([127.0.0.1]:45637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npltm-0003Ww-RW for submit@debbugs.gnu.org; Sat, 14 May 2022 03:09:11 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:38184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npltk-0003Wn-PX for 55242@debbugs.gnu.org; Sat, 14 May 2022 03:09:09 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id WX962700V4UW6Th01X97YG; Sat, 14 May 2022 09:09:07 +0200 Message-ID: <0bd2cbbbca8758572a906796fa1819b0c3d7e945.camel@telenet.be> From: Maxime Devos Date: Sat, 14 May 2022 09:09:02 +0200 In-Reply-To: <20220503111620.3139-1-attila@lendvai.name> References: <20220503111620.3139-1-attila@lendvai.name> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-o5hwpcEG7MiZ9ZFrTmT0" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1652512147; bh=vUeBAaLPpWv69XLGXJ9QCCHG43JuqmlA2eQ1Yoc4daI=; h=Subject:From:To:Date:In-Reply-To:References; b=hk6/vK6/+SDB4I6SyqcOHrmxIHZr+34Js+emGmV2VJOd/6Gc7zLIcnJz9bjpK7bKZ NT5oCvTBNsCHQEUOmXfbQhbiOtGCreV5nJpS9x8iGB1TWpUjXjxV2X0y4CqrCG59Ne 7QcJCWQ5d779aXxnkdwEZfDmBzk1y5KUtuMVxGMiOTBnJlXCGuQIq9A3fb3j9plCiv WzHgPSPsRY2YotOQvvEMj1qdCPdGE2hTd/UzBG5IzlpXv7zl+u4pp7eC/fFXx3Pkza fayEbqMpH30CL8HCjywAtJlYgNTallBZFt0pXY0tlSCIamZwWR0qGXDNV9t2tBhsxH DaZFE1YghxieQ== 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652512454; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=vUeBAaLPpWv69XLGXJ9QCCHG43JuqmlA2eQ1Yoc4daI=; b=IrYa1L89dqHaAIqY5HZ4DyB6SJFfwWMW7KiDJSaEilHtl5bYZRkhI71rCkqm5pv4h7z5oW 85haPMS4qLvBaEJIhLwBywQBPKV8Rw62y177A3lWh6mWOKVoMAPZIwGkQPN5D1pBJ3QM8j cEgZi1P4IiUoNJ3qB8yt3V+M/EqIOssCJr6ndzY0yVUqlPJI3a6guw8OlqdpbzxXLnZUwu vFl8yIifaTXwVoOUSfJmpsHsQjgwEhcb7uTPnxXRTrxFZ/LI2G3VtEm1LLaE77wt+uYGgM iR5BbxtIfMqMNMIAO1+l8G6aMWOif1mUWj4wJNAeow+Il1P4gM05FM6S+1OCvg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652512454; a=rsa-sha256; cv=none; b=mV1DtOsZPzKu5XVYsIUrNlLZYeaR0vnyronj2LBQhteVci5+slJMsjrZQZMpYDdMzO6Q9s 0InkSymhyOrJ+JlD+8NrwI8VXRlCIJPBrm2DVpKlvajinyyxc6UGFqp92YOkn1Umt59Wyg fze3To3i/YbM7BP4LhjEhL5dav25UZU2SbUIBqKSuux6FHH1SdL5cdfegbvSiu2Aus9rIk Gk1ry9hwm6ahtycNkY564fDf6i+RalsucjGn+HGUBifTjLDU3JV20RyEeRd7ZexyxLGDkJ 5juImGroGCnq1Wi1WU/xG7ZesRf2Z/h05I2ArtHmhS5pSr22ePPuPI/32Q4KZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="hk6/vK6/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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" X-Migadu-Spam-Score: 3.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="hk6/vK6/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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" X-Migadu-Queue-Id: 4201722E1A X-Spam-Score: 3.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9s2mGt1Dvn1g --=-o5hwpcEG7MiZ9ZFrTmT0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I forgot that "guix build" already does some debug logging when passed "--verbose" or "--debug". Maybe "guix import ..." can gain a similar=C2=A0 system. I don't know if the internals are reusable though ... (I'm not convinced that we need logging for "guix import" but I'm not convinced of the contrary either, and there is already some kind of debug logging system elsewhere.) > here's how i was working on this codebase: >=20 > RUN=3D12 > clear && ./pre-inst-env guix import go -r --pin-versions =20 > github.com/ethersphere/bee@v1.5.1 > >(tee -a > ~/workspace/guix/importing/bee-run-${RUN}.scm) 2> >(tee -a > ~/workspace/guix/importing/bee-run-${RUN}.log >&2) && beep >=20 FWIW, for these kind of things I do while ./pre-inst-env guix some-command; do echo 'Next'; done and for your case (broken output without errors), maybe while true; do echo 'Next run' >> the-log-file && ./pre-inst-env guix som= e-command >> the-log-file; done Greetings, Maxime. --=-o5hwpcEG7MiZ9ZFrTmT0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYn9VjhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gELAP936Cyd3oOg6VZlpzAzmsjxK9PH Kc8j07HJYpSVepmGfwD/aSFI7+wiWBHcAfVePqPrmRTggATJ2yfHExkmKEAPrwI= =5Jil -----END PGP SIGNATURE----- --=-o5hwpcEG7MiZ9ZFrTmT0--