From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Castillo Subject: bug#31456: guix size tries to fetch substitute information for installed package. Date: Tue, 15 May 2018 12:19:12 +0200 Message-ID: References: <93858c2d-4b9b-78e6-5fdd-aa32a921f6df@uni-bremen.de> <87tvr9joal.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lSmuqurLCJwm31AkvYO5LAX7eETXmVyd8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIX3t-0001aN-IV for bug-guix@gnu.org; Tue, 15 May 2018 06:20:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIX3q-0005g3-Bt for bug-guix@gnu.org; Tue, 15 May 2018 06:20:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIX3q-0005fv-8Y for bug-guix@gnu.org; Tue, 15 May 2018 06:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fIX3q-0003gC-1T for bug-guix@gnu.org; Tue, 15 May 2018 06:20:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tvr9joal.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31456@debbugs.gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lSmuqurLCJwm31AkvYO5LAX7eETXmVyd8 Content-Type: multipart/mixed; boundary="GlY7DHGXajw7ou74qTCTFVurPwZnuJYXM"; protected-headers="v1" From: Martin Castillo To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: 31456@debbugs.gnu.org Message-ID: Subject: Re: bug#31456: guix size tries to fetch substitute information for installed package. References: <93858c2d-4b9b-78e6-5fdd-aa32a921f6df@uni-bremen.de> <87tvr9joal.fsf@gnu.org> In-Reply-To: <87tvr9joal.fsf@gnu.org> --GlY7DHGXajw7ou74qTCTFVurPwZnuJYXM Content-Type: multipart/mixed; boundary="------------B1531C120D8368E0F26D8852" Content-Language: en-US This is a multi-part message in MIME format. --------------B1531C120D8368E0F26D8852 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > Exactly. So I don=E2=80=99t think it=E2=80=99s a bug per se, just that= no substitutes > were unavailable when you checked. The documentation gives me the impression that it should work without substitutes, when I have the package installed. >=20 > I think we can close the bug, WDYT? I think guix size should automatically search for the grafted version, unless there is a technical reason/another use-case for guix size that I'm not aware of, for which it makes more sense to use the ungrafted version. If that's the case, maybe say that in the documentation? --=20 GPG: 7FDE 7190 2F73 2C50 236E 403D CC13 48F1 E644 08EC --------------B1531C120D8368E0F26D8852 Content-Type: text/x-patch; name="0001-doc-Add-note-to-guix-size.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-doc-Add-note-to-guix-size.patch" =46rom 337bf474edc91c09bf172091ed2c6ec4cb6e5f94 Mon Sep 17 00:00:00 2001 From: Martin Castillo Date: Tue, 15 May 2018 12:14:18 +0200 Subject: [PATCH] doc: Add note to guix size * doc/guix.texi (Invoking guix size): Note that guix size ignores grafted packages in the store. --- doc/guix.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index a771ab7ae..72768b8cc 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6945,7 +6945,8 @@ When the package passed to @command{guix size} is a= vailable in the store, @command{guix size} queries the daemon to determine its dependencies, and measures its size in the store, similar to @command{du= -ms --apparent-size} (@pxref{du invocation,,, coreutils, GNU -Coreutils}). +Coreutils}). Note that @command{guix size} only looks for the +ungrafted package. =20 When the given package is @emph{not} in the store, @command{guix size} reports information based on the available substitutes --=20 2.17.0 --------------B1531C120D8368E0F26D8852-- --GlY7DHGXajw7ou74qTCTFVurPwZnuJYXM-- --lSmuqurLCJwm31AkvYO5LAX7eETXmVyd8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE61CTslYA+K5btSvb61vedmKoYVkFAlr6tCYACgkQ61vedmKo YVlInQf+MY1yhen0oZw6r2iSTUOgqAwKmde3HWbYeaaxsyJeBtQ8tVtDYrKFmeB3 Ut45c26WP2MtBT27knCcKFioLEFsZRJXF4R3ZHcc3u+W4mk3LZ72uPBEqe8AMIjS SKQT792ZzvVUtgpjU7tfggPeiHaXc50Ebpm6dyGFmI3QZTposlpGMQOr7e5RI848 Db1utaQ/5hQXyLMxvNB3p7YXa37+wTbzyLlPR776gG2s8vrfBR6xjByu8YKIxenB NMO7flN2EDmFtI7z6F6/hwazURiG7zFR2W4YkBuYUh4vbtlWWtMAd3Qk5Ouc5/Co hJwAq2XBHLgwxxHfrLk0jBybi2fU2Q== =zLec -----END PGP SIGNATURE----- --lSmuqurLCJwm31AkvYO5LAX7eETXmVyd8--