Received: (at 33285) by debbugs.gnu.org; 6 Feb 2019 13:19:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 06 08:19:32 2019 Received: from localhost ([127.0.0.1]:34148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1grN6y-0002nf-Cc for submit <at> debbugs.gnu.org; Wed, 06 Feb 2019 08:19:32 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:47130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1grN6v-0002nU-Jh for 33285 <at> debbugs.gnu.org; Wed, 06 Feb 2019 08:19:30 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 05B11C57B; Wed, 6 Feb 2019 14:19:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A1Vgj10YE7zO; Wed, 6 Feb 2019 14:19:27 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EAC65C562; Wed, 6 Feb 2019 14:19:26 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Ricardo Wurmus <rekado@HIDDEN> Subject: Re: bug#33285: Installing, then removing, a package yields a different profile References: <8736seyb6d.fsf@HIDDEN> <87r2fyz3ik.fsf@HIDDEN> <87woppl5zy.fsf@HIDDEN> <87sgx4wjlv.fsf@HIDDEN> <877eefsa8n.fsf@HIDDEN> Date: Wed, 06 Feb 2019 14:19:26 +0100 In-Reply-To: <877eefsa8n.fsf@HIDDEN> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 04 Feb 2019 19:02:16 +0100") Message-ID: <878sytawbl.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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 33285 Cc: Chris Marusich <cmmarusich@HIDDEN>, 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: -0.0 (/) Ludovic Court=C3=A8s <ludo@HIDDEN> skribis: > Actually, to do things correctly, we should really store the .drv in the > =E2=80=98manifest=E2=80=99 file. That way, manifest entries would always= contains a > valid =E2=80=9Clowerable=E2=80=9D object (a package or a derivation recor= d), as opposed > to a store reference that happens to be valid. On second thought that=E2=80=99s probably not a great idea: we=E2=80=99d re= tain references to the .drv themselves, which can end up taking a bit of space, especially if --gc-keep-outputs is in use. So=E2=80=A6 the more I think about it the more I=E2=80=99m tempted to punt = on this one. The discrepancy we see here does not happen when using --manifest, which is probably what matters most. Thoughts? Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#33285
; Package guix
.
Full text available.Received: (at 33285) by debbugs.gnu.org; 4 Feb 2019 18:02:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 04 13:02:21 2019 Received: from localhost ([127.0.0.1]:59699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gqiZZ-0003pX-Gd for submit <at> debbugs.gnu.org; Mon, 04 Feb 2019 13:02:21 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:37294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1gqiZY-0003pP-8y for 33285 <at> debbugs.gnu.org; Mon, 04 Feb 2019 13:02:20 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8CCCEB94F; Mon, 4 Feb 2019 19:02:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v9Roid-QgHwO; Mon, 4 Feb 2019 19:02:17 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 62DBDB94E; Mon, 4 Feb 2019 19:02:17 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Ricardo Wurmus <rekado@HIDDEN> Subject: Re: bug#33285: Installing, then removing, a package yields a different profile References: <8736seyb6d.fsf@HIDDEN> <87r2fyz3ik.fsf@HIDDEN> <87woppl5zy.fsf@HIDDEN> <87sgx4wjlv.fsf@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?utf-8?Q?Pluvi=C3=B4se?= 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: Mon, 04 Feb 2019 19:02:16 +0100 In-Reply-To: <87sgx4wjlv.fsf@HIDDEN> (Ricardo Wurmus's message of "Mon, 04 Feb 2019 00:14:04 +0100") Message-ID: <877eefsa8n.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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 33285 Cc: Chris Marusich <cmmarusich@HIDDEN>, 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: -0.0 (/) Hello! Ricardo Wurmus <rekado@HIDDEN> skribis: > Note that they differ in the inclusion of /gnu/store/h0905d946s3xarcfakan= 8jnblcdqxs3a-hello-2.10.drv as > a derivation input. > > I guess that the problem might be in =E2=80=9Cprofile-derivation=E2=80=9D= , which defines > =E2=80=9Cinputs=E2=80=9D like this: > > (define inputs > (append (filter-map (lambda (drv) > (and (derivation? drv) > (gexp-input drv))) > extras) > (manifest-inputs manifest))) > > I pk=E2=80=99d at the value returned by manifest-inputs and found this: > > $ guix package -p .guix-profile -i hello > The following package will be installed: > hello 2.10 /gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10 > > > ;;; ((#<gexp-input #<package hello@HIDDEN gnu/packages/base.scm:68 31e4d80>= :out>)) > 1 package in profile > The following environment variable definitions may be needed: > export PATH=3D".guix-profile/bin${PATH:+:}$PATH" > > $ guix package -p .guix-profile -i coreutils > The following package will be installed: > coreutils 8.30 /gnu/store/xzgfh8kdxilyymi1a8i97b1nci1iybhi-coreutils-8= .30 > > > ;;; ((#<gexp-input #<package coreutils@HIDDEN gnu/packages/base.scm:338 39a= 7000>:out> #<gexp-input "/gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-= 2.10":out>)) Good catch! > Should manifest-inputs distinguish between a package entry and a file > entry and paper over the differences? Actually, to do things correctly, we should really store the .drv in the =E2=80=98manifest=E2=80=99 file. That way, manifest entries would always c= ontains a valid =E2=80=9Clowerable=E2=80=9D object (a package or a derivation record)= , as opposed to a store reference that happens to be valid. I=E2=80=99ll see if I can come up with a patch for this. Thanks, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#33285
; Package guix
.
Full text available.Received: (at 33285) by debbugs.gnu.org; 3 Feb 2019 23:29:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 03 18:29:35 2019 Received: from localhost ([127.0.0.1]:57905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gqRCh-0001qC-Ez for submit <at> debbugs.gnu.org; Sun, 03 Feb 2019 18:29:35 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rekado@HIDDEN>) id 1gqRCc-0001pz-Nb for 33285 <at> debbugs.gnu.org; Sun, 03 Feb 2019 18:29:31 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549235650; cv=none; d=zoho.com; s=zohoarc; b=h/pEeBuVh1yMWAVo7p134zAcSKvvsxnucDejZzugsBaLnGRz4f4YdWlcDY36eSmv0V7oEKlohoxZsuusk/vBJVRxXMuF9SijbzKKwDXgXXaqOCJmYzTWhnG7SqGy1Wxw3wZn/+AY+ZgUYFFo/+tJHexz7PqcPQNeRZX9Xsd2yco= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549235650; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=MkYy0hv/l5pplRtLh1Sicirwq/Ssv7PA5bd+1ufrprs=; b=Zf5R9lr0xBmjYDqmSgFkWOtgpYBUKv+VVIBBVJ05INj8V6d3+cgbrRIn2jldTRNaX+xJ/o4rdr55CDkfvArzhcNnLEkL6jMRY/zF1NTULaqyy/bw/HS2SVmGVaVC61SqqgmCydIg1vcO0Ccw8Ohy/dxWklHvHTUCdgbGIhb5jKw= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@HIDDEN; dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549235650; s=zoho; d=elephly.net; i=rekado@HIDDEN; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=4965; bh=MkYy0hv/l5pplRtLh1Sicirwq/Ssv7PA5bd+1ufrprs=; b=UlMK0yWQxejijUSAB9F6BvJY+9kZS7Y2Hf483gloSllT+jRfWHnQVhP8VI+nFmMv VFM6TcJLohGqI4LtUVadMdggds02lXK/Q3elhpjQFbNtLXPjzQWHL6frYdz/ZwmBBjc 8ELH1oSnDwkNZlTsw0eSPiXs6Im5aL+grZmKmbTI= Received: from localhost (252.139-78-194.adsl-static.isp.belgacom.be [194.78.139.252]) by mx.zohomail.com with SMTPS id 1549235648691296.34126247655126; Sun, 3 Feb 2019 15:14:08 -0800 (PST) References: <8736seyb6d.fsf@HIDDEN> <87r2fyz3ik.fsf@HIDDEN> <87woppl5zy.fsf@HIDDEN> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus <rekado@HIDDEN> To: Chris Marusich <cmmarusich@HIDDEN> Subject: Re: bug#33285: Installing, then removing, a package yields a different profile In-reply-to: <87woppl5zy.fsf@HIDDEN> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 04 Feb 2019 00:14:04 +0100 Message-ID: <87sgx4wjlv.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33285 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 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 (-) Hi, Chris Marusich <cmmarusich@HIDDEN> writes: > The only differing paths look like they were produced by profile > hooks. Perhaps this issue has something to do with profile hooks? This seems to be the case. Here are the derivations for the info-dir hook for the first and then the third profile: --8<---------------cut here---------------start------------->8--- Derive ([("out","/gnu/store/vq1frsx6jkvk957mi2sx0rl629r31vi0-info-dir","","")] ,[("/gnu/store/32dcpfx9chyf1z3jhv41r7hx2a6vklw2-glibc-utf8-locales-2.28.dr= v",["out"]) ,("/gnu/store/h0905d946s3xarcfakan8jnblcdqxs3a-hello-2.10.drv",["out"]) ,("/gnu/store/jbnidakwvhr84rp8p8icdg1lnczjvi6w-gzip-1.9.drv",["out"]) ,("/gnu/store/n9zlvq692s12aarbrfppz7ayzggxfkqx-guile-2.2.4.drv",["out"]) ,("/gnu/store/p6ml6z1d3y387y06mbcvpnf19ik2qywh-module-import-compiled.dr= v",["out"]) ,("/gnu/store/x62102cgam20b3g8vfdvw06snvznx12k-texinfo-6.5.drv",["out"])] ,["/gnu/store/n6gp00cayxm4lc5c17lrwhwx93fzg8hr-info-dir-builder","/gnu/sto= re/p5q59xqmhwg60y2437fnny76nw7l6gbz-module-import"] ,"x86_64-linux","/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/b= in/guile",["--no-auto-compile","-L","/gnu/store/p5q59xqmhwg60y2437fnny76nw7= l6gbz-module-import","-C","/gnu/store/qkqypgkam1fncl32l5qklplqh3a6k3fz-modu= le-import-compiled","/gnu/store/n6gp00cayxm4lc5c17lrwhwx93fzg8hr-info-dir-b= uilder"] ,[("allowSubstitutes","0") ,("guix properties","((type . profile-hook) (hook . info-dir))") ,("out","/gnu/store/vq1frsx6jkvk957mi2sx0rl629r31vi0-info-dir") ,("preferLocalBuild","1")]) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- Derive ([("out","/gnu/store/2ivmnbir288p7w7xyj1bb338h30q00ma-info-dir","","")] ,[("/gnu/store/32dcpfx9chyf1z3jhv41r7hx2a6vklw2-glibc-utf8-locales-2.28.dr= v",["out"]) ,("/gnu/store/jbnidakwvhr84rp8p8icdg1lnczjvi6w-gzip-1.9.drv",["out"]) ,("/gnu/store/n9zlvq692s12aarbrfppz7ayzggxfkqx-guile-2.2.4.drv",["out"]) ,("/gnu/store/p6ml6z1d3y387y06mbcvpnf19ik2qywh-module-import-compiled.dr= v",["out"]) ,("/gnu/store/x62102cgam20b3g8vfdvw06snvznx12k-texinfo-6.5.drv",["out"])] ,["/gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10","/gnu/store/n6g= p00cayxm4lc5c17lrwhwx93fzg8hr-info-dir-builder","/gnu/store/p5q59xqmhwg60y2= 437fnny76nw7l6gbz-module-import"] ,"x86_64-linux","/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/b= in/guile",["--no-auto-compile","-L","/gnu/store/p5q59xqmhwg60y2437fnny76nw7= l6gbz-module-import","-C","/gnu/store/qkqypgkam1fncl32l5qklplqh3a6k3fz-modu= le-import-compiled","/gnu/store/n6gp00cayxm4lc5c17lrwhwx93fzg8hr-info-dir-b= uilder"] ,[("allowSubstitutes","0") ,("guix properties","((type . profile-hook) (hook . info-dir))") ,("out","/gnu/store/2ivmnbir288p7w7xyj1bb338h30q00ma-info-dir") ,("preferLocalBuild","1")]) --8<---------------cut here---------------end--------------->8--- Note that they differ in the inclusion of /gnu/store/h0905d946s3xarcfakan8j= nblcdqxs3a-hello-2.10.drv as a derivation input. I guess that the problem might be in =E2=80=9Cprofile-derivation=E2=80=9D, = which defines =E2=80=9Cinputs=E2=80=9D like this: (define inputs (append (filter-map (lambda (drv) (and (derivation? drv) (gexp-input drv))) extras) (manifest-inputs manifest))) I pk=E2=80=99d at the value returned by manifest-inputs and found this: --8<---------------cut here---------------start------------->8--- $ guix package -p .guix-profile -i hello The following package will be installed: hello 2.10 /gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10 ;;; ((#<gexp-input #<package hello@HIDDEN gnu/packages/base.scm:68 31e4d80>:o= ut>)) 1 package in profile The following environment variable definitions may be needed: export PATH=3D".guix-profile/bin${PATH:+:}$PATH" $ guix package -p .guix-profile -i coreutils The following package will be installed: coreutils 8.30 /gnu/store/xzgfh8kdxilyymi1a8i97b1nci1iybhi-coreutils-8.30 ;;; ((#<gexp-input #<package coreutils@HIDDEN gnu/packages/base.scm:338 39a70= 00>:out> #<gexp-input "/gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.= 10":out>)) 2 packages in profile The following environment variable definitions may be needed: export PATH=3D".guix-profile/bin${PATH:+:}$PATH" $ guix package -p .guix-profile -r coreutils The following package will be removed: coreutils 8.30 /gnu/store/xzgfh8kdxilyymi1a8i97b1nci1iybhi-coreutils-8.30 ;;; ((#<gexp-input "/gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10"= :out>)) 1 package in profile The following environment variable definitions may be needed: export PATH=3D".guix-profile/bin${PATH:+:}$PATH" --8<---------------cut here---------------end--------------->8--- Should manifest-inputs distinguish between a package entry and a file entry and paper over the differences? -- Ricardo
bug-guix@HIDDEN
:bug#33285
; Package guix
.
Full text available.ludo@HIDDEN (Ludovic Courtès)
to control <at> debbugs.gnu.org
.
Full text available.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----- --=-=-=--
bug-guix@HIDDEN
:bug#33285
; Package guix
.
Full text available.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.
bug-guix@HIDDEN
:bug#33285
; Package guix
.
Full text available.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----- --=-=-=--
Chris Marusich <cmmarusich@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#33285
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.