GNU bug report logs - #33285
Installing, then removing, a package yields a different profile

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Chris Marusich <cmmarusich@HIDDEN>; dated Tue, 6 Nov 2018 06:27:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

Message received at 33285 <at> debbugs.gnu.org:


Received: (at 33285) by debbugs.gnu.org; 7 Nov 2018 07:08:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 07 02:08:33 2018
Received: from localhost ([127.0.0.1]:38055 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gKHx3-0000J7-4a
	for submit <at> debbugs.gnu.org; Wed, 07 Nov 2018 02:08:33 -0500
Received: from mail-pg1-f182.google.com ([209.85.215.182]:33652)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cmmarusich@HIDDEN>) id 1gKHx0-0000It-It
 for 33285 <at> debbugs.gnu.org; Wed, 07 Nov 2018 02:08:31 -0500
Received: by mail-pg1-f182.google.com with SMTP id q5-v6so6967319pgv.0
 for <33285 <at> debbugs.gnu.org>; Tue, 06 Nov 2018 23:08:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=HvclzzwbUI1hAn0c7dxOVoh+Qlh0lbVCF/3AaCUeK4A=;
 b=AKIU1wPo5TbmfjQQQKw2NZ/TfZHDnjemKHEU740Jjd9hvXWn5q2oqhRDeQHu2L9IrX
 SPwK7DrGMsbJs4tNhiqF5zBHx/FJrVyQJS7FBRbgKHfjfYvBMOwFvJ86XHqtR8aWniS3
 8JbPkKKx77A7ww4R1PH+kvB0ieyPvl5CV0DlHnMS1pKB7Rl0jCof16BlbzzRtuYTMSe/
 RHsr9La/kHWrDtLXqEIk06pjTN3xL/9XgbaPTsy4nKO5/0yUPw2Ra3ruBlB7Tw5PciB+
 99P0jqXIXcS9G6deeTMlhtpvDM20MGDu0sKuu5Khka8k9x4gQfmWSmVWTaDByFqLRNnO
 bDcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=HvclzzwbUI1hAn0c7dxOVoh+Qlh0lbVCF/3AaCUeK4A=;
 b=E93WrbiAaF71eJSNVj4fvJp3pld5w6rnIcLZUe6l6b8zybzCNUYt1ytmaQzqmCQD4b
 9pl41svirGdDiMAr79zSunMjaJ9VZLLXHLbiylTUFBDdCJnc94Y078eK7h+wTfvE8TxL
 ivvbMO9r6J9rT5rT5lOxVOlO6tIJIRKaMnCiOH6nhD2Flczhc4Akb8xA+kFy1cqiG1lH
 3YY/F/AICWsU9k86A68M31Dcn2JnEnrYa3hMDeJJeJHQ7KYciwcPwDpaxR1fIGk/Z8Ws
 SGadwaJEwP8/g59wNe9wFqeo9QGm9vEFGAho3B123fASM/iNqP6jdSGbBe5VpmnFySmN
 Lq4Q==
X-Gm-Message-State: AGRZ1gLr+yvRaeGZgGTw7hKNGxsA6PRYHb6ELFKWLXVk3rLTqIT4FNDu
 Ed7inyq6o+bOmG5Bscfmh6airEzM
X-Google-Smtp-Source: AJdET5esH5q+0tmj3rdGCUwsQtIoJSfYSYLrM5q9hDDGMoMnBUsfuMqmGusqxNiOcCOuqQmU2HUOeg==
X-Received: by 2002:a62:5e83:: with SMTP id
 s125-v6mr769895pfb.232.1541574504020; 
 Tue, 06 Nov 2018 23:08:24 -0800 (PST)
Received: from garuda.local (c-73-53-106-26.hsd1.wa.comcast.net.
 [73.53.106.26])
 by smtp.gmail.com with ESMTPSA id u19-v6sm79332704pfj.115.2018.11.06.23.08.22
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 06 Nov 2018 23:08:22 -0800 (PST)
From: Chris Marusich <cmmarusich@HIDDEN>
To: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
Subject: Re: bug#33285: Installing, then removing,
 a package yields a different profile
References: <8736seyb6d.fsf@HIDDEN> <87r2fyz3ik.fsf@HIDDEN>
Date: Tue, 06 Nov 2018 23:08:17 -0800
In-Reply-To: <87r2fyz3ik.fsf@HIDDEN> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
 \=\?utf-8\?Q\?s\?\= message of "Tue, 06 Nov 2018 15:25:55 +0100")
Message-ID: <87woppl5zy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 33285
Cc: 33285 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

ludo@HIDDEN (Ludovic Court=C3=A8s) writes:

> Hi,
>
> Chris Marusich <cmmarusich@HIDDEN> skribis:
>
>> [...]
>>
>> Why is it that profile generations 1 and 3 don't both point to the
>> same profile in the store?  Is this expected behavior?
>
> It=E2=80=99s not!  Could you look at the derivers of these two profiles (=
use
> =E2=80=98guix gc --derivers=E2=80=99) and see what differs?

Due to preparations for SeaGL and other matters, I'm afraid I won't have
much extra time until the end of this month.  However, I've peeked at
the derivers, and I may have a hint for now.

The derivers' builders differ as follows:

=2D-8<---------------cut here---------------start------------->8---
$ diff -u  <(cat /gnu/store/nxjngfdrnbid45vibaa3rwyahs8mxdy8-profile-builde=
r | tr ' ' '\n') <(cat /gnu/store/ibgc1gmwmqpvq3shls19b6w7x96r773m-profile-=
builder | tr ' ' '\n')
=2D-- /dev/fd/63	2018-11-06 22:57:06.113873035 -0800
+++ /dev/fd/62	2018-11-06 22:57:06.113873035 -0800
@@ -38,10 +38,10 @@
 getenv)
 "out")
 (quote
=2D("/gnu/store/cb6cxb0k18a648qclh7zd7pvpsh1imny-info-dir"
=2D"/gnu/store/s616mj87kgz41g89b46fgr12y85gldrv-manual-database"
=2D"/gnu/store/1mj3mlqc28p68q0lnplv217vv4v9fslc-fonts-dir"
=2D"/gnu/store/g2q9r93pylmfqx4sw3k5gxixg8q2ksb1-ca-certificate-bundle"
+("/gnu/store/vh0ngq20a6x7zshjpv4qnd39p6sfh892-info-dir"
+"/gnu/store/ha6an8rfxadrk3slg9rxwdirv3a64kbz-manual-database"
+"/gnu/store/6cn1mrlyp1xlvln6msx25h822zjk62c3-fonts-dir"
+"/gnu/store/r5vlx8c33xs9g041hi7fyjc0fy2yndrn-ca-certificate-bundle"
 "/gnu/store/bihfrh609gkxb9dp7n96wlpigiv3krfy-hello-2.10"))
 #:symlink
 symlink
=2D-8<---------------cut here---------------end--------------->8---

Notably, they DO both seem to use the same store path for hello.  The
only differing paths look like they were produced by profile hooks.
Perhaps this issue has something to do with profile hooks?

=2D-=20
Chris

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlvij2IACgkQ3UCaFdgi
Rp2mpw//d0neqWHgBoR+PiIwVi02lDNdYDCqfB9Fur2NlMKJT2vUg1S0MZHiTe5T
wyiaJ5Y2koVD6ZjCfvu9dEKmJwYjdMhjspwSfwkif0hbvJDu5YNtuzk/r0S+IErX
0LH3Cn/2Q0eIUY5yw2V493pWt05K77+/EA7qd0M1M0IIbkBQxmyOETcQ09QY8BFr
P4eBrIaOpsVIMeJ5lmEOC0UPdHVSXX+71cPhnir9tr98LwJyEHy/i9kbMBNqfolX
6oj8SGbXEL65r9BlpYD62/85wnKlZc5MKk6My6iY4g2CSnjgZFijYv0PtClwYjAl
xEyCaZcYgYIdy7+KRE10Y6eJE/OQCVroB8B79tcsnJms5VbWib3O5OQ4zymKLldy
mPb+WysY46lyYP26FAZOrCkLw/EoUyhq8LGq89YSay47xPFIT29yIoiil39jC0EU
fEJgzd4m3WxXTCYq4Hnd9PlTQyOGkDHzW9hUEL6FILpNafQUVFae+DAneN7EjvWu
YUycdzQmFoa279d5aZ3mB1nIAVWeaqFonBqVrRCfLIwqkAQAK3RGtPa+b+9MLyj9
C7QgKRG+39eqMQZwG52sYwl1aTI6Ic6Yh1LoH+7IxUAITFWl033CWPTBBzmFDATN
CTf+Agl9KF1O/jz6/a1F9NQhja1BTrhwyLay7UK9aEeLzkNHRQU=
=OLEY
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#33285; Package guix. Full text available.

Message received at 33285 <at> debbugs.gnu.org:


Received: (at 33285) by debbugs.gnu.org; 6 Nov 2018 14:26:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 06 09:26:04 2018
Received: from localhost ([127.0.0.1]:36196 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gK2It-0001H8-Tt
	for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 09:26:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41739)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gK2Is-0001Gp-Bl
 for 33285 <at> debbugs.gnu.org; Tue, 06 Nov 2018 09:26:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1gK2Im-0007qu-KH
 for 33285 <at> debbugs.gnu.org; Tue, 06 Nov 2018 09:25:57 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54104)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1gK2Im-0007qm-HM; Tue, 06 Nov 2018 09:25:56 -0500
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=33240 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1gK2Im-0008Ca-9W; Tue, 06 Nov 2018 09:25:56 -0500
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Chris Marusich <cmmarusich@HIDDEN>
Subject: Re: bug#33285: Installing, then removing,
 a package yields a different profile
References: <8736seyb6d.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 16 Brumaire an 227 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 06 Nov 2018 15:25:55 +0100
In-Reply-To: <8736seyb6d.fsf@HIDDEN> (Chris Marusich's message of "Mon, 05
 Nov 2018 22:25:46 -0800")
Message-ID: <87r2fyz3ik.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 33285
Cc: 33285 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hi,

Chris Marusich <cmmarusich@HIDDEN> skribis:

> I've noticed that if I do the following...
>
> guix package -p .guix-profile -i hello
> guix package -p .guix-profile -i coreutils
> guix package -p .guix-profile -r coreutils
>
> ...I get profile generations like the following:
>
> .guix-profile-1-link  ->  /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-pro=
file
> .guix-profile-2-link  ->  /gnu/store/m6cwnnxcccnd8bga52jxn74vm67n7ry1-pro=
file
> .guix-profile-3-link  ->  /gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-pro=
file
>
> However, the 1st and 3rd generations are practically the same:
>
> $ diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile /gnu/store/=
qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile
> diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile/etc/profile /=
gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile/etc/profile
> 11c11
> < export PATH=3D"${GUIX_PROFILE:-/gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3=
r8p-profile}/bin${PATH:+:}$PATH"
> ---
>> export PATH=3D"${GUIX_PROFILE:-/gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70d=
cp-profile}/bin${PATH:+:}$PATH"
> [1] marusich@HIDDEN:/tmp/tmp.ZOTdkBr4rD
> $=20
>
> Now, this isn't really a problem, since it isn't wasting space, and it
> doesn't take long to build.  It's more of a curiosity.  Why is it that
> profile generations 1 and 3 don't both point to the same profile in the
> store?  Is this expected behavior?

It=E2=80=99s not!  Could you look at the derivers of these two profiles (use
=E2=80=98guix gc --derivers=E2=80=99) and see what differs?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#33285; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Nov 2018 06:26:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 06 01:26:03 2018
Received: from localhost ([127.0.0.1]:35928 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gJuoM-00026M-UB
	for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 01:26:03 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49100)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cmmarusich@HIDDEN>) id 1gJuoL-00025t-Gw
 for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 01:26:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cmmarusich@HIDDEN>) id 1gJuoF-0005zq-NF
 for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 01:25:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:55356)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <cmmarusich@HIDDEN>)
 id 1gJuoF-0005zg-Kp
 for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 01:25:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58704)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cmmarusich@HIDDEN>) id 1gJuoE-0003jy-RT
 for bug-guix@HIDDEN; Tue, 06 Nov 2018 01:25:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cmmarusich@HIDDEN>) id 1gJuoB-0005sZ-NY
 for bug-guix@HIDDEN; Tue, 06 Nov 2018 01:25:54 -0500
Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:45653)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <cmmarusich@HIDDEN>)
 id 1gJuoB-0005oF-H9
 for bug-guix@HIDDEN; Tue, 06 Nov 2018 01:25:51 -0500
Received: by mail-pf1-x435.google.com with SMTP id p17-v6so5233902pfj.12
 for <bug-guix@HIDDEN>; Mon, 05 Nov 2018 22:25:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:user-agent:mime-version;
 bh=2qfeLwGbtL0begmjopjJneWVGmSAIKQS6d603nu8EHA=;
 b=bVsTbqh7JMK0EPlsFrZz+ORxTDngaJ7xeFXrNbYoi3rjqKTGOz0NSaavlmDuNj1ydQ
 knA8ttiwZ0O91FZ+7DMhR9ebxmMx0Zdf+Q4xYqBkK71KC0xiLVGjK/DZfNjHsriPLk/D
 ogaI1O6N/L7SuLyfpp3QrHcheqtjxCZ0r1+Sg2HXuik8+ZohpnR/MUdyJ6mIShPqLPJ1
 p3VTig8IalEDuJyNeHmMEtVUNR4ia/YkL0gRSDBo+fTc5uSerGkO2Bc10aM95Z3/WWC9
 YddcHVEpyfeyaKH+u7qe2bcgTbEdpjqMBE8nAYpAGMFQ4A6Piv578dIvJJVSDDeBUmDu
 Xv0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:user-agent
 :mime-version;
 bh=2qfeLwGbtL0begmjopjJneWVGmSAIKQS6d603nu8EHA=;
 b=srX3pmgzx7UIORs/WuhT10U32hZwMs/59Yf3KxEImBpBM3R1riAadeWdL3jZ+3ORz7
 prxNgHtlWLz9aea9ITOn36YiMfxuMoVfIr4zyjGryvBFZlBENcH/saXf2HoE/6uqkdOg
 pilB4UAC3sKjNNmSiKbf98SOaFW4xs1egZtSeX4dSjaGRGcVpaHZx2H7+ZvkkONvMmA+
 pdDy7rFcPI8fzOdaDTlbTp+D6tKimr8NeLFnInrKatJc/HWh0hm3kske/goXdEfVnaYC
 wZba3ovASuIRAtEe/tEEoOfNcc908dyiTQW+2OKyrWTX3t6t4W7wU0T0lc9n5/mM7TEo
 Me0Q==
X-Gm-Message-State: AGRZ1gIhODhGLmlyGSaFnGheHEnFd3pq4l5Uskxq5X4qUFBnV5x8l9hr
 i7iYqeKuUtJNB9Qlxj7O+qU+eiTq
X-Google-Smtp-Source: AJdET5d7nFW64WtVRaVSSo39KcHv82xFvPl7pgiPC1eez+7jxNAkfUW1vavJbnEIka9BJF6HcKe1cQ==
X-Received: by 2002:a65:50c3:: with SMTP id
 s3-v6mr22224978pgp.355.1541485548976; 
 Mon, 05 Nov 2018 22:25:48 -0800 (PST)
Received: from garuda.local (c-73-53-106-26.hsd1.wa.comcast.net.
 [73.53.106.26])
 by smtp.gmail.com with ESMTPSA id 18sm10282583pgl.50.2018.11.05.22.25.47
 for <bug-guix@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 05 Nov 2018 22:25:47 -0800 (PST)
From: Chris Marusich <cmmarusich@HIDDEN>
To: bug-guix@HIDDEN
Subject: Installing, then removing, a package yields a different profile
Date: Mon, 05 Nov 2018 22:25:46 -0800
Message-ID: <8736seyb6d.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

I've noticed that if I do the following...

guix package -p .guix-profile -i hello
guix package -p .guix-profile -i coreutils
guix package -p .guix-profile -r coreutils

...I get profile generations like the following:

.guix-profile-1-link  ->  /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profi=
le
.guix-profile-2-link  ->  /gnu/store/m6cwnnxcccnd8bga52jxn74vm67n7ry1-profi=
le
.guix-profile-3-link  ->  /gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profi=
le

However, the 1st and 3rd generations are practically the same:

=2D-8<---------------cut here---------------start------------->8---
$ diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile /gnu/store/qf=
pmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile
diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile/etc/profile /gn=
u/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile/etc/profile
11c11
< export PATH=3D"${GUIX_PROFILE:-/gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8=
p-profile}/bin${PATH:+:}$PATH"
=2D--
> export PATH=3D"${GUIX_PROFILE:-/gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dc=
p-profile}/bin${PATH:+:}$PATH"
[1] marusich@HIDDEN:/tmp/tmp.ZOTdkBr4rD
$=20
=2D-8<---------------cut here---------------end--------------->8---

Now, this isn't really a problem, since it isn't wasting space, and it
doesn't take long to build.  It's more of a curiosity.  Why is it that
profile generations 1 and 3 don't both point to the same profile in the
store?  Is this expected behavior?

I wasn't sure what would happen when I tried this.  I had guessed
(incorrectly) that generation 3 would point to the same profile that had
been built for generation 1, so I was a little surprised by this.

=2D-=20
Chris

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlvhM+oACgkQ3UCaFdgi
Rp2UMw/9EPDUt1Re1u36mbZ8VR07jSHzeO6jS0UzV7sEWYNOdNPVU0Nhwh+lGutc
Vf7B0Gd8kmwUI53zvB5guL84rafm2pCclGHJRkV0XTUU23dKNay2zfU3qa2FnPgV
P2jDg8A8DRT0txMNmCodr5gnq5fibNZeAxZxpYedT/xeUMJsKP2tXgbegfjRJjSZ
7aJFZHJaRvw9PnWICPAWKCd2owtvA9VwU48Be/3EkQl1Jfw4Hz2DUyr2+nEERV8A
K7dA3+JNIAjTUHpEBhXfgdDx0R5AIuWHsLFeBugLTROtvi329c1WnpcSMwipyr/r
j6QY81Yz9DMf00NrrheCOcno5ZfGlkb0QBSRqyiRdJXPb9pFBRfW3TdNwyTp6bRM
XcH9wz+8ggEQKRqwhzJXsSADNyh1MWLZrBzN531Z/e7DRREz+hSzOj0J4s0bmp7O
Ml0RjX8eLTg67/uVeKaxVLR+thgoS/nCPPlZbvHSHRWppoVmOzrIv+3Gk/CdCJuo
DAsQItLNPQMgrv6CipFxh21b+YTYVzEeyNQWFZnT/WGELd4nCJ8LEPchX73Qlqr8
jGXGbOrehGG0Rdet6a1awVjeNnunDgnqIX5NU7QgOdkaXWfRTXhl829tOnAfD97Z
mjuKx0sF8x0UeCAj09EDOE3aBvduhpg+gQf8KE1MJlaVIbt0S2Q=
=LwAt
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Chris Marusich <cmmarusich@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#33285; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 7 Nov 2018 21:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.