coleslaw-org / coleslaw

Flexible Lisp Blogware
BSD 2-Clause "Simplified" License
562 stars 82 forks source link

Cannot build with roswell #192

Closed dertuxmalwieder closed 3 years ago

dertuxmalwieder commented 4 years ago

Environment:

% uname -sr
Darwin 20.1.0

% sbcl --version
SBCL 2.0.7

% ros -V
roswell 20.06.14.107
build with Apple clang version 11.0.3 (clang-1103.0.32.62)
libcurl=7.64.1
Quicklisp=2020-01-04
Dist=2020-10-16
lispdir='/usr/local/etc/roswell/'
homedir='/Users/tux0r/.roswell/'

However, I cannot install Coleslaw as intended:

% ros install coleslaw-org/coleslaw
Installing from github coleslaw-org/coleslaw
To load "coleslaw":
  Load 1 ASDF system:
    coleslaw
; Loading "coleslaw"
..................................................
..................................................
[package 3bmd-code-blocks].[1/3] System 'coleslaw' found. Loading the system..
; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Symbol "LAUNCH-PROGRAM" not found in the UIOP/DRIVER package.
;   
;       Line: 166, Column: -1, File-Position: 6711
;   
;       Stream: #<SB-INT:FORM-TRACKING-STREAM
;                 for "file /Users/tux0r/.roswell/lisp/quicklisp/dists/quicklisp/software/3bmd-20200925-git/code-blocks.lisp"
;                 {1002F849C3}>
Aborted during step [1/3].
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR:
  COMPILE-FILE-ERROR while
  compiling #<CL-SOURCE-FILE "3bmd-ext-code-blocks" "code-blocks">

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1002DE7543}>
0: ((LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX))
1: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {10037A3A0B}>)
2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {10037A39DB}>)
3: (SB-DEBUG:PRINT-BACKTRACE :STREAM #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {10001530A3}> :START 0 :FROM :INTERRUPTED-FRAME :COUNT NIL :PRINT-THREAD T :PRINT-FRAME-SOURCE NIL :METHOD-FRAME-STYLE NIL)
4: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {100379DBA3}> #<unavailable argument>)
5: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {100379DBA3}>)
6: (INVOKE-DEBUGGER #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {100379DBA3}>)
7: (ERROR UIOP/LISP-BUILD:COMPILE-FILE-ERROR :CONTEXT-FORMAT "~/asdf-action::format-action/" :CONTEXT-ARGUMENTS ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "3bmd-ext-code-blocks" "code-blocks">)))
8: (UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "3bmd-ext-code-blocks" "code-blocks">)))
9: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unavailable argument> #<unavailable argument> #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "3bmd-ext-code-blocks" "code-blocks">)
10: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "3bmd-ext-code-blocks" "code-blocks">) [fast-method]
11: ((:METHOD ASDF/PLAN:PERFORM-PLAN (LIST)) ((#1=#<ASDF/LISP-ACTION:PREPARE-OP > . #2=#<ASDF/SYSTEM:SYSTEM #3="trivial-features">) (#1# . #4=#<ASDF/COMPONENT:MODULE #3# #5="src">) (#1# . #6=#<ASDF/LISP-ACTION:CL-SOURCE-FILE #3# #5# "tf-sbcl">) (#7=#<ASDF/LISP-ACTION:LOAD-OP > . #6#) (#8=#<ASDF/LISP-ACTION:COMPILE-OP > . #4#) (#7# . #4#) (#8# . #2#) (#7# . #2#) (#1# . #<ASDF/SYSTEM:SYSTEM #9="alexandria">) (#1# . #10=#<ASDF/COMPONENT:STATIC-FILE #9# "LICENCE">) (#8# . #10#) (#7# . #10#) ...) :FORCE NIL) [fast-method]
12: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
13: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) ((#1=#<ASDF/LISP-ACTION:PREPARE-OP > . #2=#<ASDF/SYSTEM:SYSTEM #3="trivial-features">) (#1# . #4=#<ASDF/COMPONENT:MODULE #3# #5="src">) (#1# . #6=#<ASDF/LISP-ACTION:CL-SOURCE-FILE #3# #5# "tf-sbcl">) (#7=#<ASDF/LISP-ACTION:LOAD-OP > . #6#) (#8=#<ASDF/LISP-ACTION:COMPILE-OP > . #4#) (#7# . #4#) (#8# . #2#) (#7# . #2#) (#1# . #<ASDF/SYSTEM:SYSTEM #9="alexandria">) (#1# . #10=#<ASDF/COMPONENT:STATIC-FILE #9# "LICENCE">) (#8# . #10#) (#7# . #10#) ...) :VERBOSE NIL) [fast-method]
14: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
15: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {100345F0D3}> :VERBOSE NIL) [fast-method]
16: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "coleslaw"> :VERBOSE NIL) [fast-method]
17: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "coleslaw"> :VERBOSE NIL)
18: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
19: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "coleslaw"> :VERBOSE NIL) [fast-method]
20: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP "coleslaw" :VERBOSE NIL)
21: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
22: (ASDF/CACHE:CALL-WITH-ASDF-CACHE #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {100345819B}> :OVERRIDE NIL :KEY NIL)
23: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "coleslaw" :VERBOSE NIL) [fast-method]
24: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "coleslaw" :VERBOSE NIL) [fast-method]
25: (ASDF/OPERATE:LOAD-SYSTEM "coleslaw" :VERBOSE NIL)
26: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #<CLOSURE (LAMBDA NIL :IN QUICKLISP-CLIENT::APPLY-LOAD-STRATEGY) {10034467FB}>)
27: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "coleslaw" :PROMPT NIL)
28: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unavailable argument> #<CLOSURE (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {10034317AB}>) [fast-method]
29: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {1006F66F03}> #<CLOSURE (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {10034317AB}>) [fast-method]
30: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) #<unavailable argument> :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method]
31: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<CLOSURE (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003424E5B}>)
32: (INSTALL-SYSTEM-SCRIPT "coleslaw")
33: (INSTALL-SYSTEM-IF-PROBED "coleslaw")
34: (INSTALL NIL)
35: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
36: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
37: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL #<NULL-LEXENV>)
38: ((FLET SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
39: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {1004D859E3}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
40: ((FLET SB-FASL::LOAD-STREAM :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {1004D859E3}> NIL)
41: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {1004D859E3}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTERNAL-FORMAT :DEFAULT)
42: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file /usr/local/etc/roswell/install.ros" {1004D7ECF3}>)
43: (ROSWELL:SCRIPT "/usr/local/etc/roswell/install.ros" "coleslaw-org/coleslaw")
44: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "/usr/local/etc/roswell/install.ros" "coleslaw-org/coleslaw") (:QUIT NIL)))
45: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/usr/local/etc/roswell/install.ros" "coleslaw-org/coleslaw") (:QUIT NIL)))) #<NULL-LEXENV>)
46: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/usr/local/etc/roswell/install.ros" "coleslaw-org/coleslaw") (:QUIT NIL)))))
47: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"/usr/local/etc/roswell/init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"/usr/local/etc/roswell/install.ros\"\"coleslaw-org/coleslaw\")(:quit ())))")))
48: (SB-IMPL::TOPLEVEL-INIT)
49: ((FLET #:WITHOUT-INTERRUPTS-BODY-85 :IN SB-EXT:SAVE-LISP-AND-DIE))
50: ((LABELS SB-IMPL::RESTART-LISP :IN SB-EXT:SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting
; 
; compilation unit aborted
;   caught 3 fatal ERROR conditions
;   caught 1 ERROR condition

Are any dependencies missing?

shukryzablah commented 3 years ago

Does ros install coleslaw-cli work for you? You might want to try from a fresh roswell setup. This doesn't look related to coleslaw.

dertuxmalwieder commented 3 years ago

I deleted ~/.roswell and then it did:

# ...
[package coleslaw-cli]...
[1/3] System 'coleslaw-cli' found. Loading the system..
[2/3] Processing build-hook..
[3/3] Attempting to install the scripts in roswell/ subdirectory of the system...
Found 1 scripts: coleslaw

Looks like indeed Coleslaw is not the problem here. Sorry - misleading error report, I guess... Closing.