From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Package inputs in manifests Date: Mon, 18 Nov 2019 18:14:02 +0100 Message-ID: References: <87mudrxvs8.fsf@ambrevar.xyz> <87mudd59ho.fsf@gnu.org> <877e4glyc3.fsf@ambrevar.xyz> <87ftj1x8fw.fsf@gnu.org> <87mucupz8k.fsf_-_@gnu.org> <20191117231019.GA1008@PhantoNv4ArchGx.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55169) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWkbZ-0006g0-N8 for guix-devel@gnu.org; Mon, 18 Nov 2019 12:14:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWkbX-0007pS-KZ for guix-devel@gnu.org; Mon, 18 Nov 2019 12:14:25 -0500 In-Reply-To: <20191117231019.GA1008@PhantoNv4ArchGx.localdomain> 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: Bengt Richter Cc: Guix Devel Hi, On Mon, 18 Nov 2019 at 00:12, Bengt Richter wrote: > Can "collisions" be collisions even if the targets are bit-identical? I think yes. --8<---------------cut here---------------end--------------->8--- $ find -P /gnu/store -maxdepth 1 -name "*gzip-1.9" -type d -print /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9 /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9 /gnu/store/1qgxnwxn7kqg6hmqc5hajc9g2z2bbaik-gzip-1.9 --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------end--------------->8--- $ diff -r --no-dereference /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9 /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9 diff -r --no-dereference /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gunzip /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin/gunzip 57c57 < exec /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gzip -d "$@" --- > exec /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin/gzip -d "$@" diff -r --no-dereference /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/uncompress /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin/uncompress 57c57 < exec /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gzip -d "$@" --- > exec /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin/gzip -d "$@" --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------end--------------->8--- $ guix gc --requisites /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9 | sort /gnu/store/02k245xy33cvcnr8vm3lagm9zmb1s2wa-grep-3.1 /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9 /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28 /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23 /gnu/store/zzakf905mzla4csi1dn9qpcwmgbxj29b-bash-static-4.4.23 --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------end--------------->8--- $ guix gc --requisites /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9 | sort /gnu/store/02k245xy33cvcnr8vm3lagm9zmb1s2wa-grep-3.1 /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28 /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9 /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23 /gnu/store/zzakf905mzla4csi1dn9qpcwmgbxj29b-bash-static-4.4.23 --8<---------------cut here---------------end--------------->8--- But the derivations differs. --8<---------------cut here---------------end--------------->8--- $ guix gc --derivers /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9 | sort /gnu/store/3c9spvq9cgack8g0sznr6mv4b2vbag8v-gzip-1.9.drv /gnu/store/534rm9gn29d7dd88wjkvmy9qf9w6j3b6-gzip-1.9.drv /gnu/store/5gjql669pszp6wjg80wx0l7b6bkdirlj-gzip-1.9.drv /gnu/store/5l2d67j1h0riax42a0kljnn6ghg4qm3s-gzip-1.9.drv /gnu/store/xpv9bnrfvz5z6xwh5ypziz6waxzfa9jk-gzip-1.9.drv --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------end--------------->8--- $ guix gc --derivers /gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9 | sort /gnu/store/c0ngi4rm0avjlp3nb8j4yvmdlf598vr2-gzip-1.9.drv /gnu/store/ib28wjw95572psh6z9nm9a6rf05ndcqw-gzip-1.9.drv /gnu/store/jbnidakwvhr84rp8p8icdg1lnczjvi6w-gzip-1.9.drv /gnu/store/rmqarqss73akz9yaad4a02zdvp62ijx2-gzip-1.9.drv /gnu/store/xwrwib0yi7d2n1fp1zaxydw5kn704qjd-gzip-1.9.drv --8<---------------cut here---------------end--------------->8--- I do not know, maybe it is about grafts. All the best, simon