[PATCH] gnu: Add sbcl-dexador.

DoneSubmitted by Pierre Neidhardt.
Details
2 participants
  • Guillaume LE VAILLANT
  • Pierre Neidhardt
Owner
unassigned
Severity
normal
P
P
Pierre Neidhardt wrote on 26 Jun 2019 13:44
(address . guix-patches@gnu.org)
20190626114452.28492-1-mail@ambrevar.xyz
* gnu/packages/lisp.scm (sbcl-dexador): New variable.--- gnu/packages/lisp.scm | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+)
Toggle diff (63 lines)diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scmindex 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
P
P
Pierre Neidhardt wrote on 26 Jun 2019 13:47
Re: bug#36393: Acknowledgement ([PATCH] gnu: Add sbcl-dexador.)
(address . 36393@debbugs.gnu.org)
8736jw8t5s.fsf@ambrevar.xyz
This one does not build and fails during the reset-gzip-timestampsphase.Excerpt from the log:
#+begin_src logphase `install-license-files' succeeded after 0.0 secondsstarting 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 Neidhardthttps://ambrevar.xyz/
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl0TW18ACgkQm9z0l6S7zH9DWgf/UgLOrDFmzH2g6sIDd+wkK7e2vxSUuyPJqKxpMQ5OkTUJHrnI7y2SNyHZLfL9MZZqnq1KZmB2qAJ8mg9d1UQ9pdzLJ8PWpXNtE/J+sikEvAxK1PYQKfDgTF69maVf8EM/WkO8tZ59KFU4bsJSKU1l1v9ZpIWovFRElnYoy5xrjZC9IjjgHhtYyg1fC9ii0QC1HdFvyJpXKf0udzpiiw4m3kcL71c5fIwp3Cn6naWNHZYdp+YLZPLWIFZwRwGffiBzqyqkXw1kvSuSxRDCKZDu1gSD5wT2hnGjEgtcHQN/UwYRt3+tinzT9UkOjdSNDqwiHOkOmfcMYPkOU97ClZAoDA===cs9Y-----END PGP SIGNATURE-----
G
G
Guillaume LE VAILLANT wrote on 2 Jul 2019 09:40
Re: [PATCH] gnu: Add sbcl-dexador.
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)(address . 36393@debbugs.gnu.org)
87v9wkevf9.fsf@yamatai
Pierre Neidhardt a écrit :
Toggle quote (6 lines)> 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 thisfile writeable should fix the problem.
P
P
Pierre Neidhardt wrote on 4 Jul 2019 15:52
(name . Guillaume LE VAILLANT)(address . glv@posteo.net)(address . 36393@debbugs.gnu.org)
87pnmpuct1.fsf@ambrevar.xyz
It did fix it indeed, thanks for the tip!
-- Pierre Neidhardthttps://ambrevar.xyz/
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl0eBKoACgkQm9z0l6S7zH/5YggApCupqDqJ2lQUyOMTp5h9GGLneWOvjaGV01IxxdRkXpNO10PdutXfR6rkojzBpAhLXxWcxPvYYn+FmXky8OzMJ6/CGEofx9X2np8yln6wrEm2GupGfV9dr+YV7GFMu1G+6jcfqt3J+ljY2qvQIJxKn4LiJHz9ooUJv28YuyC8lsRseZ2MDyvizqkNnZlCyOTnSgIAKSWkoSPpHl8R5OmsTQIwQxUQNZmwbzG7pvq9qzIQsyMkdIi3crW5GVI8LeXLQAHt76WxKpl5nf/PNLliytjJlAvn2M4jkjl6UgqZT7RXqY82RXWjkatz94N/va6QKuCC0QLv0EG7qzWEnXSKlg===yyEI-----END PGP SIGNATURE-----
P
P
Pierre Neidhardt wrote on 4 Jul 2019 15:53
control message for bug #36393
(address . control@debbugs.gnu.org)
87muhtucs7.fsf@ambrevar.xyz
close 36393 quit
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl0eBMgACgkQm9z0l6S7zH+UeQf/THynyj4S00CbXrSJL6QY13N6INIhqHiJZ/8IvRxdc7GeE9+NwoE7M+cfczLlK58orTKvCQ1y2K28vb6O5oWjxZ8Vkx3heLj5wqwijFAMGNn4yf8fMG3KK4v9jyS1hCUmOMy2XaxRYNoJ2sLhB7bK5L1/hqEIAH0wGJJZ0DbHOSVO+5pdzXf4B6xIBL3Mrv07CKyy964XKJTHBWU+YAAGw1K5mwzF/aRYmb4CGPNQgBctBveglbDm0gP5vY+aNJlQlSCPe+aTz9QUZ8y+gMnGPOUpkJq83IOKE1zDI+0hXHycLc1wq3e2MeTq96dgyuWeLO+QvL4aNTNTSri+wTEXjw===qxOh-----END PGP SIGNATURE-----
?
Your comment

This issue is archived.

To comment on this conversation send email to 36393@debbugs.gnu.org