fukamachi / woo

A fast non-blocking HTTP server on top of libev
http://ultra.wikia.com/wiki/Woo_(kaiju)
MIT License
1.29k stars 97 forks source link

Cannot install woo via Roswell? #121

Closed anta40 closed 2 weeks ago

anta40 commented 3 weeks ago

I'm on MacOS Sonoma 14.7.1 (M2). Roswell is installed via Homebrew.

$ ros install fukamachi/woo
Installing from github fukamachi/woo
To load "woo":
  Load 1 ASDF system:
    woo
; Loading "woo"
[1/3] System 'woo' found. Loading the system..Aborted during step [1/3].
Unhandled CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread #<SB-THREAD:THREAD tid=259 "main thread" RUNNING
                                                       {7004F90713}>:
  Unable to load any of the alternatives:
   ("libev.4.dylib" "libev.dylib")

Backtrace for: #<SB-THREAD:THREAD tid=259 "main thread" RUNNING {7004F90713}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<CFFI:LOAD-FOREIGN-LIBRARY-ERROR "Unable to load any of the alternatives:~%   ~S" {700606D6C3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<CFFI:LOAD-FOREIGN-LIBRARY-ERROR "Unable to load any of the alternatives:~%   ~S" {700606D6C3}>)
2: (INVOKE-DEBUGGER #<CFFI:LOAD-FOREIGN-LIBRARY-ERROR "Unable to load any of the alternatives:~%   ~S" {700606D6C3}>)
3: (ERROR CFFI:LOAD-FOREIGN-LIBRARY-ERROR :FORMAT-CONTROL "Unable to load any of the alternatives:~%   ~S" :FORMAT-ARGUMENTS (("libev.4.dylib" "libev.dylib")))
4: (CFFI::FL-ERROR "Unable to load any of the alternatives:~%   ~S" ("libev.4.dylib" "libev.dylib"))
5: ((FLET CFFI::%DO-LOAD :IN CFFI::%DO-LOAD-FOREIGN-LIBRARY) #<CFFI:FOREIGN-LIBRARY LIBEV> LIBEV (:OR "libev.4.dylib" "libev.dylib"))
6: (CFFI:LOAD-FOREIGN-LIBRARY LIBEV :SEARCH-PATH NIL)
7: ("top level form") [toplevel]
8: (SB-FASL::LOAD-FASL-GROUP #S(SB-FASL::FASL-INPUT :STREAM #<SB-SYS:FD-STREAM for "file /Users/andretampubolon/.cache/common-lisp/sbcl-2.4.10.roswell-macosx-arm64/Users/andretampubolon/.roswell/lisp/quicklisp/dists/quicklisp/software/lev-20231021-git/src/lev.fasl" {7006062F53}> :TABLE #(91 #1="/Users/andretampubolon/.roswell/lisp/quicklisp/dists/quicklisp/software/lev-20231021-git/src/lev.lisp" #<PACKAGE "SB-INT"> SB-INT:FIND-UNDELETED-PACKAGE-OR-LOSE #<PACKAGE "SB-IMPL"> SB-IMPL::%DEFPACKAGE "CL-USER" *PACKAGE* #2="LEV" #3="CL" #4="LEV.WRAPPER" (#3# #4#) ...) :STACK #(0 #<FUNCTION #5="top level form" {7005C522BB}> #<SB-KERNEL:FDEFN CFFI::REGISTER-FOREIGN-LIBRARY> #<SB-KERNEL:FDEFN CFFI:LOAD-FOREIGN-LIBRARY> SB-KERNEL:*HANDLER-CLUSTERS* LEV-CONFIG:LIBEV LIBEV ((:DARWIN (:OR "libev.4.dylib" "libev.dylib")) (:UNIX (:OR "libev.4.so" "libev.so.4" "libev.so")) (T (:DEFAULT "libev"))) #<SB-KERNEL::CLASSOID-CELL ERROR> #S(SB-C::COMPILED-DEBUG-INFO :NAME #5# :SOURCE #6=#S(SB-C::DEBUG-SOURCE :NAMESTRING #1# :CREATED 3897524973 :START-POSITIONS NIL :PLIST NIL) :PACKAGE #<PACKAGE #2#> :FUN-MAP #(12 111 0 49 7 48 2 5 172 1 3 6 ...) :CONTEXTS (LAMBDA (SB-KERNEL::TEMP) :IN #:BLOCK2) :REST #5#) 0 NIL ...) :NAME-BUFFER #("" "BLOCK2TR-CLUSTERS*RYRARYR-LOSE") :PRINT NIL :PARTIAL-SOURCE-INFO #6#))
9: ((LAMBDA NIL :IN SB-FASL::LOAD-AS-FASL))
10: (SB-IMPL::CALL-WITH-LOADER-PACKAGE-NAMES #<FUNCTION (LAMBDA NIL :IN SB-FASL::LOAD-AS-FASL) {7006066D7B}>)
11: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /Users/andretampubolon/.cache/common-lisp/sbcl-2.4.10.roswell-macosx-arm64/Users/andretampubolon/.roswell/lisp/quicklisp/dists/quicklisp/software/lev-20231021-git/src/lev.fasl" {7006062F53}> NIL NIL)
12: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-SYS:FD-STREAM for "file /Users/andretampubolon/.cache/common-lisp/sbcl-2.4.10.roswell-macosx-arm64/Users/andretampubolon/.roswell/lisp/quicklisp/dists/quicklisp/software/lev-20231021-git/src/lev.fasl" {7006062F53}> T)
13: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {102B62D0B}> #<SB-SYS:FD-STREAM for "file /Users/andretampubolon/.cache/common-lisp/sbcl-2.4.10.roswell-macosx-arm64/Users/andretampubolon/.roswell/lisp/quicklisp/dists/quicklisp/software/lev-20231021-git/src/lev.fasl" {7006062F53}> T #<SB-SYS:FD-STREAM for "file /Users/andretampubolon/.cache/common-lisp/sbcl-2.4.10.roswell-macosx-arm64/Users/andretampubolon/.roswell/lisp/quicklisp/dists/quicklisp/software/lev-20231021-git/src/lev.fasl" {7006062F53}>)
14: (LOAD #P"/Users/andretampubolon/.cache/common-lisp/sbcl-2.4.10.roswell-macosx-arm64/Users/andretampubolon/.roswell/lisp/quicklisp/dists/quicklisp/software/lev-20231021-git/src/lev.fasl" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
15: (UIOP/UTILITY:CALL-WITH-MUFFLED-CONDITIONS #<FUNCTION (LAMBDA NIL :IN UIOP/LISP-BUILD:LOAD*) {70060626AB}> ("Overwriting already existing readtable ~S." #(#:FINALIZERS-OFF-WARNING :ASDF-FINALIZERS)))
16: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "lev" "src" "lev">)
17: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
18: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS (ASDF/LISP-ACTION:LOAD-OP ASDF/LISP-ACTION:CL-SOURCE-FILE)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "lev" "src" "lev">) [fast-method]
19: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "lev" "src" "lev">) [fast-method]
20: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {70092201C3}>) [fast-method]
21: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
22: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {70092201C3}>) [fast-method]
23: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "woo"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
24: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "woo"> :VERBOSE NIL)
25: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
26: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "woo"> :VERBOSE NIL) [fast-method]
27: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP "woo" :VERBOSE NIL)
28: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
29: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "woo" :VERBOSE NIL) [fast-method]
30: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {700922013B}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
31: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
32: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {70092200AB}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
33: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "woo" :VERBOSE NIL) [fast-method]
34: (ASDF/OPERATE:LOAD-SYSTEM "woo" :VERBOSE NIL)
35: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT::APPLY-LOAD-STRATEGY) {700922007B}>)
36: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "woo" :PROMPT NIL)
37: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unused argument> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {700922003B}>) [fast-method]
38: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {70055E50C3}> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {700922003B}>) [fast-method]
39: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) "woo" :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method]
40: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {700922000B}>)
41: (ROSWELL.INSTALL:INSTALL-SYSTEM-SCRIPT "woo")
42: (ROSWELL.INSTALL:INSTALL-SYSTEM-IF-PROBED "woo")
43: (ROSWELL.INSTALL:INSTALL NIL)
44: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE ROS.SCRIPT.INSTALL.3671936092::MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
45: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE ROS.SCRIPT.INSTALL.3671936092::MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
46: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE ROS.SCRIPT.INSTALL.3671936092::MAIN) ROSWELL:*ARGV*)) NIL NIL)
47: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE ROS.SCRIPT.INSTALL.3671936092::MAIN) ROSWELL:*ARGV*)) NIL)
48: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {7004FA0323}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
49: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {7004FA0323}> NIL)
50: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {102B60B4B}> #<CONCATENATED-STREAM :STREAMS NIL {7004FA0323}> NIL #<CONCATENATED-STREAM :STREAMS NIL {7004FA0323}>)
51: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {7004FA0323}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
52: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file /opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/install.ros" {7004FA0083}>)
53: (ROSWELL:SCRIPT "/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/install.ros" "fukamachi/woo")
54: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/install.ros" "fukamachi/woo") (:QUIT NIL)))
55: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/install.ros" "fukamachi/woo") (:QUIT NIL)))) #<NULL-LEXENV>)
56: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/install.ros" "fukamachi/woo") (:QUIT NIL)))))
57: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/install.ros\"\"fukamachi/woo\")(:quit ())))")))
58: (SB-IMPL::TOPLEVEL-INIT)
59: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
60: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
61: (SB-IMPL::%START-LISP)

unhandled condition in --disable-debugger mode, quitting
;
; compilation unit aborted
;   caught 1 fatal ERROR condition
fukamachi commented 3 weeks ago

You must install libev before loading Woo. You can install it with brew install libev on macOS if you use Homebrew.

anta40 commented 2 weeks ago

I see. Got it.