From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mDs2Mu27uV6DDQAA0tVLHw (envelope-from ) for ; Mon, 11 May 2020 20:56:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UAulNvu7uV4hVAAAB5/wlQ (envelope-from ) for ; Mon, 11 May 2020 20:56:27 +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 74775940DB8 for ; Mon, 11 May 2020 20:56:25 +0000 (UTC) Received: from localhost ([::1]:55952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYFTO-00059K-4Y for larch@yhetil.org; Mon, 11 May 2020 16:56:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYFT0-00058L-Jl for guix-patches@gnu.org; Mon, 11 May 2020 16:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYFT0-0006uz-9Y for guix-patches@gnu.org; Mon, 11 May 2020 16:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYFT0-00033E-7F for guix-patches@gnu.org; Mon, 11 May 2020 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41164] [PATCH 0/3] Add 'guix graph --path' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 May 2020 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41164 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 41164@debbugs.gnu.org Received: via spool by 41164-submit@debbugs.gnu.org id=B41164.158923053611688 (code B ref 41164); Mon, 11 May 2020 20:56:02 +0000 Received: (at 41164) by debbugs.gnu.org; 11 May 2020 20:55:36 +0000 Received: from localhost ([127.0.0.1]:53455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYFSZ-00032S-VY for submit@debbugs.gnu.org; Mon, 11 May 2020 16:55:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYFSY-00032D-Mx for 41164@debbugs.gnu.org; Mon, 11 May 2020 16:55:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53072) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYFST-0006io-BR; Mon, 11 May 2020 16:55:29 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39074 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jYFSS-0000do-EF; Mon, 11 May 2020 16:55:28 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200509230401.28364-1-ludo@gnu.org> <873687an8u.fsf@gnu.org> <87r1vqir7f.fsf@gnu.org> Date: Mon, 11 May 2020 22:55:26 +0200 In-Reply-To: (zimoun's message of "Mon, 11 May 2020 16:02:05 +0200") Message-ID: <87a72efayp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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: scn0 X-Spam-Score: -1.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Scan-Result: default: False [-1.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.540107800066]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.07), country: US(-0.00), ip: 209.51.188.17(-0.54)]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[ludo@gnu.org,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:email,0.0.0.9:email]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gnu.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RCVD_TLS_LAST(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.9:email]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: nSdpnkWM8rlw Hi, zimoun skribis: > On Mon, 11 May 2020 at 14:36, Ludovic Court=C3=A8s wrote: > >> zimoun skribis: >> >> > ./pre-inst-env guix graph --path -t references libreoffice llvm >> > guix graph: error: no path from >> > '/gnu/store/rd24gl402vy5g5sm3azhq13mwdg5fbi1-libreoffice-6.4.2.2' to >> > '/gnu/store/bcgnx704v408sr7lcy480wcnbkcixwrw-llvm-10.0.0-opt-viewer' >> >> There=E2=80=99s a path to llvm@9 though. > > Well, I do not know if the issue is not about the "outputs" 'out' vs > 'opt-viewer'. I probably do not understand how 'references' works but > 'dbus' is an 'inputs' of 'vlc' and: > > ./pre-inst-env guix graph --path vlc -t references dbus > guix graph: error: no path from > '/gnu/store/2qk6h97bhm5zii59005ws5qk6drhdp3b-vlc-3.0.10' to > '/gnu/store/6a65in084gfn5bbgyna179irhghvqfpy-dbus-1.12.16-doc' You=E2=80=99re doing it right, but the =E2=80=98dbus=E2=80=99 package has t= wo outputs and the thing just picks the first one, which is not the one you=E2=80=99re interes= ted in. I=E2=80=99ll check if we can just arrange to parse outputs instead of packa= ges. Thanks, Ludo=E2=80=99.