unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46250] [PATCH] DRAFT - radiance
@ 2021-02-02  0:14 Sharlatan Hellseher
  2021-02-03 22:51 ` bug#46250: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Sharlatan Hellseher @ 2021-02-02  0:14 UTC (permalink / raw)
  To: 46250

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

Hi Guix team!

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-Draft-radiance.patch --]
[-- Type: text/x-patch, Size: 5406 bytes --]

From c6b0faef4a901dc14a016520a3f9cfa5f763b78b Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Tue, 2 Feb 2021 00:11:30 +0000
Subject: [PATCH] Draft radiance

Build fails with r/w permission to ubiquitous location.
For someone who is brave do dig deeper:

phase `patch-generated-file-shebangs' succeeded after 0.2 seconds
starting phase `build'
Invoking sbcl: "/gnu/store/wyfbw52srslpf3cbyjzfxhd16n7ilk91-sbcl-2.1.0/bin/sbcl" "--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:load-asd (truename \"/gnu/store/301jp24ywjpmaax0vx313fwgg0p9x0ds-sbcl-radiance-2.1.2-1.5ffbe1f/share/common-lisp/sbcl/radiance/rad
iance-core.asd\"))" "--eval" "(asdf:load-asd (truename \"/gnu/store/301jp24ywjpmaax0vx313fwgg0p9x0ds-sbcl-radiance-2.1.2-1.5ffbe1f/share/common-lisp/sbcl/radiance/radiance.asd\"))" "--eval" "(asdf:compile-system \"radiance-core\")" "--eval" "(asdf:compile-system \"radiance\
")"
This is SBCL 2.1.0, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                {1001878103}>:
  Error opening #P"/gnu/store/c4fj8gfdshgbfrm1jq3rdg55m24mkjh3-sbcl-ubiquitous-2.0.0-1.35eb7bd/lib/common-lisp/sbcl/ubiquitous/concurrent-tmpGHU3ALSV.fasl":

    Permission denied

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1001878103}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-INT:SIMPLE-FILE-ERROR "Error opening ~S" {100A6F0B43}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SB-INT:SIMPLE-FILE-ERROR "Error opening ~S" {100A6F0B43}>)
2: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-FILE-ERROR "Error opening ~S" {100A6F0B43}>)
3: (ERROR SB-INT:SIMPLE-FILE-ERROR :PATHNAME #P"/gnu/store/c4fj8gfdshgbfrm1jq3rdg55m24mkjh3-sbcl-ubiquitous-2.0.0-1.35eb7bd/lib/common-lisp/sbcl/ubiquitous/concurrent-tmpGHU3ALSV.fasl" :MESSAGE "Permission denied" :FORMAT-CONTROL "Error opening ~S" :FORMAT-ARGUMENTS (#P"/gn
u/store/c4fj8gfdshgbfrm1jq3rdg55m24mkjh3-sbcl-ubiquitous-2.0.0-1.35eb7bd/lib/common-lisp/sbcl/ubiquitous/concurrent-tmpGHU3ALSV.fasl"))
4: (SB-IMPL::FILE-PERROR #P"/gnu/store/c4fj8gfdshgbfrm1jq3rdg55m24mkjh3-sbcl-ubiquitous-2.0.0-1.35eb7bd/lib/common-lisp/sbcl/ubiquitous/concurrent-tmpGHU3ALSV.fasl" 13 "Error opening ~S" #P"/gnu/store/c4fj8gfdshgbfrm1jq3rdg55m24mkjh3-sbcl-ubiquitous-2.0.0-1.35eb7bd/lib/comm
on-lisp/sbcl/ubiquitous/concurrent-tmpGHU3ALSV.fasl")
---
 gnu/packages/lisp-xyz.scm | 53 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 7cfd4b2a6b..7aea0c5b20 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -13975,3 +13975,56 @@ building Jupyter kernels, based on Maxima-Jupyter which was based on
 
 (define-public cl-common-lisp-jupyter
   (sbcl-package->cl-source-package sbcl-common-lisp-jupyter))
+
+(define-public sbcl-radiance
+  (let ((commit "5ffbe1f157edd17a13194495099efd81e052df85")
+        (revision "1"))
+    (package
+      (name "sbcl-radiance")
+      (version (git-version "2.1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Shirakumo/radiance")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0hbkcnmnlj1cqzbv18zmla2iwbl65kxilz9764hndf8x8as1539c"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       `(#:asd-files '("radiance-core.asd" "radiance.asd")
+         #:asd-systems '("radiance-core" "radiance")))
+      (inputs
+       `(("babel" ,sbcl-babel)
+         ("bordeaux-threads" ,sbcl-bordeaux-threads)
+         ("cl-ppcre" ,sbcl-cl-ppcre)
+         ("closer-mop" ,sbcl-closer-mop)
+         ("documentation-utils" ,sbcl-documentation-utils)
+         ("deploy" ,sbcl-deploy)
+         ("form-fiddle" ,sbcl-form-fiddle)
+         ("lambda-fiddle" ,sbcl-lambda-fiddle)
+         ("local-time" ,sbcl-local-time)
+         ("modularize-hooks" ,sbcl-modularize-hooks)
+         ("modularize-interfaces" ,sbcl-modularize-interfaces)
+         ("puri" ,sbcl-puri)
+         ("trivial-indent" ,sbcl-trivial-indent)
+         ("trivial-mimes" ,sbcl-trivial-mimes)
+         ("ubiquitous-concurrent" ,sbcl-ubiquitous)))
+      (home-page "https://shirakumo.github.io/radiance/")
+      (synopsis "Common Lisp web application environment")
+      (description
+       "Radiance is a web application environment, which is sort of like a web
+framework, but more general, more flexible.  It should let you write personal
+websites and generally deployable applications easily and in such a way that
+they can be used on practically any setup without having to undergo special
+adaptations.
+
+This package produces 2 systems: @code{RADIANCE} @code{RADIANCE-CORE}")
+      (license license:zlib))))
+
+(define-public ecl-radiance
+  (sbcl-package->ecl-package sbcl-radiance))
+
+(define-public cl-radiance
+  (sbcl-package->cl-source-package sbcl-radiance))
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#46250: [PATCH] DRAFT - radiance
  2021-02-02  0:14 [bug#46250] [PATCH] DRAFT - radiance Sharlatan Hellseher
@ 2021-02-03 22:51 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2021-02-03 22:51 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 46250-done

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

After fixing ubiquitous and modifying your patch to disable Quicklisp
related functions, I got it to compile successfully.
Pushed as 051c1271209a1a0f9ff258f9034600d650e25ca8.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-03 22:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-02  0:14 [bug#46250] [PATCH] DRAFT - radiance Sharlatan Hellseher
2021-02-03 22:51 ` bug#46250: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).