From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: 02/02: gnu: next: Compress the executable. Date: Tue, 10 Sep 2019 14:51:46 +0200 Message-ID: <875zm0co0t.fsf@ambrevar.xyz> References: <20190905095602.15524.75425@vcs0.savannah.gnu.org> <20190905095603.AC57A209A5@vcs0.savannah.gnu.org> <874l1qgc1j.fsf@elephly.net> <871rwuc3es.fsf@ambrevar.xyz> <87blvu32qm.fsf@gnu.org> <878sqxq4ga.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33247) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7fcg-0001zn-Cq for guix-devel@gnu.org; Tue, 10 Sep 2019 08:51:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7fce-0001yF-LS for guix-devel@gnu.org; Tue, 10 Sep 2019 08:51:53 -0400 In-Reply-To: <878sqxq4ga.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: > Also in the case of Next there is something fishy: direct dependencies > include none of the Common Lisp libraries, and none of them _depends > indirectly_ on the those libraries, so how come they show up in the > listing of indirect dependencies? Hmm, reading myself again I realize this was poorly phrased. Allow me to explain that again. In =2D-8<---------------cut here---------------start------------->8--- ./pre-inst-env guix gc --references /gnu/store/sypf1iq80b2i192jp0mxm43bk6dj= 6fcc-next-1.3.1 /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib /gnu/store/a0rffysgyr66q5fjgm1iibjm4ma1jbk3-next-1.3.1-lib /gnu/store/h2j8gy8d2yrmrklavrik1y864zg7qwqd-sbcl-1.5.6 /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28 /gnu/store/nq4lsyipmfb0q7g26ra45rwwqrh3x8zw-zlib-1.2.11 /gnu/store/sypf1iq80b2i192jp0mxm43bk6dj6fcc-next-1.3.1 =2D-8<---------------cut here---------------end--------------->8--- we see that next-1.3.1-lib is a dependency, which holds references to all the other libraries. So my question is, why would `guix gc` collect sqlite, libfixposix, etc. if they are indirect dependencies? In other words? Wasn't I right to check for dependencies with `guix size` (or `guix gc -R`) instead of `guix gc --references`? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl13nGIACgkQm9z0l6S7 zH+rggf/QIsGJtoGPIYUo4Sv/+T+IEtpek9EcBbMD5q0woiEcMNDROlBBC8HcDP6 swECUwNu474lN4ZSXqy6y4Yd4G2TwZW+RG7QNrvsdzBTmH/rH1v3ZLHWvPLBwSdS rSUOwgqfpcUiYdaCrKnmN7ePuFvVwHU+tAiC4RW2c57zU+VIoPR94H7B9gS+ID61 ym2xVen3+ROjMxWTD107OQyAuEhdF7+BmCX8IJrFntHz9uAf5lRszs1jwDGPhxSE i6xyrEk21B6Sgtwi5Zf22OiJjYx+55dCuCWsu+MICPnAcQ3rnIrSh0j0/v3sFFNl 6bw2Iwd5LhU76B9lFBNQbrOkFFAmNA== =Rnrh -----END PGP SIGNATURE----- --=-=-=--