guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

asdf-build-system: Problem running tests for cl-unicode


From: Ricardo Wurmus
Subject: asdf-build-system: Problem running tests for cl-unicode
Date: Thu, 29 Dec 2016 17:30:53 +0100
User-agent: mu4e 0.9.18; emacs 25.1.1

Hi,

I’m trying to build a package for sbcl-cl-unicode, which I need for a JS
uglifier (to be able to generate minified JS files in other packages’
build processes).

Unfortunately, the tests fail with

    "The name NIL does not designate any package."

“cl-unicode” seems to have more problems.  When I ignore the tests and
try to build “sbcl-cl-ppcre-unicode” (see below), I get an error about
“CL-UNICODE” not designating any package.

Here’s the definition of “sbcl-cl-ppcre-unicode”:

(define-public sbcl-cl-ppcre-unicode
  (package (inherit sbcl-cl-ppcre)
    (name "sbcl-cl-ppcre-unicode")
    (arguments
     `(#:asd-file "cl-ppcre-unicode.asd"))
    (inputs
     `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
       ("sbcl-cl-unicode" ,sbcl-cl-unicode)))))

Attached is the patch for “sbcl-cl-unicode”.

>From 3633ecb568c6dc3ca46758796470f7154ccae70d Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Thu, 29 Dec 2016 17:26:40 +0100
Subject: [PATCH] WIP gnu: Add sbcl-cl-unicode.

* gnu/packages/lisp.scm (sbcl-cl-unicode): New variable.
---
 gnu/packages/lisp.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index ec0bdaaa5..35faa2459 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -702,6 +702,33 @@ compatible with ANSI-compliant Common Lisp 
implementations.")
 (define-public ecl-cl-ppcre
   (sbcl-package->ecl-package sbcl-cl-ppcre))
 
+(define-public sbcl-cl-unicode
+  (package
+    (name "sbcl-cl-unicode")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/edicl/cl-unicode/";
+                           "archive/v" version ".tar.gz"))
+       (file-name (string-append "cl-unicode-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1qvy6wfyvn0n4hscg75q4004q98h2k0gwf7n157ckhrka7d1v7wy"))))
+    (build-system asdf-build-system/sbcl)
+    ;; FIXME: Tests fail to load:
+    ;; "The name NIL does not designate any package."
+    ;(arguments `(#:tests? #f))
+    (native-inputs
+     `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
+       ("tests:cl-flexi-streams" ,sbcl-flexi-streams)))
+    (home-page "http://weitz.de/cl-unicode/";)
+    (synopsis "Portable Unicode library for Common Lisp")
+    (description "CL-UNICODE is a portable Unicode library Common Lisp, which
+is compatible with perl.  It is pretty fast, thread-safe, and compatible with
+ANSI-compliant Common Lisp implementations.")
+    (license license:bsd-2)))
+
 (define-public sbcl-clx
   (let ((revision "1")
         (commit "1c62774b03c1cf3fe6e5cb532df8b14b44c96b95"))
-- 
2.11.0

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
http://elephly.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]