From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31456: guix size tries to fetch substitute information for installed package. Date: Tue, 15 May 2018 10:50:10 +0200 Message-ID: <87tvr9joal.fsf@gnu.org> References: <93858c2d-4b9b-78e6-5fdd-aa32a921f6df@uni-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIVfp-0001Zd-0S for bug-guix@gnu.org; Tue, 15 May 2018 04:51:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIVfi-0004A1-Sn for bug-guix@gnu.org; Tue, 15 May 2018 04:51:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIVfi-00049t-OT for bug-guix@gnu.org; Tue, 15 May 2018 04:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fIVfi-00084L-Hf for bug-guix@gnu.org; Tue, 15 May 2018 04:51:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Martin Castillo's message of "Tue, 15 May 2018 00:22:17 +0200") 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: Martin Castillo Cc: 31456@debbugs.gnu.org Hello, Martin Castillo skribis: > On 14.05.2018 22:10, Martin Castillo wrote: >> I'm on guix 563ab27bd4caead5676bbd515c54b25100c98960 on guixsd. >> $ guix package -I; contains >> lilypond 2.19.80 out >> /gnu/store/jhmz7wpb93hryzqq32kcb4fs9cd84jyi-lilypond-2.19.80 >> I installed lilypond with that guix version. >>=20 >> $ guix size lilypond; gives me >> guix size: error: no available substitute information for >> '/gnu/store/6zyrglcmk8l4xpwvg6hgq1al81d7fr1w-lilypond-2.19.80' >>=20 >> I have no idea how this happens. >> A wild guess is that store/jhmz.. is a grafted version, and guix size >> looks for the ungrafted one? > > Seems like this is exactly what is happening. guix build --no-grafts > lilypond gave me > /gnu/store/6zyrglcmk8l4xpwvg6hgq1al81d7fr1w-lilypond-2.19.80 > and guix size lilypond works as usual. 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. Right now I get (purely from substitutes): --8<---------------cut here---------------start------------->8--- $ guix size --sort=3Dclosure lilypond | head store item total s= elf /gnu/store/s4wbbm0krpnlv22j5r5byb9iv7f3d4gg-lilypond-2.19.80 325.7 = 26.6 8.2% /gnu/store/pwbx5fhjrq9crr1c0d2x08ch0l6vr3cv-pango-1.40.14 196.8 = 3.9 1.2% /gnu/store/67b00bcqsgq4q6x01pkl7bmrl65hr1n2-harfbuzz-1.7.3 166.5 = 2.6 0.8% /gnu/store/j4vj7h3wyb532g2j0axzjj43z2a0dg81-python-2.7.14 152.2 = 54.6 16.8% /gnu/store/fs5f2mhnz2czgkcwd594f3i8yh0lyrfd-cairo-1.14.10 135.2 = 6.1 1.9% /gnu/store/rrs4fwbsjz59a1gay7m5bhks6xyzl5ha-icu4c-60.2 116.0 = 36.1 11.1% /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2 104.1 = 14.0 4.3% /gnu/store/7b5ykfl6jbrdl8j7xp630fga4as3234z-ghostscript-9.22 91.5 = 22.4 6.9% /gnu/store/23576gzvv6jdp9f547x6dgah1q9hwcna-libxft-2.3.2 85.1 = 0.3 0.1% $ guix --version guix (GNU Guix) cbcdb777900618f0858e26c91415c603e2a44fb8 Copyright (C) 2018 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. --8<---------------cut here---------------end--------------->8--- I think we can close the bug, WDYT? Ludo=E2=80=99.