unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [PATCH 0/1] Grafting problem with libxml2
Date: Tue, 24 May 2016 23:24:19 -0400	[thread overview]
Message-ID: <cover.1464146347.git.leo@famulari.name> (raw)

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

             reply	other threads:[~2016-05-25  3:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25  3:24 Leo Famulari [this message]
2016-05-25  3:24 ` [PATCH 1/1] gnu: python-libxml2: Don't use as replacement for libxml2 Leo Famulari
2016-05-25 17:55   ` Mark H Weaver
2016-05-25 22:02 ` [PATCH 0/1] Grafting problem with libxml2 Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1464146347.git.leo@famulari.name \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).