40ants/setup-lisp

CLISP fails to install (but CLISP-HEAD works)

svetlyak40wt opened this issue · 0 comments

Attempt to enable tests for CLISP fails with this log:

  /home/runner/.roswell/src/clisp-2.49/modules/regexp/gllib/regexec.c: In function ‘match_ctx_add_entry’:
  /home/runner/.roswell/src/clisp-2.49/modules/regexp/gllib/regexec.c:4318:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘Idx’ {aka ‘long unsigned int’} [-Wsign-compare]
   4318 |   if (mctx->max_mb_elem_len < to - from)
        |                             ^
  ar: `u' modifier ignored since `D' is the default (see `U')
  /home/runner/.roswell/src/clisp-2.49/modules/regexp/regexi.c: In function ‘C_subr_regexp_regexp_exec’:
  /home/runner/.roswell/src/clisp-2.49/modules/regexp/regexi.c:137:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
    137 |         if (re_count < fixnum_to_V(Symbol_value(S(multiple_values_limit)))) {
        |            ^
  /home/runner/.roswell/src/clisp-2.49/modules/regexp/regexi.c:141:7: note: here
    141 |       case ret_list:
        |       ^~~~
  0 errors, 0 warnings
  *** - FFI::FIND-FOREIGN-VARIABLE: foreign variable
        #<FOREIGN-VARIABLE "rl_readline_state" #x00007FBECA104AE8> does not have
        the required size or alignment
  
  ./clisp-link: failed in /home/runner/.roswell/src/clisp-2.49/src
  make: *** [Makefile:2284: base] Error 1
       0 ......................................................................
     700 ......................................................................
    1400 ......................................................................
    2100 ......................................................................
    2800 ...................................
  Installing clisp/2.49...
  prefix: #P"/home/runner/.roswell/impls/x86-64/linux/clisp/2.49/"
  chdir /home/runner/.roswell/src/clisp-2.49/src/
  *** - FFI::FIND-FOREIGN-VARIABLE: foreign variable
        #<FOREIGN-VARIABLE "rl_readline_state" #x00007F702ECECAE8> does not have
        the required size or alignment
  
  ./clisp-link: failed in /home/runner/.roswell/src/clisp-2.49/src
  make: *** [Makefile:2284: base] Error 1
  Unhandled UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread #<SB-THREAD:THREAD tid=2703 "main thread" RUNNING
                                                           {1004848133}>:
    Subprocess with command "make install"
   exited with error code 2
  
  Backtrace for: #<SB-THREAD:THREAD tid=2703 "main thread" RUNNING {1004848133}>
  0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10020880E3}> #<unused argument> :QUIT T)
  1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10020880E3}>)
  2: (INVOKE-DEBUGGER #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10020880E3}>)
  3: (CERROR "IGNORE-ERROR-STATUS" UIOP/RUN-PROGRAM:SUBPROCESS-ERROR :COMMAND "make install" :CODE 2 :PROCESS NIL)
  4: (UIOP/RUN-PROGRAM::%CHECK-RESULT 2 :COMMAND "make install" :PROCESS NIL :IGNORE-ERROR-STATUS NIL)
  5: (UIOP/RUN-PROGRAM::%USE-SYSTEM "make install" :OUTPUT T :ERROR-OUTPUT T)
  6: (ROSWELL.INSTALL.CLISP::CLISP-INSTALL (:TARGET "clisp" :VERSION "2.49" :VERSION-NOT-SPECIFIED 0 :ARGV NIL))
  7: (INSTALL-IMPL "clisp" NIL NIL (#<FUNCTION (LAMBDA (ROSWELL.INSTALL::ARGV) :IN DECIDE-VERSION) {1001A30E2B}> ROSWELL.INSTALL.CLISP::CLISP-ARGV-PARSE START #<FUNCTION (LAMBDA (ROSWELL.INSTALL::ARGV) :IN DECIDE-DOWNLOAD) {1001A30E4B}> ROSWELL.INSTALL.CLISP::CLISP-LIB ROSWELL.INSTALL.CLISP::CLISP-EXPAND ROSWELL.INSTALL.CLISP::CLISP-PATCH ROSWELL.INSTALL.CLISP::CLISP-CONFIG ROSWELL.INSTALL.CLISP::CLISP-MAKE ROSWELL.INSTALL.CLISP::CLISP-INSTALL ROSWELL.INSTALL.CLISP::CLISP-CLEAN SETUP))
  8: (INSTALL-IMPL-IF-PROBED "clisp" NIL #<unavailable argument>)
  9: (INSTALL NIL)
  10: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
  11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
  12: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL NIL)
  13: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
  14: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {10029CC6D3}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
  15: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {10029CC6D3}> NIL)
  16: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7F2A940AF5DB}> #<CONCATENATED-STREAM :STREAMS NIL {10029CC6D3}> NIL #<CONCATENATED-STREAM :STREAMS NIL {10029CC6D3}>)
  17: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {10029CC6D3}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
  18: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file /usr/local/etc/roswell/install.ros" {10029CB353}>)
  19: (ROSWELL:SCRIPT "/usr/local/etc/roswell/install.ros" "clisp")
  20: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "/usr/local/etc/roswell/install.ros" "clisp") (:QUIT NIL)))
  21: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/usr/local/etc/roswell/install.ros" "clisp") (:QUIT NIL)))) #<NULL-LEXENV>)
  22: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/usr/local/etc/roswell/install.ros" "clisp") (:QUIT NIL)))))
  23: (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\"\"clisp\")(:quit ())))")))
  24: (SB-IMPL::TOPLEVEL-INIT)
  25: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
  26: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
  27: (SB-IMPL::%START-LISP)
  
  unhandled condition in --disable-debugger mode, quitting
       0 ...............................
  Error: Process completed with exit code 1.