GNU bug report logs - #36393
[PATCH] gnu: Add sbcl-dexador.

Previous Next

Package: guix-patches;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Wed, 26 Jun 2019 11:46:02 UTC

Severity: normal

Tags: patch

Done: Pierre Neidhardt <mail <at> ambrevar.xyz>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36393 in the body.
You can then email your comments to 36393 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#36393; Package guix-patches. (Wed, 26 Jun 2019 11:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 26 Jun 2019 11:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add sbcl-dexador.
Date: Wed, 26 Jun 2019 13:44:52 +0200
* gnu/packages/lisp.scm (sbcl-dexador): New variable.
---
 gnu/packages/lisp.scm | 53 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 58813c2d84..6be8386bce 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -5996,3 +5996,56 @@ cookie headers, cookie creation, cookie jar creation and more.")
       (description "cl-cookie is a Common Lisp library featuring parsing of
 cookie headers, cookie creation, cookie jar creation and more.")
       (license license:bsd-2))))
+
+(define-public sbcl-dexador
+  (let ((commit "a2714d126cc94bc7a9a6e1e3c08de455b3a66378")
+        (revision "1"))
+    (package
+      (name "sbcl-dexador")
+      (build-system asdf-build-system/sbcl)
+      (version (git-version "0.9.10" revision commit))
+      (home-page "https://github.com/fukamachi/dexador")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0nbqgn4v3l2z6m1k1bdxfnqpfrk84nxdmz7csz11zzcfs4flkv79"))))
+      (inputs
+       `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
+         ("babel" ,sbcl-babel)
+         ("usocket" ,sbcl-usocket)
+         ("fast-http" ,sbcl-fast-http)
+         ("quri" ,sbcl-quri)
+         ("fast-io" ,sbcl-fast-io)
+         ("chunga" ,sbcl-chunga)
+         ("cl-ppcre" ,sbcl-cl-ppcre)
+         ("cl-cookie" ,sbcl-cl-cookie)
+         ("trivial-mimes" ,sbcl-trivial-mimes)
+         ("chipz" ,sbcl-chipz)
+         ("cl-base64" ,sbcl-cl-base64)
+         ("cl-reexport" ,sbcl-cl-reexport)
+         ("cl+ssl" ,sbcl-cl+ssl)
+         ("bordeaux-threads" ,sbcl-bordeaux-threads)
+         ("alexandria" ,sbcl-alexandria)))
+      (native-inputs
+       `(("prove" ,sbcl-prove)
+         ("prove-asdf" ,sbcl-prove-asdf)
+         ("lack-request" ,sbcl-lack-request)
+         ("clack" ,sbcl-clack)
+         ("babel" ,sbcl-babel)
+         ("alexandria" ,sbcl-alexandria)
+         ("quri" ,sbcl-quri)
+         ("cl-ppcre" ,sbcl-cl-ppcre)
+         ("local-time" ,sbcl-local-time)))
+      (arguments
+       ;; TODO: Circular dependency: tests depend on clack-test which depends on dexador.
+       `(#:tests? #f))
+      (synopsis "Yet another HTTP client for Common Lisp")
+      (description "Dexador is yet another HTTP client for Common Lisp with
+neat APIs and connection-pooling.  It is meant to supersede Drakma.")
+      (license license:expat))))
-- 
2.21.0





Information forwarded to guix-patches <at> gnu.org:
bug#36393; Package guix-patches. (Wed, 26 Jun 2019 11:48:01 GMT) Full text and rfc822 format available.

Message #8 received at 36393 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 36393 <at> debbugs.gnu.org
Cc: Andy Patterson <ajpatter <at> uwaterloo.ca>,
 Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
Subject: Re: bug#36393: Acknowledgement ([PATCH] gnu: Add sbcl-dexador.)
Date: Wed, 26 Jun 2019 13:47:43 +0200
[Message part 1 (text/plain, inline)]
This one does not build and fails during the reset-gzip-timestamps
phase.
Excerpt from the log:

#+begin_src log
phase `install-license-files' succeeded after 0.0 seconds
starting phase `reset-gzip-timestamps'
Backtrace:
          10 (primitive-load "/gnu/store/x8mkcdn21m1n9zwwy6n6ap8bcw9…")
In ice-9/eval.scm:
   191:35  9 (_ _)
In ice-9/boot-9.scm:
    152:2  8 (with-fluid* _ _ _)
    152:2  7 (with-fluid* _ _ _)
In srfi/srfi-1.scm:
   863:16  6 (every1 #<procedure 537020 at /gnu/store/228yfv8c0q7l6…> …)
In /gnu/store/228yfv8c0q7l6m8xri4nhkfh6ix8lbdp-module-import/guix/build/gnu-build-system.scm:
   799:28  5 (_ _)
    598:5  4 (reset-gzip-timestamps #:outputs _)
In srfi/srfi-1.scm:
    640:9  3 (for-each #<procedure process-directory (directory)> (#))
    640:9  2 (for-each #<procedure reset-gzip-timestamp (file #:key…> …)
In /gnu/store/228yfv8c0q7l6m8xri4nhkfh6ix8lbdp-module-import/guix/build/utils.scm:
   231:14  1 (reset-gzip-timestamp "/gnu/store/6xg7rr9g75vjj6sm2h71…" …)
In unknown file:
           0 (open "/gnu/store/6xg7rr9g75vjj6sm2h7117sqcqxb0hh0-sbc…" …)

ERROR: In procedure open:
In procedure open-fdes: Permission denied
#+end_src

Any idea?

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#36393; Package guix-patches. (Tue, 02 Jul 2019 07:41:02 GMT) Full text and rfc822 format available.

Message #11 received at 36393 <at> debbugs.gnu.org (full text, mbox):

From: Guillaume LE VAILLANT <glv <at> posteo.net>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 36393 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add sbcl-dexador.
Date: Tue, 02 Jul 2019 09:40:26 +0200
Pierre Neidhardt a écrit :

> This one does not build and fails during the reset-gzip-timestamps
> phase.
> ...
> ERROR: In procedure open:
> In procedure open-fdes: Permission denied

I think it fails because it tries to modify the file 't/data/test.gz'
which is in read-only mode because it comes from the sources.

Adding a 'fix-permissions' phase after the 'unpack' phase making this
file writeable should fix the problem.




Information forwarded to guix-patches <at> gnu.org:
bug#36393; Package guix-patches. (Thu, 04 Jul 2019 13:53:01 GMT) Full text and rfc822 format available.

Message #14 received at 36393 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Guillaume LE VAILLANT <glv <at> posteo.net>
Cc: 36393 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add sbcl-dexador.
Date: Thu, 04 Jul 2019 15:52:42 +0200
[Message part 1 (text/plain, inline)]
It did fix it indeed, thanks for the tip!

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 36393 <at> debbugs.gnu.org and Pierre Neidhardt <mail <at> ambrevar.xyz> Request was from Pierre Neidhardt <mail <at> ambrevar.xyz> to control <at> debbugs.gnu.org. (Thu, 04 Jul 2019 13:54:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Aug 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.