From unknown Tue Jun 24 20:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23132: Grafted system retains references to original store items Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Mar 2016 03:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23132 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23132@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.145913644925153 (code B ref -1); Mon, 28 Mar 2016 03:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2016 03:40:49 +0000 Received: from localhost ([127.0.0.1]:40667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akO2r-0006Xd-1k for submit@debbugs.gnu.org; Sun, 27 Mar 2016 23:40:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akO2p-0006XO-F6 for submit@debbugs.gnu.org; Sun, 27 Mar 2016 23:40:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akO2j-0006Gm-0D for submit@debbugs.gnu.org; Sun, 27 Mar 2016 23:40:42 -0400 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,WEIRD_QUOTING autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akO2i-0006Gi-Tk for submit@debbugs.gnu.org; Sun, 27 Mar 2016 23:40:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akO2h-0002n8-Jh for bug-guix@gnu.org; Sun, 27 Mar 2016 23:40:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akO2b-0006G1-Ew for bug-guix@gnu.org; Sun, 27 Mar 2016 23:40:39 -0400 Received: from world.peace.net ([50.252.239.5]:52551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akO2b-0006Ex-9Z for bug-guix@gnu.org; Sun, 27 Mar 2016 23:40:33 -0400 Received: from pool-71-174-32-69.bstnma.east.verizon.net ([71.174.32.69] helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1akO2F-00050g-M1; Sun, 27 Mar 2016 23:40:13 -0400 From: Mark H Weaver Date: Sun, 27 Mar 2016 23:39:42 -0400 Message-ID: <877fgnuv7l.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) While testing my preliminary work on grafting improvements, I discovered that my current system is retaining references to the original flawed openssl-1.0.2f. One path of references goes like this: /gnu/store/pnbljdp1hpsvnbgqfl8bws7lpj7pm8cb-system -> /gnu/store/bzdhckvz4sms136fw64pvyhajawdb8ri-profile -> /gnu/store/dhrgkq1zfkkc5rnz51qlshakapsa2sgm-gnome-session-3.18.1.2 -> /gnu/store/55pqh3wl085d4h033n41b7x0fg9djd1k-glib-2.46.1-bin -> /gnu/store/kkn66257xrrjhyhq332bndhjpz4d9x76-python-wrapper-3.4.3 -> /gnu/store/qrg3jza3p5281p255cx0lsqk8snbb6pq-python-3.4.3 -> /gnu/store/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f The gnome-session store item above was created by a grafting derivation, and all of the ones that follow (starting with glib-2.46.1-bin) are ungrafted derivations. The grafting derivation for gnome-session failed to include a mapping for glib-2.46.1-bin. mhw@jojen:~$ guix build --log-file /gnu/store/dgyc74zakg110dxj67z3mj9g1vk= 8l4xp-openssl-1.0.2f https://hydra.gnu.org/log/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f Here's the .drv file for the gnome-session store item above: mhw@jojen:~$ guix build --log-file /gnu/store/dhrgkq1zfkkc5rnz51qlshakaps= a2sgm-gnome-session-3.18.1.2 /var/log/guix/drvs/b9/n4f67h7fi7l3g5brws2bxlpfx9qvgb-gnome-session-3.18.1= .2.drv.bz2 mhw@jojen:~$ bzcat /var/log/guix/drvs/b9/n4f67h7fi7l3g5brws2bxlpfx9qvgb-g= nome-session-3.18.1.2.drv.bz2 grafting '/gnu/store/2f25m1jyy7lvkjqgilza6bafbnv3k044-gnome-session-3.18.= 1.2' -> '/gnu/store/dhrgkq1zfkkc5rnz51qlshakapsa2sgm-gnome-session-3.18.1.2= '... mhw@jojen:~$ cat /gnu/store/b9n4f67h7fi7l3g5brws2bxlpfx9qvgb-gnome-sessio= n-3.18.1.2.drv Derive([("out","/gnu/store/dhrgkq1zfkkc5rnz51qlshakapsa2sgm-gnome-session= -3.18.1.2","","")],[("/gnu/store/01fyw4i0n31jlc96bwfqc1k9nf0qpj9f-harfbuzz-= 1.0.6.drv",["out"]),("/gnu/store/023cbj8wlhqmzi0mcn4gkrbnya931a4v-gtk+-3.18= .2.drv",["out"]),("/gnu/store/060zw0zzaavja4nmd6qwj1ik5gnx603l-cups-2.1.0.d= rv",["out"]),("/gnu/store/0h6js55xwls65g2v4dmg847xbdxcpk29-librsvg-2.40.13.= drv",["out"]),("/gnu/store/0k7ghiwfsm2d35jn2hmlylkw1d61lyc4-cups-filters-1.= 4.0.drv",["out"]),("/gnu/store/0m8lfd0y29jhffm3k4r5260282z06r0r-module-impo= rt-compiled.drv",["out"]),("/gnu/store/1s6fgn054951yv4bqlpr0vdqb9qvmbkm-pan= go-1.38.1.drv",["out"]),("/gnu/store/3lchcs3vm4a6r4lknhc0dvc0v0fq1sas-gtk+-= 3.18.2.drv",["out"]),("/gnu/store/50bb3x82p2hzi9qhmj7qlnzxa3x6xsim-gnome-de= sktop-3.18.1.drv",["out"]),("/gnu/store/64kkvvcm0zks5cysg89gkcw6a69g5pp2-qp= df-5.1.3.drv",["out"]),("/gnu/store/72qn0wwgdkv8011c1cdrwjbwbqkw1kn1-graphi= te2-1.3.5.drv",["out"]),("/gnu/store/7l31sjng02yzrl05ki1i16j5mx60lkcy-pango= -1.38.1.drv",["out"]),("/gnu/store/9hh2cmj6zabrr7acdmq03bmzsa12vrxp-perl-5.= 22.1.drv",["out"]),("/gnu/store/a2n2jp4q8yp2ss2dgk3av0bkyqkhjiz1-cups-filte= rs-1.4.0.drv",["out"]),("/gnu/store/bzp5jkh7xgbjb1i2mm0is9bkx7p3fp7f-harfbu= zz-1.0.6.drv",["out"]),("/gnu/store/fi41w9iaxi7fm22w55zj86yjbhs8fqf9-openss= l-1.0.2f.drv",["out"]),("/gnu/store/fr65rd4r3rlch9r41cvf266wxcqmfbfj-gnome-= session-3.18.1.2.drv",["out"]),("/gnu/store/gh2rxq397g7qmjpsg0qcni6pdnrp93a= 2-graphite2-1.3.5.drv",["out"]),("/gnu/store/i6yfwxiqn3awwg6fh44m5mw8hkq1c0= jh-openssl-1.0.2f.drv",["out"]),("/gnu/store/imin0ijzdfg3pw2nirjwsxg086yxx4= p2-module-import.drv",["out"]),("/gnu/store/lmxk7qlhqmycd3194d51m97spbhr06d= h-perl-5.22.1.drv",["out"]),("/gnu/store/mh24bqnzini70k5s74j816q4jyqf2zmj-p= erl-5.22.1.drv",["out"]),("/gnu/store/nrw3x5vmk4fygvs7vgpci4pyhl6lwwkd-guil= e-2.0.11.drv",["out"]),("/gnu/store/r54za3ymsl5jlshhm9x8l1c590fgp68n-cups-2= .1.0.drv",["out"]),("/gnu/store/riwksncgzzy1hfliarp6hlrvzgkk3285-perl-5.22.= 1.drv",["out"]),("/gnu/store/yp83gnlzc3kv8w338pij90rasr5bysx9-qpdf-5.1.3.dr= v",["out"]),("/gnu/store/zv162a9wn4752cfx7112c6whd7hsdx7k-gnome-desktop-3.1= 8.1.drv",["out"]),("/gnu/store/zvl8f5d1vh7l19almlkqfgx6ig4qgh78-librsvg-2.4= 0.13.drv",["out"])],["/gnu/store/60a5vinj56nhxzszfyayjjy61b303c8r-gnome-ses= sion-3.18.1.2-guile-builder"],"i686-linux","/gnu/store/77ipqajm5fyawv6fqrpm= 232k4qp6flik-guile-2.0.11/bin/guile",["--no-auto-compile","-L","/gnu/store/= 6xy20xcbxl6yzp5p2g28ly06yc36cxbl-module-import","/gnu/store/60a5vinj56nhxzs= zfyayjjy61b303c8r-gnome-session-3.18.1.2-guile-builder"],[("GUILE_LOAD_COMP= ILED_PATH","/gnu/store/lnixf02i03307hn5icfax083nal12bks-module-import-compi= led"),("out","/gnu/store/dhrgkq1zfkkc5rnz51qlshakapsa2sgm-gnome-session-3.1= 8.1.2"),("preferLocalBuild","1")]) Mark From unknown Tue Jun 24 20:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23132: Grafted system retains references to original store items References: <877fgnuv7l.fsf@netris.org> In-Reply-To: <877fgnuv7l.fsf@netris.org> Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Mar 2016 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23132 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23132@debbugs.gnu.org Received: via spool by 23132-submit@debbugs.gnu.org id=B23132.145918279725488 (code B ref 23132); Mon, 28 Mar 2016 16:34:02 +0000 Received: (at 23132) by debbugs.gnu.org; 28 Mar 2016 16:33:17 +0000 Received: from localhost ([127.0.0.1]:42250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aka6P-0006d1-IH for submit@debbugs.gnu.org; Mon, 28 Mar 2016 12:33:17 -0400 Received: from world.peace.net ([50.252.239.5]:54738 ident=hope8) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aka6N-0006ct-O8 for 23132@debbugs.gnu.org; Mon, 28 Mar 2016 12:33:16 -0400 Received: from pool-71-174-32-69.bstnma.east.verizon.net ([71.174.32.69] helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aka6B-0000Va-Oh; Mon, 28 Mar 2016 12:33:04 -0400 From: Mark H Weaver Date: Mon, 28 Mar 2016 12:32:51 -0400 Message-ID: <8760w6y34c.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) I should have also included the guile-builder used by the gnome-session grafting derivation. Here it is: /gnu/store/60a5vinj56nhxzszfyayjjy61b303c8r-gnome-session-3.18.1.2-guile-bu= ilder contains: (begin (use-modules (guix build graft) (guix build utils) (ice-9 match)) (d= efine %output (getenv "out")) (define %outputs (map (lambda (o) (cons o (ge= tenv o))) (quote ("out")))) (define %build-inputs (quote (("x" . "/gnu/stor= e/2f25m1jyy7lvkjqgilza6bafbnv3k044-gnome-session-3.18.1.2") ("x" . "/gnu/st= ore/xd6qk8kad1466v9z74nmikhapz64cszp-graphite2-1.3.5") ("x" . "/gnu/store/b= 8sicbpsjabfhfszsajpfvjw8ynx97iw-perl-5.22.1") ("x" . "/gnu/store/dgyc74zakg= 110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f") ("x" . "/gnu/store/1146ja893l132cs1= dn4jkmb047pw6rsk-perl-5.22.1") ("x" . "/gnu/store/6zsdzk0w99d5xmpw50mgqj9nf= iwazpyx-gnome-desktop-3.18.1") ("x" . "/gnu/store/8s3k25609kj6cqfd737vd1y9w= qfr0zzl-harfbuzz-1.0.6") ("x" . "/gnu/store/h3vpr7k7c2h3n7ixddyvr22sbzy98vh= z-gtk+-3.18.2") ("x" . "/gnu/store/lhhgw9psfnf7c8sjax68sin7nqm3d2k0-cups-2.= 1.0") ("x" . "/gnu/store/bk3bplyp1cr6jv2hgv9d8cxlad3griqb-cups-filters-1.4.= 0") ("x" . "/gnu/store/2symxhixbs2rrhh59il0i8mlndl3x2d8-qpdf-5.1.3") ("x" .= "/gnu/store/sxxqvvrf3f679m939yps51ddz327q0dr-pango-1.38.1") ("x" . "/gnu/s= tore/zsaklr7zimhdnvb8z5yqld8jgqf31v9r-librsvg-2.40.13") ("x" . "/gnu/store/= 45j3scjfgz9ahlvn5lfqj2s0m2gkpdrk-graphite2-1.3.5") ("x" . "/gnu/store/h6bzc= v3a0r9zm37gsi62visvc8kwg02a-perl-5.22.1") ("x" . "/gnu/store/fbmkb0xiwnr182= 3053dxal87m45bpy60-openssl-1.0.2f") ("x" . "/gnu/store/iam2djqw4s2bcpff8nhb= sbkg7z73f3v3-perl-5.22.1") ("x" . "/gnu/store/crqvab6qkkxzxs18yf87wa67zr2rb= l9x-gnome-desktop-3.18.1") ("x" . "/gnu/store/9bhhmn1p9932scrkhjqqmmxbl9yv9= sdv-harfbuzz-1.0.6") ("x" . "/gnu/store/kpp4ica1hivpfnbsjjbzsgkxkx8zgghi-gt= k+-3.18.2") ("x" . "/gnu/store/ffwac7n46xyicqz2ym6ghpf79gh0m8af-cups-2.1.0"= ) ("x" . "/gnu/store/si7689f9wc4ppyi20hi44ypz6xnn786a-cups-filters-1.4.0") = ("x" . "/gnu/store/6qwvlxhb4ms02xr9g5d3qb0wbvr2iwaa-qpdf-5.1.3") ("x" . "/g= nu/store/bhpmhiyyz9bqw4h4v3x55m4z64c01i7l-pango-1.38.1") ("x" . "/gnu/store= /zs0x1dn010n79b49rwcf5dp9dzccxc26-librsvg-2.40.13")))) (unsetenv "GUILE_LOA= D_COMPILED_PATH") (unsetenv "LD_LIBRARY_PATH"))(exit (begin (let* ((old-out= puts (quote (("out" . "/gnu/store/2f25m1jyy7lvkjqgilza6bafbnv3k044-gnome-se= ssion-3.18.1.2")))) (mapping (append (quote (("/gnu/store/xd6qk8kad1466v9z7= 4nmikhapz64cszp-graphite2-1.3.5" . "/gnu/store/45j3scjfgz9ahlvn5lfqj2s0m2gk= pdrk-graphite2-1.3.5") ("/gnu/store/b8sicbpsjabfhfszsajpfvjw8ynx97iw-perl-5= .22.1" . "/gnu/store/h6bzcv3a0r9zm37gsi62visvc8kwg02a-perl-5.22.1") ("/gnu/= store/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f" . "/gnu/store/fbmkb0= xiwnr1823053dxal87m45bpy60-openssl-1.0.2f") ("/gnu/store/1146ja893l132cs1dn= 4jkmb047pw6rsk-perl-5.22.1" . "/gnu/store/iam2djqw4s2bcpff8nhbsbkg7z73f3v3-= perl-5.22.1") ("/gnu/store/6zsdzk0w99d5xmpw50mgqj9nfiwazpyx-gnome-desktop-3= .18.1" . "/gnu/store/crqvab6qkkxzxs18yf87wa67zr2rbl9x-gnome-desktop-3.18.1"= ) ("/gnu/store/8s3k25609kj6cqfd737vd1y9wqfr0zzl-harfbuzz-1.0.6" . "/gnu/sto= re/9bhhmn1p9932scrkhjqqmmxbl9yv9sdv-harfbuzz-1.0.6") ("/gnu/store/h3vpr7k7c= 2h3n7ixddyvr22sbzy98vhz-gtk+-3.18.2" . "/gnu/store/kpp4ica1hivpfnbsjjbzsgkx= kx8zgghi-gtk+-3.18.2") ("/gnu/store/lhhgw9psfnf7c8sjax68sin7nqm3d2k0-cups-2= .1.0" . "/gnu/store/ffwac7n46xyicqz2ym6ghpf79gh0m8af-cups-2.1.0") ("/gnu/st= ore/bk3bplyp1cr6jv2hgv9d8cxlad3griqb-cups-filters-1.4.0" . "/gnu/store/si76= 89f9wc4ppyi20hi44ypz6xnn786a-cups-filters-1.4.0") ("/gnu/store/2symxhixbs2r= rhh59il0i8mlndl3x2d8-qpdf-5.1.3" . "/gnu/store/6qwvlxhb4ms02xr9g5d3qb0wbvr2= iwaa-qpdf-5.1.3") ("/gnu/store/sxxqvvrf3f679m939yps51ddz327q0dr-pango-1.38.= 1" . "/gnu/store/bhpmhiyyz9bqw4h4v3x55m4z64c01i7l-pango-1.38.1") ("/gnu/sto= re/zsaklr7zimhdnvb8z5yqld8jgqf31v9r-librsvg-2.40.13" . "/gnu/store/zs0x1dn0= 10n79b49rwcf5dp9dzccxc26-librsvg-2.40.13"))) (map (match-lambda ((name . fi= le) (cons (assoc-ref old-outputs name) file))) %outputs)))) (for-each (lamb= da (input output) (format #t "grafting '~a' -> '~a'...~%" input output) (fo= rce-output) (rewrite-directory input output mapping)) (match old-outputs ((= (names . files) ...) files)) (match %outputs (((names . files) ...) files))= )))) Also, I should mention that I'm doing these tests on master from before the recent 'security-updates' merge, so I have grafts for openssl, graphite2, and perl. Mark From unknown Tue Jun 24 20:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23132: Grafted system retains references to original store items Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Mar 2016 16:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23132 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Cc: 23132@debbugs.gnu.org Received: via spool by 23132-submit@debbugs.gnu.org id=B23132.145918352126526 (code B ref 23132); Mon, 28 Mar 2016 16:46:01 +0000 Received: (at 23132) by debbugs.gnu.org; 28 Mar 2016 16:45:21 +0000 Received: from localhost ([127.0.0.1]:42255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akaI4-0006tm-P3 for submit@debbugs.gnu.org; Mon, 28 Mar 2016 12:45:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akaI3-0006ta-A0 for 23132@debbugs.gnu.org; Mon, 28 Mar 2016 12:45:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akaHu-0007rT-TM for 23132@debbugs.gnu.org; Mon, 28 Mar 2016 12:45:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akaHu-0007rO-Q2; Mon, 28 Mar 2016 12:45:10 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:37570 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1akaHt-0001XN-Id; Mon, 28 Mar 2016 12:45:10 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <877fgnuv7l.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 Germinal an 224 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 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-unknown-linux-gnu Date: Mon, 28 Mar 2016 18:45:07 +0200 In-Reply-To: <877fgnuv7l.fsf@netris.org> (Mark H. Weaver's message of "Sun, 27 Mar 2016 23:39:42 -0400") Message-ID: <87h9fqr1po.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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: -6.0 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Mark H Weaver skribis: > The gnome-session store item above was created by a grafting derivation, > and all of the ones that follow (starting with glib-2.46.1-bin) are > ungrafted derivations. The grafting derivation for gnome-session failed > to include a mapping for glib-2.46.1-bin. I suppose this is on a private branch, right? What does =E2=80=9Cguix build glib=E2=80=9D produce? Is the =E2=80=9Cbin= =E2=80=9D output of =E2=80=9Cglib=E2=80=9D correctly grafted? Could you send /gnu/store/60a5vinj56nhxzszfyayjjy61b303c8r-gnome-session-3.18.1.2-guile-bu= ilder? Thanks, Ludo=E2=80=99. From unknown Tue Jun 24 20:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23132: Grafted system retains references to original store items References: <877fgnuv7l.fsf@netris.org> In-Reply-To: <877fgnuv7l.fsf@netris.org> Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Mar 2016 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23132 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23132@debbugs.gnu.org Received: via spool by 23132-submit@debbugs.gnu.org id=B23132.14591850072922 (code B ref 23132); Mon, 28 Mar 2016 17:11:01 +0000 Received: (at 23132) by debbugs.gnu.org; 28 Mar 2016 17:10:07 +0000 Received: from localhost ([127.0.0.1]:42298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akag2-0000l4-UN for submit@debbugs.gnu.org; Mon, 28 Mar 2016 13:10:07 -0400 Received: from world.peace.net ([50.252.239.5]:54872 ident=hope7) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akag1-0000kv-Fa for 23132@debbugs.gnu.org; Mon, 28 Mar 2016 13:10:05 -0400 Received: from pool-71-174-32-69.bstnma.east.verizon.net ([71.174.32.69] helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1akaft-0000gH-Ml; Mon, 28 Mar 2016 13:09:57 -0400 From: Mark H Weaver Date: Mon, 28 Mar 2016 13:09:46 -0400 Message-ID: <871t6uy1et.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Here's how to reproduce exactly what I'm seeing: Checkout commit ffc13e753b37adb694de1d26f3ea51cf0796a8a2, which is the commit on 'master' immediately before the merge with 'security-updates'. >From that commit, build 'gnome-session'. In my case, I'm doing this on i686-linux, and here's what I see: $ guix build gnome-session /gnu/store/sivy5ycg2pgncahyikrqfk60cvfg0vam-gnome-session-3.18.1.2 $ guix gc --references /gnu/store/sivy5ycg2pgncahyikrqfk60cvfg0vam-gnome-session-3.18.1.2 | grep glib /gnu/store/55pqh3wl085d4h033n41b7x0fg9djd1k-glib-2.46.1-bin [...] $ guix gc --references /gnu/store/55pqh3wl085d4h033n41b7x0fg9djd1k-glib-2.46.1-bin [...] /gnu/store/kkn66257xrrjhyhq332bndhjpz4d9x76-python-wrapper-3.4.3 [...] $ guix gc --references /gnu/store/kkn66257xrrjhyhq332bndhjpz4d9x76-python-wrapper-3.4.3 /gnu/store/qrg3jza3p5281p255cx0lsqk8snbb6pq-python-3.4.3 $ guix gc --references /gnu/store/qrg3jza3p5281p255cx0lsqk8snbb6pq-python-3.4.3 [...] /gnu/store/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f [...] $ guix build --log-file /gnu/store/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f https://hydra.gnu.org/log/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f Mark From unknown Tue Jun 24 20:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23132: Grafted system retains references to original store items Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Mar 2016 17:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23132 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 23132@debbugs.gnu.org Received: via spool by 23132-submit@debbugs.gnu.org id=B23132.145918773613578 (code B ref 23132); Mon, 28 Mar 2016 17:56:01 +0000 Received: (at 23132) by debbugs.gnu.org; 28 Mar 2016 17:55:36 +0000 Received: from localhost ([127.0.0.1]:42340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akbO4-0003Ww-HN for submit@debbugs.gnu.org; Mon, 28 Mar 2016 13:55:36 -0400 Received: from world.peace.net ([50.252.239.5]:55136 ident=hope1) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akbO3-0003Wo-9K for 23132@debbugs.gnu.org; Mon, 28 Mar 2016 13:55:35 -0400 Received: from pool-71-174-32-69.bstnma.east.verizon.net ([71.174.32.69] helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1akbNq-0000vE-0S; Mon, 28 Mar 2016 13:55:22 -0400 From: Mark H Weaver References: <877fgnuv7l.fsf@netris.org> <87h9fqr1po.fsf@gnu.org> Date: Mon, 28 Mar 2016 13:55:09 -0400 In-Reply-To: <87h9fqr1po.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 28 Mar 2016 18:45:07 +0200") Message-ID: <87wpomwkqq.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mark H Weaver skribis: > >> The gnome-session store item above was created by a grafting derivation, >> and all of the ones that follow (starting with glib-2.46.1-bin) are >> ungrafted derivations. The grafting derivation for gnome-session failed >> to include a mapping for glib-2.46.1-bin. > > I suppose this is on a private branch, right? Yes, but see where I reproduce the same problem from commit ffc13e753b on the master branch. From now on, I will use that commit during the investigation of this bug. > What does =E2=80=9Cguix build glib=E2=80=9D produce? Is the =E2=80=9Cbin= =E2=80=9D output of =E2=80=9Cglib=E2=80=9D > correctly grafted? It produces: /gnu/store/1my476c628x9kxa6pf2jlw8mhdlvr8xr-glib-2.46.1 /gnu/store/yw2yjlc1mgb4ga6m28nazxwjfh1d2p1n-glib-2.46.1-bin /gnu/store/mm05frzzxa55kl062c4qp44qli00jnm4-glib-2.46.1-doc which do not contain any references to the original openssl. I think that glib-2.46.1-bin might refer to the old perl, though. In any case, the grafted 'glib-2.46.1-bin' above is not the one that gnome-session refers to, and the mapping in gnome-session's guile-builder does not include any replacement for glib:bin. > Could you send > /gnu/store/60a5vinj56nhxzszfyayjjy61b303c8r-gnome-session-3.18.1.2-guile-= builder? Instead, I'll send the builder for gnome-session for i686-linux from commit ffc13e753b, which is: /gnu/store/sivy5ycg2pgncahyikrqfk60cvfg0vam-gnome-session-3.18.1.2, produced by: /gnu/store/99pcj42dc8w1pvv7xngm1ns1yf896ckk-gnome-session-3.18.1.2.drv with builder: /gnu/store/1rl6yiapmir0fsiw7ncpna3bjdqhj4pk-gnome-session-3.18.1.2-guile-= builder which contains: (begin (use-modules (guix build graft) (guix build utils) (ice-9 match)) (d= efine %output (getenv "out")) (define %outputs (map (lambda (o) (cons o (ge= tenv o))) (quote ("out")))) (define %build-inputs (quote (("x" . "/gnu/stor= e/2f25m1jyy7lvkjqgilza6bafbnv3k044-gnome-session-3.18.1.2") ("x" . "/gnu/st= ore/xd6qk8kad1466v9z74nmikhapz64cszp-graphite2-1.3.5") ("x" . "/gnu/store/b= 8sicbpsjabfhfszsajpfvjw8ynx97iw-perl-5.22.1") ("x" . "/gnu/store/dgyc74zakg= 110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f") ("x" . "/gnu/store/1146ja893l132cs1= dn4jkmb047pw6rsk-perl-5.22.1") ("x" . "/gnu/store/6zsdzk0w99d5xmpw50mgqj9nf= iwazpyx-gnome-desktop-3.18.1") ("x" . "/gnu/store/8s3k25609kj6cqfd737vd1y9w= qfr0zzl-harfbuzz-1.0.6") ("x" . "/gnu/store/h3vpr7k7c2h3n7ixddyvr22sbzy98vh= z-gtk+-3.18.2") ("x" . "/gnu/store/lhhgw9psfnf7c8sjax68sin7nqm3d2k0-cups-2.= 1.0") ("x" . "/gnu/store/bk3bplyp1cr6jv2hgv9d8cxlad3griqb-cups-filters-1.4.= 0") ("x" . "/gnu/store/2symxhixbs2rrhh59il0i8mlndl3x2d8-qpdf-5.1.3") ("x" .= "/gnu/store/sxxqvvrf3f679m939yps51ddz327q0dr-pango-1.38.1") ("x" . "/gnu/s= tore/zsaklr7zimhdnvb8z5yqld8jgqf31v9r-librsvg-2.40.13") ("x" . "/gnu/store/= 45j3scjfgz9ahlvn5lfqj2s0m2gkpdrk-graphite2-1.3.5") ("x" . "/gnu/store/h6bzc= v3a0r9zm37gsi62visvc8kwg02a-perl-5.22.1") ("x" . "/gnu/store/fbmkb0xiwnr182= 3053dxal87m45bpy60-openssl-1.0.2f") ("x" . "/gnu/store/iam2djqw4s2bcpff8nhb= sbkg7z73f3v3-perl-5.22.1") ("x" . "/gnu/store/m98ff01sc2bxz4lv3pc2yqc6hsljd= 4cv-gnome-desktop-3.18.1") ("x" . "/gnu/store/0wsn1h22xdnzplaajxhx59957xkwx= 103-harfbuzz-1.0.6") ("x" . "/gnu/store/w1h49ha77kgicf5i8yrbr3y1ijb2aqis-gt= k+-3.18.2") ("x" . "/gnu/store/87sjyxzjg22rbi7a234l828kns63mzsf-cups-2.1.0"= ) ("x" . "/gnu/store/rikq7ra0xfs4qx1kv1jx9azk1prmk0n2-cups-filters-1.4.0") = ("x" . "/gnu/store/qkh0m7ims01i3j57bkxyqq5m6q3zngy4-qpdf-5.1.3") ("x" . "/g= nu/store/xzfhlic6876skj953xa8phh1rhfmwi9i-pango-1.38.1") ("x" . "/gnu/store= /yyvjbdagvzzdy56fip7qsfwwij364fh4-librsvg-2.40.13")))) (unsetenv "GUILE_LOA= D_COMPILED_PATH") (unsetenv "LD_LIBRARY_PATH"))(exit (begin (let* ((old-out= puts (quote (("out" . "/gnu/store/2f25m1jyy7lvkjqgilza6bafbnv3k044-gnome-se= ssion-3.18.1.2")))) (mapping (append (quote (("/gnu/store/xd6qk8kad1466v9z7= 4nmikhapz64cszp-graphite2-1.3.5" . "/gnu/store/45j3scjfgz9ahlvn5lfqj2s0m2gk= pdrk-graphite2-1.3.5") ("/gnu/store/b8sicbpsjabfhfszsajpfvjw8ynx97iw-perl-5= .22.1" . "/gnu/store/h6bzcv3a0r9zm37gsi62visvc8kwg02a-perl-5.22.1") ("/gnu/= store/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f" . "/gnu/store/fbmkb0= xiwnr1823053dxal87m45bpy60-openssl-1.0.2f") ("/gnu/store/1146ja893l132cs1dn= 4jkmb047pw6rsk-perl-5.22.1" . "/gnu/store/iam2djqw4s2bcpff8nhbsbkg7z73f3v3-= perl-5.22.1") ("/gnu/store/6zsdzk0w99d5xmpw50mgqj9nfiwazpyx-gnome-desktop-3= .18.1" . "/gnu/store/m98ff01sc2bxz4lv3pc2yqc6hsljd4cv-gnome-desktop-3.18.1"= ) ("/gnu/store/8s3k25609kj6cqfd737vd1y9wqfr0zzl-harfbuzz-1.0.6" . "/gnu/sto= re/0wsn1h22xdnzplaajxhx59957xkwx103-harfbuzz-1.0.6") ("/gnu/store/h3vpr7k7c= 2h3n7ixddyvr22sbzy98vhz-gtk+-3.18.2" . "/gnu/store/w1h49ha77kgicf5i8yrbr3y1= ijb2aqis-gtk+-3.18.2") ("/gnu/store/lhhgw9psfnf7c8sjax68sin7nqm3d2k0-cups-2= .1.0" . "/gnu/store/87sjyxzjg22rbi7a234l828kns63mzsf-cups-2.1.0") ("/gnu/st= ore/bk3bplyp1cr6jv2hgv9d8cxlad3griqb-cups-filters-1.4.0" . "/gnu/store/rikq= 7ra0xfs4qx1kv1jx9azk1prmk0n2-cups-filters-1.4.0") ("/gnu/store/2symxhixbs2r= rhh59il0i8mlndl3x2d8-qpdf-5.1.3" . "/gnu/store/qkh0m7ims01i3j57bkxyqq5m6q3z= ngy4-qpdf-5.1.3") ("/gnu/store/sxxqvvrf3f679m939yps51ddz327q0dr-pango-1.38.= 1" . "/gnu/store/xzfhlic6876skj953xa8phh1rhfmwi9i-pango-1.38.1") ("/gnu/sto= re/zsaklr7zimhdnvb8z5yqld8jgqf31v9r-librsvg-2.40.13" . "/gnu/store/yyvjbdag= vzzdy56fip7qsfwwij364fh4-librsvg-2.40.13"))) (map (match-lambda ((name . fi= le) (cons (assoc-ref old-outputs name) file))) %outputs)))) (for-each (lamb= da (input output) (format #t "grafting '~a' -> '~a'...~%" input output) (fo= rce-output) (rewrite-directory input output mapping)) (match old-outputs ((= (names . files) ...) files)) (match %outputs (((names . files) ...) files))= )))) Mark From unknown Tue Jun 24 20:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23132: Grafted system retains references to original store items Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 May 2016 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23132 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Cc: 23132@debbugs.gnu.org Received: via spool by 23132-submit@debbugs.gnu.org id=B23132.14637602569456 (code B ref 23132); Fri, 20 May 2016 16:05:01 +0000 Received: (at 23132) by debbugs.gnu.org; 20 May 2016 16:04:16 +0000 Received: from localhost ([127.0.0.1]:59245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3muO-0002SS-9j for submit@debbugs.gnu.org; Fri, 20 May 2016 12:04:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3muM-0002SD-6m for 23132@debbugs.gnu.org; Fri, 20 May 2016 12:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3muC-0002hv-TL for 23132@debbugs.gnu.org; Fri, 20 May 2016 12:04:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3muC-0002hg-Q7; Fri, 20 May 2016 12:04:04 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:36926 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3muA-00006u-Ha; Fri, 20 May 2016 12:04:03 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <877fgnuv7l.fsf@netris.org> <87h9fqr1po.fsf@gnu.org> <87wpomwkqq.fsf@netris.org> Date: Fri, 20 May 2016 18:03:59 +0200 In-Reply-To: <87wpomwkqq.fsf@netris.org> (Mark H. Weaver's message of "Mon, 28 Mar 2016 13:55:09 -0400") Message-ID: <87lh34emxc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) Mark H Weaver skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] >> What does =E2=80=9Cguix build glib=E2=80=9D produce? Is the =E2=80=9Cbi= n=E2=80=9D output of =E2=80=9Cglib=E2=80=9D >> correctly grafted? > > It produces: > > /gnu/store/1my476c628x9kxa6pf2jlw8mhdlvr8xr-glib-2.46.1 > /gnu/store/yw2yjlc1mgb4ga6m28nazxwjfh1d2p1n-glib-2.46.1-bin > /gnu/store/mm05frzzxa55kl062c4qp44qli00jnm4-glib-2.46.1-doc The problem we have (also with currentish master) is that the grafted glib refers to the non-grafted one: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build glib --no-grafts /gnu/store/nnbd3mbb7cyzj3f9hmm84jwmhslx8jd1-glib-2.48.0-bin /gnu/store/ijpqwljxn2j9nimjqnds58m2dzlcxf1g-glib-2.48.0-doc /gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka1hmsg-glib-2.48.0 $ ./pre-inst-env guix build glib /gnu/store/40s3d59ig936fnqivyps3fwjzgm6m864-glib-2.48.0-bin /gnu/store/fc5pcy9cj4r8plf7sxhykz3k7z03p22y-glib-2.48.0-doc /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0 $ guix gc --references /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.4= 8.0|grep glib- /gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka1hmsg-glib-2.48.0 /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0 --8<---------------cut here---------------end--------------->8--- It took me a while to find out where that reference came from. Since =E2=80=98grep -r=E2=80=99 returned nothing, I resorted to =E2=80=98guix arc= hive --export=E2=80=99 searched for =E2=80=9C6m4xdh1rj3np9w2fikf8wlq6lka1hmsg=E2=80=9D in the resu= lt, and found: --8<---------------cut here---------------start------------->8--- $ find /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0 -name \*gdb.= py /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0/share/gdb/auto-load= /gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka1hmsg-glib-2.48.0/lib/libgobject-2.0.= so.0.4800.0-gdb.py /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0/share/gdb/auto-load= /gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka1hmsg-glib-2.48.0/lib/libglib-2.0.so.= 0.4800.0-gdb.py --8<---------------cut here---------------end--------------->8--- So we need an extra pass in (guix build grafts) to rename files whose name appears in the mapping. I=E2=80=99ll try to get it done soonish. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 12:04:34 2016 Received: (at control) by debbugs.gnu.org; 20 May 2016 16:04:34 +0000 Received: from localhost ([127.0.0.1]:59248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3mug-0002Sw-Lr for submit@debbugs.gnu.org; Fri, 20 May 2016 12:04:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3muf-0002Sl-H1 for control@debbugs.gnu.org; Fri, 20 May 2016 12:04:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3muV-0002nA-4E for control@debbugs.gnu.org; Fri, 20 May 2016 12:04:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3muV-0002mk-1S for control@debbugs.gnu.org; Fri, 20 May 2016 12:04:23 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:36928 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3muT-0000SC-7D for control@debbugs.gnu.org; Fri, 20 May 2016 12:04:21 -0400 Date: Fri, 20 May 2016 18:04:19 +0200 Message-Id: <87k2ioemws.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #23132 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) severity 23132 important From unknown Tue Jun 24 20:55:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mark H Weaver Subject: bug#23132: closed (Re: bug#23132: Grafted system retains references to original store items) Message-ID: References: <87shxcuwrx.fsf@gnu.org> <877fgnuv7l.fsf@netris.org> X-Gnu-PR-Message: they-closed 23132 X-Gnu-PR-Package: guix Reply-To: 23132@debbugs.gnu.org Date: Fri, 20 May 2016 23:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1463787482-24328-1" This is a multi-part message in MIME format... ------------=_1463787482-24328-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23132: Grafted system retains references to original store items which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23132@debbugs.gnu.org. --=20 23132: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23132 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1463787482-24328-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23132-done) by debbugs.gnu.org; 20 May 2016 23:37:06 +0000 Received: from localhost ([127.0.0.1]:59396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3tyb-0006JH-PB for submit@debbugs.gnu.org; Fri, 20 May 2016 19:37:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3tya-0006Il-CR for 23132-done@debbugs.gnu.org; Fri, 20 May 2016 19:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3tyQ-00055k-Se for 23132-done@debbugs.gnu.org; Fri, 20 May 2016 19:36:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3tyQ-00054d-PU; Fri, 20 May 2016 19:36:54 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:52852 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3tyO-0004gY-Ux; Fri, 20 May 2016 19:36:53 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#23132: Grafted system retains references to original store items References: <877fgnuv7l.fsf@netris.org> <87h9fqr1po.fsf@gnu.org> <87wpomwkqq.fsf@netris.org> <87lh34emxc.fsf@gnu.org> Date: Sat, 21 May 2016 01:36:50 +0200 In-Reply-To: <87lh34emxc.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 20 May 2016 18:03:59 +0200") Message-ID: <87shxcuwrx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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: -6.4 (------) X-Debbugs-Envelope-To: 23132-done Cc: 23132-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Mark H Weaver skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: > > [...] > >>> What does =E2=80=9Cguix build glib=E2=80=9D produce? Is the =E2=80=9Cb= in=E2=80=9D output of =E2=80=9Cglib=E2=80=9D >>> correctly grafted? >> >> It produces: >> >> /gnu/store/1my476c628x9kxa6pf2jlw8mhdlvr8xr-glib-2.46.1 >> /gnu/store/yw2yjlc1mgb4ga6m28nazxwjfh1d2p1n-glib-2.46.1-bin >> /gnu/store/mm05frzzxa55kl062c4qp44qli00jnm4-glib-2.46.1-doc > > The problem we have (also with currentish master) is that the grafted > glib refers to the non-grafted one: > > $ ./pre-inst-env guix build glib --no-grafts > /gnu/store/nnbd3mbb7cyzj3f9hmm84jwmhslx8jd1-glib-2.48.0-bin > /gnu/store/ijpqwljxn2j9nimjqnds58m2dzlcxf1g-glib-2.48.0-doc > /gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka1hmsg-glib-2.48.0 > $ ./pre-inst-env guix build glib > /gnu/store/40s3d59ig936fnqivyps3fwjzgm6m864-glib-2.48.0-bin > /gnu/store/fc5pcy9cj4r8plf7sxhykz3k7z03p22y-glib-2.48.0-doc > /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0 > $ guix gc --references /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2= .48.0|grep glib- > /gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka1hmsg-glib-2.48.0 > /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0 > > It took me a while to find out where that reference came from. Since > =E2=80=98grep -r=E2=80=99 returned nothing, I resorted to =E2=80=98guix a= rchive --export=E2=80=99 > searched for =E2=80=9C6m4xdh1rj3np9w2fikf8wlq6lka1hmsg=E2=80=9D in the re= sult, and > found: > > $ find /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0 -name \*gd= b.py > /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0/share/gdb/auto-lo= ad/gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka1hmsg-glib-2.48.0/lib/libgobject-2.= 0.so.0.4800.0-gdb.py > /gnu/store/vvdqmpm5biq2x3pw4s142qpcla2ryvax-glib-2.48.0/share/gdb/auto-lo= ad/gnu/store/6m4xdh1rj3np9w2fikf8wlq6lka1hmsg-glib-2.48.0/lib/libglib-2.0.s= o.0.4800.0-gdb.py > > So we need an extra pass in (guix build grafts) to rename files whose > name appears in the mapping. Fixed in ece6864bd04fc2f9ff86fd4ac9cb0712dd71c094. Ludo=E2=80=99. ------------=_1463787482-24328-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Mar 2016 03:40:49 +0000 Received: from localhost ([127.0.0.1]:40667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akO2r-0006Xd-1k for submit@debbugs.gnu.org; Sun, 27 Mar 2016 23:40:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akO2p-0006XO-F6 for submit@debbugs.gnu.org; Sun, 27 Mar 2016 23:40:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akO2j-0006Gm-0D for submit@debbugs.gnu.org; Sun, 27 Mar 2016 23:40:42 -0400 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,WEIRD_QUOTING autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akO2i-0006Gi-Tk for submit@debbugs.gnu.org; Sun, 27 Mar 2016 23:40:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akO2h-0002n8-Jh for bug-guix@gnu.org; Sun, 27 Mar 2016 23:40:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akO2b-0006G1-Ew for bug-guix@gnu.org; Sun, 27 Mar 2016 23:40:39 -0400 Received: from world.peace.net ([50.252.239.5]:52551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akO2b-0006Ex-9Z for bug-guix@gnu.org; Sun, 27 Mar 2016 23:40:33 -0400 Received: from pool-71-174-32-69.bstnma.east.verizon.net ([71.174.32.69] helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1akO2F-00050g-M1; Sun, 27 Mar 2016 23:40:13 -0400 From: Mark H Weaver To: bug-guix@gnu.org Subject: Grafted system retains references to original store items Date: Sun, 27 Mar 2016 23:39:42 -0400 Message-ID: <877fgnuv7l.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) While testing my preliminary work on grafting improvements, I discovered that my current system is retaining references to the original flawed openssl-1.0.2f. One path of references goes like this: /gnu/store/pnbljdp1hpsvnbgqfl8bws7lpj7pm8cb-system -> /gnu/store/bzdhckvz4sms136fw64pvyhajawdb8ri-profile -> /gnu/store/dhrgkq1zfkkc5rnz51qlshakapsa2sgm-gnome-session-3.18.1.2 -> /gnu/store/55pqh3wl085d4h033n41b7x0fg9djd1k-glib-2.46.1-bin -> /gnu/store/kkn66257xrrjhyhq332bndhjpz4d9x76-python-wrapper-3.4.3 -> /gnu/store/qrg3jza3p5281p255cx0lsqk8snbb6pq-python-3.4.3 -> /gnu/store/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f The gnome-session store item above was created by a grafting derivation, and all of the ones that follow (starting with glib-2.46.1-bin) are ungrafted derivations. The grafting derivation for gnome-session failed to include a mapping for glib-2.46.1-bin. mhw@jojen:~$ guix build --log-file /gnu/store/dgyc74zakg110dxj67z3mj9g1vk= 8l4xp-openssl-1.0.2f https://hydra.gnu.org/log/dgyc74zakg110dxj67z3mj9g1vk8l4xp-openssl-1.0.2f Here's the .drv file for the gnome-session store item above: mhw@jojen:~$ guix build --log-file /gnu/store/dhrgkq1zfkkc5rnz51qlshakaps= a2sgm-gnome-session-3.18.1.2 /var/log/guix/drvs/b9/n4f67h7fi7l3g5brws2bxlpfx9qvgb-gnome-session-3.18.1= .2.drv.bz2 mhw@jojen:~$ bzcat /var/log/guix/drvs/b9/n4f67h7fi7l3g5brws2bxlpfx9qvgb-g= nome-session-3.18.1.2.drv.bz2 grafting '/gnu/store/2f25m1jyy7lvkjqgilza6bafbnv3k044-gnome-session-3.18.= 1.2' -> '/gnu/store/dhrgkq1zfkkc5rnz51qlshakapsa2sgm-gnome-session-3.18.1.2= '... mhw@jojen:~$ cat /gnu/store/b9n4f67h7fi7l3g5brws2bxlpfx9qvgb-gnome-sessio= n-3.18.1.2.drv Derive([("out","/gnu/store/dhrgkq1zfkkc5rnz51qlshakapsa2sgm-gnome-session= -3.18.1.2","","")],[("/gnu/store/01fyw4i0n31jlc96bwfqc1k9nf0qpj9f-harfbuzz-= 1.0.6.drv",["out"]),("/gnu/store/023cbj8wlhqmzi0mcn4gkrbnya931a4v-gtk+-3.18= .2.drv",["out"]),("/gnu/store/060zw0zzaavja4nmd6qwj1ik5gnx603l-cups-2.1.0.d= rv",["out"]),("/gnu/store/0h6js55xwls65g2v4dmg847xbdxcpk29-librsvg-2.40.13.= drv",["out"]),("/gnu/store/0k7ghiwfsm2d35jn2hmlylkw1d61lyc4-cups-filters-1.= 4.0.drv",["out"]),("/gnu/store/0m8lfd0y29jhffm3k4r5260282z06r0r-module-impo= rt-compiled.drv",["out"]),("/gnu/store/1s6fgn054951yv4bqlpr0vdqb9qvmbkm-pan= go-1.38.1.drv",["out"]),("/gnu/store/3lchcs3vm4a6r4lknhc0dvc0v0fq1sas-gtk+-= 3.18.2.drv",["out"]),("/gnu/store/50bb3x82p2hzi9qhmj7qlnzxa3x6xsim-gnome-de= sktop-3.18.1.drv",["out"]),("/gnu/store/64kkvvcm0zks5cysg89gkcw6a69g5pp2-qp= df-5.1.3.drv",["out"]),("/gnu/store/72qn0wwgdkv8011c1cdrwjbwbqkw1kn1-graphi= te2-1.3.5.drv",["out"]),("/gnu/store/7l31sjng02yzrl05ki1i16j5mx60lkcy-pango= -1.38.1.drv",["out"]),("/gnu/store/9hh2cmj6zabrr7acdmq03bmzsa12vrxp-perl-5.= 22.1.drv",["out"]),("/gnu/store/a2n2jp4q8yp2ss2dgk3av0bkyqkhjiz1-cups-filte= rs-1.4.0.drv",["out"]),("/gnu/store/bzp5jkh7xgbjb1i2mm0is9bkx7p3fp7f-harfbu= zz-1.0.6.drv",["out"]),("/gnu/store/fi41w9iaxi7fm22w55zj86yjbhs8fqf9-openss= l-1.0.2f.drv",["out"]),("/gnu/store/fr65rd4r3rlch9r41cvf266wxcqmfbfj-gnome-= session-3.18.1.2.drv",["out"]),("/gnu/store/gh2rxq397g7qmjpsg0qcni6pdnrp93a= 2-graphite2-1.3.5.drv",["out"]),("/gnu/store/i6yfwxiqn3awwg6fh44m5mw8hkq1c0= jh-openssl-1.0.2f.drv",["out"]),("/gnu/store/imin0ijzdfg3pw2nirjwsxg086yxx4= p2-module-import.drv",["out"]),("/gnu/store/lmxk7qlhqmycd3194d51m97spbhr06d= h-perl-5.22.1.drv",["out"]),("/gnu/store/mh24bqnzini70k5s74j816q4jyqf2zmj-p= erl-5.22.1.drv",["out"]),("/gnu/store/nrw3x5vmk4fygvs7vgpci4pyhl6lwwkd-guil= e-2.0.11.drv",["out"]),("/gnu/store/r54za3ymsl5jlshhm9x8l1c590fgp68n-cups-2= .1.0.drv",["out"]),("/gnu/store/riwksncgzzy1hfliarp6hlrvzgkk3285-perl-5.22.= 1.drv",["out"]),("/gnu/store/yp83gnlzc3kv8w338pij90rasr5bysx9-qpdf-5.1.3.dr= v",["out"]),("/gnu/store/zv162a9wn4752cfx7112c6whd7hsdx7k-gnome-desktop-3.1= 8.1.drv",["out"]),("/gnu/store/zvl8f5d1vh7l19almlkqfgx6ig4qgh78-librsvg-2.4= 0.13.drv",["out"])],["/gnu/store/60a5vinj56nhxzszfyayjjy61b303c8r-gnome-ses= sion-3.18.1.2-guile-builder"],"i686-linux","/gnu/store/77ipqajm5fyawv6fqrpm= 232k4qp6flik-guile-2.0.11/bin/guile",["--no-auto-compile","-L","/gnu/store/= 6xy20xcbxl6yzp5p2g28ly06yc36cxbl-module-import","/gnu/store/60a5vinj56nhxzs= zfyayjjy61b303c8r-gnome-session-3.18.1.2-guile-builder"],[("GUILE_LOAD_COMP= ILED_PATH","/gnu/store/lnixf02i03307hn5icfax083nal12bks-module-import-compi= led"),("out","/gnu/store/dhrgkq1zfkkc5rnz51qlshakapsa2sgm-gnome-session-3.1= 8.1.2"),("preferLocalBuild","1")]) Mark ------------=_1463787482-24328-1--