CLISP fails to install (but CLISP-HEAD works)
- Dominant language
- Common Lisp
- Stars
- 30
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
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
# 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
# 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 #:
Subprocess with command "make install"
exited with error code 2
Backtrace for: #
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK # # :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #)
2: (INVOKE-DEBUGGER #)
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 (# ROSWELL.INSTALL.CLISP::CLISP-ARGV-PARSE START # 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 #)
9: (INSTALL NIL)
10: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #)
11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #)
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 # :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
15: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) # NIL)
16: (SB-FASL::CALL-WITH-LOAD-BINDINGS # # NIL #)
17: (LOAD # :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
18: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #)
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)))) #)
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.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The error occurs during CLISP installation, specifically in the regexp module and FFI foreign variable lookup. Examine the setup-lisp action's installation script for CLISP, likely in the install or build steps. Check the CLISP source files mentioned: modules/regexp/gllib/regexec.c and modules/regexp/regexi.c. The issue is that CLISP 2.49 fails but CLISP-HEAD works, so compare build configurations or patches. Look for how the action handles different CLISP versions and where it applies patches or flags.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, shell
- Domain
- build-system, cli, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100