From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 0/1] Grafting problem with libxml2 Date: Tue, 24 May 2016 23:24:19 -0400 Message-ID: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5PR1-0008Q2-2K for guix-devel@gnu.org; Tue, 24 May 2016 23:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5PQw-0000o4-Rg for guix-devel@gnu.org; Tue, 24 May 2016 23:24:37 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:57624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5PQv-0000no-I7 for guix-devel@gnu.org; Tue, 24 May 2016 23:24:34 -0400 Received: from localhost.localdomain (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 25BE4F2842 for ; Tue, 24 May 2016 23:24:24 -0400 (EDT) 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: guix-devel@gnu.org In 493e9a5a8f we fixed some bugs in libxml2 with a graft. Later, I couldn't reconfigure my GuixSD system, due to an error like this: ERROR: invalid replacement "/gnu/store/3szw4bvhlm0pv9fm6vhmzzdj64d7gvr6-python2-libxml2-2.9.3" "/gnu/store/5pp4pv6k8hhx2fgx62d40c028lszr8ga-libxml2-2.9.3" Python-libxml2 inherits from libxml2, so it seems that it needs (replacement #f), as in this patch. With this patch, I can reconfigure my system. Also, python-libxml2 does refer to the grafted libxml2, as expected: $ ./pre-inst-env guix build --no-grafts libxml2 /gnu/store/7lxgrhmfgdd303gslaxazmmdv6n1nf77-libxml2-2.9.3 $ ./pre-inst-env guix build libxml2 /gnu/store/5pp4pv6k8hhx2fgx62d40c028lszr8ga-libxml2-2.9.3 $ guix gc --references $(./pre-inst-env guix build python-libxml2) /gnu/store/5pp4pv6k8hhx2fgx62d40c028lszr8ga-libxml2-2.9.3 /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22 /gnu/store/9vjcfcmyi549hpkyqrasz507rwc388xx-python-3.4.3 /gnu/store/d97bqdh5ackjfv0zhmkcb169c0gryywh-python-libxml2-2.9.3 /gnu/store/hsxhfmjgh8m4c0pavq3gd3gcrn8zrgxj-zlib-1.2.8 /gnu/store/v39bh3ln3ncnzhyw0kd12d46kww9747v-gcc-4.9.3-lib It seems like the right thing to do to me. What do you think? Leo Famulari (1): gnu: python-libxml2: Don't use as replacement for libxml2. gnu/packages/xml.scm | 1 + 1 file changed, 1 insertion(+) -- 2.8.3