Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Slimv can't compile with SBCL #68

Closed
Tacumi opened this issue Jul 6, 2018 · 4 comments
Closed

Bug: Slimv can't compile with SBCL #68

Tacumi opened this issue Jul 6, 2018 · 4 comments

Comments

@Tacumi
Copy link

Tacumi commented Jul 6, 2018

When I setup slimv in vim+sbcl, I got ERROR that "Symbol "SIMPLE-FUN-HEADER-WIDETAG" not found in the SB-VM package."
How can I run swank server with sbcl?

Error message is as follows.

⋊> ~ sbcl --load ~/.vim/bundle/repos/github.com/kovisoft/slimv/slime/start-swank.lisp
This is SBCL 1.4.9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
;
; caught ERROR:
;   READ error during COMPILE-FILE:
;
;     Symbol "SIMPLE-FUN-HEADER-WIDETAG" not found in the SB-VM package.
;
;       Line: 1587, Column: 52, File-Position: 63635
;
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/sbcl.lisp" {1003DA9A83}>
;;
;; Error compiling /Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/sbcl.lisp:
;;   COMPILE-FILE returned NIL.
;;
While evaluating the form starting at line 16, column 0
  of #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/start-swank.lisp":

debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {10005505B3}>:
  COMPILE-FILE returned NIL.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY   ] Retry EVAL of current toplevel form.
  1: [CONTINUE] Ignore error and continue loading file "/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/start-swank.lisp".
  2: [ABORT   ] Abort loading file "/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/start-swank.lisp".
  3:            Ignore runtime option --load "/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/start-swank.lisp".
  4:            Skip rest of --eval and --load options.
  5:            Skip to toplevel READ/EVAL/PRINT loop.
  6: [EXIT    ] Exit SBCL (calling #'EXIT, killing the process).

(SWANK-LOADER::COMPILE-FILES (#P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/packages.lisp" #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/backend.lisp" #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/source-path-parser.lisp" #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/source-file-cache.lisp" #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/sbcl.lisp" #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/gray.lisp" #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/match.lisp" #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank/rpc.lisp" #P"/Users/tacumi/.vim/bundle/repos/github.com/kovisoft/slimv/slime/swank.lisp") #P"/Users/tacumi/.slime/fasl/2.19/sbcl-1.4.9-darwin-x86-64/" T T)
   source: (ERROR "COMPILE-FILE returned NIL.")
0]
@kovisoft
Copy link
Owner

kovisoft commented Jul 6, 2018

Thank you for the feedback. It seems that some changes in SBCL broke the swank server code (borrowed from SLIME). This is already fixed in the latest SLIME, so you may want to try to fetch latest version of slime/swank/sbcl.lisp from here.
Or you can wait until I refresh the swank server in slimv.

@kovisoft
Copy link
Owner

kovisoft commented Jul 7, 2018

Upgraded embedded SLIME to version 2.21, see commit efa9af5

@Tacumi
Copy link
Author

Tacumi commented Jul 7, 2018

Thank you for upgrading the internal slime package.
I'm using vim 8.1 on macOS high Sierra installed by Homebrew.

This problem is solved after upgrading slimv.
I'll close this topic.

@Tacumi Tacumi closed this as completed Jul 7, 2018
@adampaulukanis
Copy link
Contributor

Thank you for the feedback. It seems that some changes in SBCL broke the swank server code (borrowed from SLIME). This is already fixed in the latest SLIME, so you may want to try to fetch latest version of slime/swank/sbcl.lisp from here.
Or you can wait until I refresh the swank server in slimv.

Thanks for your answer. It really helped me a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants