all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 宋文武 <iyzsong@gmail.com>
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] gnu: libxml2: Build python bindings separately.
Date: Sun, 31 May 2015 10:29:21 +0800	[thread overview]
Message-ID: <87d21hlbsu.fsf@gmail.com> (raw)
In-Reply-To: <87d21iuk0r.fsf@netris.org>

Mark H Weaver <mhw@netris.org> writes:

> 宋文武 <iyzsong@gmail.com> writes:
>
>> * gnu/packages/xml.scm (libxml2)[native-inputs]: Remove python.
>>   [arguments]: Remove.
>>   (python-libxml2, python2-libxml): New variables.
>> ---
>>  gnu/packages/xml.scm | 53 ++++++++++++++++++++++++++++++----------------------
>>  1 file changed, 31 insertions(+), 22 deletions(-)
>>
>> diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
>> index a4c81b2..22d4e52 100644
>> --- a/gnu/packages/xml.scm
>> +++ b/gnu/packages/xml.scm
>
> [...]
>
>> +(define-public python2-libxml
>> +  (package-with-python2 python-libxml2))
>> +
>
> Due to non-obvious complications arising from the fact that xml.scm and
> python.scm are mutually dependent on each other, we can't use
> 'package-with-python2' from xml.scm.  For now, I suggest moving it to
> python.scm, where all other uses of 'package-with-python2' are currently
> located.
>
> For an explanation, see:
>
> https://lists.gnu.org/archive/html/guix-devel/2014-12/msg00355.html
Thanks for explainging, but when I put it into python.scm,
I got "Unbound variable: libxml2" when running:
  $ ./pre-inst-env guix package -i python2-libxml
or:
  $ make
but not:
  $ ./pre-inst-env guix build python2-libxml

Any ideas? Thanks!

  reply	other threads:[~2015-05-31  2:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-30  9:12 [PATCH 1/2] gnu: libxml2: Update to 2.9.2 宋文武
2015-05-30  9:12 ` [PATCH 2/2] gnu: libxml2: Build python bindings separately 宋文武
2015-05-30 16:07   ` Mark H Weaver
2015-05-31  2:29     ` 宋文武 [this message]
2015-05-31 16:57       ` Mark H Weaver
2015-06-01  1:01         ` 宋文武
2015-05-30 16:00 ` [PATCH 1/2] gnu: libxml2: Update to 2.9.2 Mark H Weaver
2015-05-31  2:20   ` 宋文武

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

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

  git send-email \
    --in-reply-to=87d21hlbsu.fsf@gmail.com \
    --to=iyzsong@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.