Symbol "%SIMPLE-FUN-NEXT" not found in the SB-KERNEL package with sbcl-2.1.11

115 views
Skip to first unread message

Josef Wolf

unread,
Dec 15, 2021, 5:04:20 AM12/15/21
to quic...@googlegroups.com
Hello,

I am getting "Symbol "%SIMPLE-FUN-NEXT" not found in the SB-KERNEL package"
when I try to load quicklisp-slime-helper. I have built sbcl/quicklisp with
exactly the same commands for many years and have never seen this error.

This is on a freshly built sbcl-2.1.11.

Google found https://github.com/slime/slime/issues/616 for me, but
unfortunately, I can't find any solution in this issue.

Any help on this?

Here's the command and its output:

$ /usr/local/bin/sbcl \
--noinform --disable-ldb --lose-on-corruption \
--end-runtime-options --disable-debugger' \
--eval '(setf ql-util::*do-not-prompt* t)' \
--eval '(setf *query-io* *standard-output*)' \
--eval '(setf *debug-io* *standard-output*)' \
--eval '(setf *trace-output* *standard-output*)' \
--eval '(ql:quickload "quicklisp-slime-helper")' \
--eval '(cl-user::quit)'

To load "quicklisp-slime-helper":
Load 2 ASDF systems:
asdf swank
Install 2 Quicklisp releases:
alexandria quicklisp-slime-helper
; Fetching #<URL "http://beta.quicklisp.org/archive/alexandria/2021-12-09/alexandria-20211209-git.tgz">
; 54.51KB
==================================================
55,819 bytes in 0.01 seconds (6813.84KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/quicklisp-slime-helper/2015-07-09/quicklisp-slime-helper-20150709-git.tgz">
; 2.16KB
==================================================
2,211 bytes in 0.00 seconds (0.00KB/sec)
; Loading "quicklisp-slime-helper"
[package swank-loader]............................
[package swank/backend]...........................
[package swank/rpc]...............................
[package swank/match].............................
[package swank-mop]...............................
[package swank]...................................
[package swank/source-path-parser]................
[package swank/source-file-cache].................
[package swank/sbcl]............;
; caught ERROR:
; READ error during COMPILE-FILE:
;
; Symbol "%SIMPLE-FUN-NEXT" not found in the SB-KERNEL package.
;
; Line: 1597, Column: 54, File-Position: 64461
;
; Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /usr/share/common-lisp/source/slime/swank/sbcl.lisp" {1003A18223}>
;;
;; Error compiling /usr/share/common-lisp/source/slime/swank/sbcl.lisp:
;; COMPILE-FILE returned NIL.
;;
Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
{1001514203}>:
COMPILE-FILE returned NIL.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1001514203}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SIMPLE-ERROR "COMPILE-FILE returned NIL." {10034912E3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SIMPLE-ERROR "COMPILE-FILE returned NIL." {10034912E3}>)
2: (INVOKE-DEBUGGER #<SIMPLE-ERROR "COMPILE-FILE returned NIL." {10034912E3}>)
3: (ERROR "COMPILE-FILE returned NIL.")
4: (SWANK-LOADER::COMPILE-FILES (#P"/usr/share/common-lisp/source/slime/packages.lisp" #P"/usr/share/common-lisp/source/slime/swank/backend.lisp" #P"/usr/share/common-lisp/source/slime/swank/source-path-parser.lisp" #P"/usr/share/common-lisp/source/slime/swank/source-file-cache.lisp" #P"/usr/share/common-lisp/source/slime/swank/sbcl.lisp" #P"/usr/share/common-lisp/source/slime/swank/gray.lisp" #P"/usr/share/common-lisp/source/slime/swank/match.lisp" #P"/usr/share/common-lisp/source/slime/swank/rpc.lisp" #P"/usr/share/common-lisp/source/slime/swank.lisp") #P"/usr/local/share/common-lisp/quicklisp/.slime/fasl/2.24/sbcl-2.1.11-linux-x86-64/" T T)
5: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
6: (SWANK-LOADER::LOAD-SWANK :SRC-DIR NIL :FASL-DIR NIL :QUIET T)
7: (SWANK-LOADER:INIT :DELETE NIL :RELOAD T :LOAD-CONTRIBS NIL :SETUP T :QUIET NIL :FROM-EMACS NIL)
8: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<SWANK-LOADER::SWANK-LOADER-FILE "swank" "swank-loader">)
9: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
10: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS (ASDF/LISP-ACTION:LOAD-OP ASDF/LISP-ACTION:CL-SOURCE-FILE)) #<ASDF/LISP-ACTION:LOAD-OP > #<SWANK-LOADER::SWANK-LOADER-FILE "swank" "swank-loader">) [fast-method]
11: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<SWANK-LOADER::SWANK-LOADER-FILE "swank" "swank-loader">) [fast-method]
12: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10020E53F3}>) [fast-method]
13: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
14: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10020E53F3}>) [fast-method]
15: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "quicklisp-slime-helper"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
16: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "quicklisp-slime-helper"> :VERBOSE NIL)
17: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
18: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "quicklisp-slime-helper"> :VERBOSE NIL) [fast-method]
19: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP "quicklisp-slime-helper" :VERBOSE NIL)
20: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
21: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "quicklisp-slime-helper" :VERBOSE NIL) [fast-method]
22: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {100207E8EB}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
23: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
24: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {10020789BB}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
25: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "quicklisp-slime-helper" :VERBOSE NIL) [fast-method]
26: (ASDF/OPERATE:LOAD-SYSTEM "quicklisp-slime-helper" :VERBOSE NIL)
27: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT::APPLY-LOAD-STRATEGY) {100207875B}>)
28: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "quicklisp-slime-helper" :PROMPT NIL)
29: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unused argument> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {100336130B}>) [fast-method]
30: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {1002C1F9B3}> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {100336130B}>) [fast-method]
31: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) "quicklisp-slime-helper" :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method]
32: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {100335199B}>)
33: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD "quicklisp-slime-helper") #<NULL-LEXENV>)
34: (EVAL (QUICKLISP-CLIENT:QUICKLOAD "quicklisp-slime-helper"))
35: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(format t \\"~&~%~s~%\\" (quote (setf ql-util::*do-not-prompt* t)))") (:EVAL . "(setf ql-util::*do-not-prompt* t)") (:EVAL . "(format t \\"~&~%~s~%\\" (quote (setf *query-io* *standard-output*)))") (:EVAL . "(setf *query-io* *standard-output*)") (:EVAL . "(format t \\"~&~%~s~%\\" (quote (setf *debug-io* *standard-output*)))") (:EVAL . "(setf *debug-io* *standard-output*)") (:EVAL . "(format t \\"~&~%~s~%\\" (quote (setf *trace-output* *standard-output*)))") (:EVAL . "(setf *trace-output* *standard-output*)") (:EVAL . "(format t \\"~&~%~s~%\\" (quote (ql:quickload \\"quicklisp-slime-helper\\")))") (:EVAL . "(ql:quickload \\"quicklisp-slime-helper\\")") (:EVAL . "(format t \\"~&~%~s~%\\" (quote (cl-user::quit)))") (:EVAL . "(cl-user::quit)")))
36: (SB-IMPL::TOPLEVEL-INIT)
37: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
38: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
39: (SB-IMPL::START-LISP)

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


--
Josef Wolf
j...@raven.inka.de

Josef Wolf

unread,
Dec 19, 2021, 8:14:19 AM12/19/21
to quic...@googlegroups.com
No ideas? So nobody is using quicklisp with sbcl?
> --
> You received this message because you are subscribed to the Google Groups "Quicklisp" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to quicklisp+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/quicklisp/20211215100226.GK9724%40raven.inka.de.

--
Josef Wolf
j...@raven.inka.de

Zach Beane

unread,
Dec 19, 2021, 8:59:04 AM12/19/21
to quicklisp, Josef Wolf
Uninstall the slime package in /usr/share/common-lisp/source/slime/

If you use OS packages to install some lisp stuff, it's better to use it for everything - otherwise things can get out of sync like this.

Josef Wolf

unread,
Dec 19, 2021, 11:52:09 AM12/19/21
to quicklisp
Thanks for the hint, Zach!

My script explicitly does "apt remove cl-swank" before it downloads/installs
sbcl/quicklisp and all the packages. Strange that the deinstall did not work.

The %SIMPLE-FUN-NEXT problem has disappeared. But now (ql:quickload "slime")
gives me

"System 'slime' not found"
> > https://groups.google.com/d/msgid/quicklisp/20211219131232.GL9724%40raven.inka.de
> > .
> >

--
Josef Wolf
j...@raven.inka.de

Nathan Ringo

unread,
Jan 21, 2022, 8:23:58 PM1/21/22
to Quicklisp
I believe you might want (ql:quickload "swank"), not (ql:quickload "slime") -- ql:quickload takes a system name, not a project name.
Reply all
Reply to author
Forward
0 new messages