From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id rlOzEFs+oV+bIQAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 11:26:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oDsEDFs+oV9bJAAAbx9fmQ (envelope-from ) for ; Tue, 03 Nov 2020 11:26:19 +0000 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 5B1109403D3 for ; Tue, 3 Nov 2020 11:26:18 +0000 (UTC) Received: from localhost ([::1]:44224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZuS8-0001sC-0w for larch@yhetil.org; Tue, 03 Nov 2020 06:26:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZuRu-0001lQ-RX for guix-patches@gnu.org; Tue, 03 Nov 2020 06:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZuRu-0006OB-H9 for guix-patches@gnu.org; Tue, 03 Nov 2020 06:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZuRu-0003AZ-E7 for guix-patches@gnu.org; Tue, 03 Nov 2020 06:26:02 -0500 Subject: bug#44344: [PATCH] guix: describe: Improve package provenance tracking. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 03 Nov 2020 11:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44344 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 44344-close@debbugs.gnu.org Mail-Followup-To: 44344@debbugs.gnu.org, julien@lepiller.eu, julien@lepiller.eu Received: via spool by 44344-done@debbugs.gnu.org id=D44344.160440273712149 (code D ref 44344); Tue, 03 Nov 2020 11:26:02 +0000 Received: (at 44344-close) by debbugs.gnu.org; 3 Nov 2020 11:25:37 +0000 Received: from localhost ([127.0.0.1]:43604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZuRV-00039s-6T for submit@debbugs.gnu.org; Tue, 03 Nov 2020 06:25:37 -0500 Received: from lepiller.eu ([89.234.186.109]:51932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZuRR-00039f-DR for 44344-close@debbugs.gnu.org; Tue, 03 Nov 2020 06:25:35 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 14bbf004; Tue, 3 Nov 2020 11:25:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:cc:from:message-id; s= dkim; bh=+ZSK3SqzplSRqrLiUekQw0c+mwO9tSfxmFOnMQJCvGA=; b=l5noyB5 ul/D5ffSm7dHy7F21wbGnmOGuyfcGd18wOXJwydvASZpLhNwEjY7r0pZ55099vKq kkA0Lr4i+rlIElbQc7Sidu5H8vdGBEbN4k3F0kHbn1a+SV+xuetB9cYUwufIoinO zXKJVa3RL/J81O2SqDpndu7vyodLRj7FnGROr0XO76sO7S/CWn5Urp7W86r0csj4 Lux+epEKO0Yl4+HKSAoHDwUiYlTbXefcT3gpUrDfSqBODioldhhqu1KF8AEcjuoK ZhMtto4aag0mvhLdRUev/z6/4VpswYE0gRmknsvnJ4H+W6jIyOUdHy8utHnkS6RA UPbdPsgCiX4/mcA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id f609651b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 3 Nov 2020 11:25:30 +0000 (UTC) Date: Tue, 03 Nov 2020 06:25:20 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <87d00uhk8u.fsf@gnu.org> References: <20201031144007.25531-1-julien@lepiller.eu> <87pn4ytiao.fsf@gnu.org> <20201101142919.5bcafefb@tachikoma.lepiller.eu> <87r1pbivl9.fsf@gnu.org> <87d00uhk8u.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=l5noyB5 ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: B2oqCjM7WGhE Le 3 novembre 2020 04:17:53 GMT-05:00, "Ludovic Court=C3=A8s" a =C3=A9crit : >Hi, > >Julien Lepiller skribis: > >> So it seems that I cannot reproduce che bug either when using guix >timekmachine and a channel that has not been pulled by guix=2E I suppose >in the case of timekmachine, it doesn't add ~/=2Econfig/guix to the >search path, so the information is found=2E >> >> Can you try pulling this channel with guix itself? You should be able >to reproduce then=2E > >I tried this and got the same result: > >--8<---------------cut here---------------start------------->8--- >$ guix pull -C /tmp/channels=2Escm -p /tmp/test >Updating channel 'guix-hpc' from Git repository at >'https://gitlab=2Einria=2Efr/guix-hpc/guix-hpc=2Egit'=2E=2E=2E >Updating channel 'guix' from Git repository at >'https://git=2Esavannah=2Egnu=2Eorg/git/guix=2Egit'=2E=2E=2E > >[=2E=2E=2E] > >$ /tmp/test/bin/guix repl >GNU Guile 3=2E0=2E4 >Copyright (C) 1995-2020 Free Software Foundation, Inc=2E > >Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'=2E >This program is free software, and you are welcome to redistribute it >under certain conditions; type `,show c' for details=2E > >Enter `,help' for help=2E >scheme@(guix-user)> ,use(guix) >scheme@(guix-user)> ,use(gnu) >scheme@(guix-user)> ,use(guix describe) >scheme@(guix-user)> ,use(inria storm) >scheme@(guix-user)> (package-provenance starpu) >$1 =3D ((repository (version 0) (url >"https://git=2Esavannah=2Egnu=2Eorg/git/guix=2Egit") (branch "master") (c= ommit >"7a9e68cc8750a9b378ae54a42d3e882a2e548c95") (introduction >(channel-introduction (version 0) (commit >"9edb3f66fd807b096b48283debdcddccfea34bad") (signer "BBB0 2DDF 2CEA >F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) (repository (version 0) (url >"https://gitlab=2Einria=2Efr/guix-hpc/guix-hpc=2Egit") (branch "master") >(commit "bf3afdd85c68ee022b863da72b90e0c304b11bee"))) >scheme@(guix-user)> ,use(gnu packages base) >scheme@(guix-user)> (package-provenance grep) >$2 =3D ((repository (version 0) (url >"https://git=2Esavannah=2Egnu=2Eorg/git/guix=2Egit") (branch "master") (c= ommit >"7a9e68cc8750a9b378ae54a42d3e882a2e548c95") (introduction >(channel-introduction (version 0) (commit >"9edb3f66fd807b096b48283debdcddccfea34bad") (signer "BBB0 2DDF 2CEA >F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) >--8<---------------cut here---------------end--------------->8--- > >Let me know if you can reproduce it somehow, otherwise we can close >this >issue=2E Ah! I found where the issue was=2E Since I'm using the guix home manager, = I added ~/=2Econfig/guix to my GUILE_LOAD_PATH, which is added to %load-pat= h very early, so for anything that's added afterwards, I get #f=2E The reas= on I had to extend GUILE_LOAD_PATH was to be able to use the guix home subc= ommand=2E Without it the command was not looked up with the correct search = path and was not found=2E > >Ludo=E2=80=99=2E