From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: A few questions about packages Date: Tue, 13 Mar 2018 18:24:51 +0100 Message-ID: <20180313182451.274ce27d@alma-ubu> References: <20180312004319.5aab7f70@gmail.com> <20180313221535.5ddd956e@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Zgne0Uo1jEYaxTN7hUoVdhL"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evnfW-0008T8-4w for help-guix@gnu.org; Tue, 13 Mar 2018 13:24:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evnfT-0000Ku-6d for help-guix@gnu.org; Tue, 13 Mar 2018 13:24:58 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:51566 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evnfS-0000JV-VS for help-guix@gnu.org; Tue, 13 Mar 2018 13:24:55 -0400 Received: from alma-ubu (pD951FC9C.dip0.t-ipconnect.de [217.81.252.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 1E69740B21 for ; Tue, 13 Mar 2018 18:24:53 +0100 (CET) In-Reply-To: <20180313221535.5ddd956e@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" Cc: help-guix --Sig_/Zgne0Uo1jEYaxTN7hUoVdhL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 13 Mar 2018 22:15:35 +0300 Jone wrote: > I wrote a simple script: >=20 > TRGT=3D"*-gtk+-2.2*" > for i in $(ls -d /gnu/store/$TRGT/) > do > echo > echo "----------> $i" > echo "$(guix gc --referrers $i | grep -v \.drv)" > done >=20 > Part of output: > ----------> /gnu/store/595ydgdnkj9vdxr88dkscb0ws9rgjv0g-gtk+-2.24.31/ =20 > /gnu/store/595ydgdnkj9vdxr88dkscb0ws9rgjv0g-gtk+-2.24.31 > /gnu/store/6h7w5z60zqx6802qxd98wcmx1yrhnzy5-xfce4-appfinder-4.12.0 > /gnu/store/8vy4gnmb17xc3hiqjd1b5z28vfsn8jzq-gtk-im-modules > /gnu/store/fi77qxlq9ga6rgl9gg1xfxkfw7vps2l3-gtk-im-modules > /gnu/store/ggrwghpwyfwrmxb90aj846c3ydwprqvl-gtk-im-modules > /gnu/store/miiv6rnlrhbjk34l1ga7v6ys1x6983q4-libxfce4ui-4.12.0 > /gnu/store/rki1c8z0v7crppym7qzqys894pikxljc-garcon-0.4.0 [..] > ----------> /gnu/store/rbzlcg13vpabvj2sr6c67icd15wq0vhz-gtk+-2.24.31/ =20 > /gnu/store/16rwx833av4k48hk2diqj87mwsc457j3-gtk-im-modules > /gnu/store/rbzlcg13vpabvj2sr6c67icd15wq0vhz-gtk+-2.24.31 >=20 >=20 > It is possible to draw a conclusion, that each application refers the > SEPARATE version of library. What??? Somebody can explain it? I also have a lot of those in my store, although I rarely do a guix gc. Suppose you don't change anything on a packages definition, i.e. leave name, version, depencencies, build-system etc. completely as they were. If you then change anything on the dependencies of that package (or its sub-dependencies) it will get rebuild (or re-downloaded) with the same package-name and package-version but under a different hash-sum. That's the reason why there is the branch of "core-updates" packages (see point 7 in [1]): Basicly every package in the distribution depends on a core-updates package. If you change one of the core-updates, the whole distribution needs to be rebuilt. Because this would cause much compilation-work on users computers, core-updates will be collected and compiled by Hydra on a separate branch. If everything is compiled and under a certain level of errors, it will be merged back into master and will be available via guix pull. In your case it could be that you have installed the different library instances via different guix pulls. Bj=C3=B6rn [1] https://www.gnu.org/software/guix/manual/guix.html#Submitting-Patches --Sig_/Zgne0Uo1jEYaxTN7hUoVdhL Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlqoCWQACgkQvyhstlk+X/31GACffAio08r13PnUNClZaZUXTHza AW4AoIU6JQD7XQruDzioCvOKvPy2+YWD =OH24 -----END PGP SIGNATURE----- --Sig_/Zgne0Uo1jEYaxTN7hUoVdhL--