Paste number 139608: python-lxml, cython not found.

Paste number 139608: python-lxml, cython not found.
Pasted by: gzg
When:8 years, 1 month ago
Share:Tweet this! | http://paste.lisp.org/+2ZQ0
Channel:None
Paste contents:
Raw Source | XML | Display As
;;; GNU Guix --- Functional package management for GNU
;;; Copyright (C) 2013, Guy Grant <gzg@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages mediagoblin)
   #:use-module (guix licenses)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages python)
   #:use-module (gnu packages sqlite))

(define-public python-virtualenv
  (package
    (name "python-virtualenv")
    (version "1.10.1")
    (source (origin
             (method url-fetch)
	     (uri (string-append "https://pypi.python.org/packages/source/v/virtualenv/virtualenv-" 
                                  version ".tar.gz"))
             (sha256
	      (base32 "19qagf08l5yy5byn3al110q34m49sd9prqy2vicd1iwykgb4jx45"))))
    (build-system python-build-system)
    (arguments
     `(#:python ,python-2 
       #:tests? #f))
    (home-page "http://www.virtualenv.org")
    (synopsis "Virtual Python Environment builder")
    (description 
     "Virtualenv is a tool to create isolated Python environments. The basic problem
being addressed is one of depeendencies and versions, and indirectly permissions.")
    (license "x11")))

(define-public python-imaging
  (package
    (name "python-imaging")
    (version "1.1.7")
    (source (origin
             (method url-fetch)
	     (uri (string-append "http://effbot.org/media/downloads/Imaging-" 
                                  version ".tar.gz"))
             (sha256
	      (base32 "04aj80jhfbmxqzvmq40zfi4z3cw6vi01m3wkk6diz3lc971cfnw9"))))
    (build-system python-build-system)
    (arguments
     `(#:python ,python-2        #:tests? #f))
    (home-page "http://www.pythonware.com/products/pil")
    (synopsis "Python Imaging Library")
    (description 
     "The Python Imaging Library (PIL) adds image processing capabilities to your
Python interpreter. This library supports many file formats, and provides powerful
image processing and graphics capabilities.")
    (license "x11"))) ;;python, mit style.

(define-public python-cssselect
  (package
    (name "python-cssselect")
    (version "0.9.1")
    (source (origin
             (method url-fetch)
	     (uri (string-append "https://pypi.python.org/packages/source/c/cssselect/cssselect-"
                                  version ".tar.gz"))
             (sha256
	      (base32 "10h623qnp6dp1191jri7lvgmnd4yfkl36k9smqklp1qlf3iafd85"))))
    (build-system python-build-system)
    (arguments
     `(#:python ,python-2 
       #:tests? #f))
    (home-page "http://pypi.python.org/pypi/cssselect")
    (synopsis "Python2 library that parses CSS3 Selectors and translates them to XPath 1.0")
    (description 
     "Cssselect parses CSS3 Selectors and translate them to XPath 1.0 expressions.
Such expressions can be used in lxml or another XPath engine to find the matching
elements in an XML or HTML document.")
    (license "bsd-3"))) ;really v3?

(define-public python-lxml
  (package
    (name "python-lxml")
    (version "3.2.3")
    (source (origin
             (method url-fetch)
	     (uri (string-append "http://lxml.de/files/lxml-"
                                  version ".tgz"))
             (sha256
	      (base32 "1phas7rvssq5jxjpdixlhp2mwy5pwb981h39xjic3bwfja7l595y"))))
    (build-system python-build-system)
    (inputs  `(("libxslt" ,libxslt)
               ("libxml2" ,libxml2)))
    (arguments
     `(#:python ,python-2 
       #:tests? #f))
    (home-page "http://lxml.de/")
    (synopsis "Python2 binding for the libxml2 and libxslt libraries")
    (description 
     "The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and
libxslt. It is unique in that it combines the speed and XML feature completeness
of these libraries with the simplicity of a native Python API, mostly compatible
but superior to the well-known ElementTree API.")
    (license "bsd-3"))) ;bsd custom, but custom how?

(define-public mediagoblin
  (package
    (name "mediagoblin")
    (version "0.5.1")
    (source (origin
             (method url-fetch)
	     (uri (string-append "http://mediagoblin.org/download/mediagoblin-" 
                                  version ".tar.gz"))
             (sha256
	      (base32 "0m6h6q6jsdml6sw4hr6arrm4qn2bdfmsspyvjvc90h24p1kvcr59"))))
    (build-system gnu-build-system)
    (inputs 
     `(("python" ,python-2)
       ("python-imaging" ,python-imaging)
       ("python-lxml" ,python-lxml)
       ("python-virtualenv" ,python-virtualenv)
       ("sqlite" ,sqlite)))
    ;Need to run bootstrap, before configure phase.
    ;; (arguments 
    ;;  `(#:phases (alist-cons-before
    ;;              'configure 'pre-configure
    ;;              )))           
    (home-page "http://www.mediagoblin.org")
    (synopsis "Media publishing platform")
    (description 
     "Mediagoblin is a free software media publishing platform that anyone can run.
You can think of it as a decentralized alternative to Flickr, Youtube, Soundcloud, etc.") 
    (license "agpl3")))


------------------------------------------------------------
starting phase `patch'
phase `patch' succeeded after 0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./doc/rest2html.py: changing `/usr/bin/python' to `/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/bin/python'
patch-shebang: ./doc/rest2latex.py: changing `/usr/bin/python' to `/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/bin/python'
patch-shebang: ./ez_setup.py: changing `python' to `/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/bin/python'
patch-shebang: ./test.py: warning: no binary for interpreter `python2.3' found in $PATH
patch-shebang: ./update-error-constants.py: changing `/usr/bin/env python' to `/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/bin/python'
phase `patch-source-shebangs' succeeded after 0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0 seconds
starting phase `build'
running "python setup.py" with command "build" and parameters ()
Building lxml version 3.2.3.
Building without Cython.
Traceback (most recent call last):
  File "setup.py", line 218, in <module>
    **setup_extra_options()
  File "setup.py", line 130, in setup_extra_options
    STATIC_CFLAGS, STATIC_BINARIES)
  File "/tmp/nix-build-python-lxml-3.2.3.drv-0/lxml-3.2.3/setupinfo.py", line 89, in ext_modules
    lib_versions = get_library_versions()
  File "/tmp/nix-build-python-lxml-3.2.3.drv-0/lxml-3.2.3/setupinfo.py", line 286, in get_library_versions
    xslt_version = run_command(find_xslt_config(), "--version")
  File "/tmp/nix-build-python-lxml-3.2.3.drv-0/lxml-3.2.3/setupinfo.py", line 275, in run_command
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/lib/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
phase `build' failed after 0 seconds
builder for `/nix/store/vz577v1smvy6jpf45f518ra49nnm3far-python-lxml-3.2.3.drv' failed with exit code 1
@ build-failed /nix/store/vz577v1smvy6jpf45f518ra49nnm3far-python-lxml-3.2.3.drv - 1 builder for `/nix/store/vz577v1smvy6jpf45f518ra49nnm3far-python-lxml-3.2.3.drv' failed with exit code 1
guix build: error: build failed: build of `/nix/store/vz577v1smvy6jpf45f518ra49nnm3far-python-lxml-3.2.3.drv' failed

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.