ailisp / commonlisp-vscode

Common Lisp Editing extension for Visual Studio Code
35 stars 1 forks source link

prepl install fails due to symbols removed from sbcl #15

Open ceedon opened 3 years ago

ceedon commented 3 years ago

Removal: https://github.com/sbcl/sbcl/commit/e103be077521e5f8918da7e346df6946157e5912

Impact: image

uberkael commented 3 years ago

Same error on Manjaro Linux image image

uberkael commented 3 years ago

Using sbcl-bin/2.1.1 as temporal fix

Rirush commented 3 years ago

On sbcl/2.1.6, a different symbol seems to be missing. Tested it on Windows and macOS, missing in both cases. Also, it seems that it's impossible to install sbcl-bin/2.1.1 on (macOS) ARM, because binaries are missing. Source build fails as well.

image
lispnik commented 2 years ago

Link to underlying issue in PREPL and half-baked PR https://github.com/sharplispers/prepl/issues/3

fuku77 commented 2 years ago

Having the exact same error as Rirush on sbcl/2.2.4. lispnik's solution doesn't work for me so i switched to sbcl-bin/2.1.1. Anyone got a solution yet?

lispnik commented 2 years ago

@fuku77 I tried it from my repo just now with sbcl 2.2.4 and it seems to work

$ sbcl
This is SBCL 2.2.4, 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.
* (asdf:load-system "prepl" :force t)
... ;; lots of complainage 
T
* (lisp-implementation-version)
"2.2.4"
* (prepl:repl)
Portable REPL on SBCL, main thread.  Type :help for help.
CL-USER> (defstruct foo a b)
FOO
CL-USER> (make-foo :a 1234 :b 4.567)
#S(FOO :A 1234 :B 4.567)
CL-USER> :inspect *

#<STRUCTURE-CLASS COMMON-LISP-USER::FOO> at #x0000001002B7E570
   0 A --------------> fixnum 1234
   1 B --------------> single-float 4.567
[1i] CL-USER> :quit
Unknown top-level command: "quit".
Type `:help' for the list of commands.
[1i] CL-USER> :exit
$ cd Quicklisp/local-projects/lispnik/prepl/
$ git log |head 
commit ea20365877e596aad8036c160f3e7327ea2dd927
Author: Matthew Kennedy <burnsidemk@gmail.com>
Date:   Fri Jul 23 18:56:21 2021 -0500

    Update inspect.lisp for more SBCL internal changes
...
xvan commented 1 year ago

Using sbcl-bin/2.1.1 as temporal fix

In case, like me, somebody else doesn't know howto downgrade sbcl

ros install sbcl/2.1.1
ros install sbcl-bin/2.1.1
ros use sbcl/2.1.1
ros use sbcl-bin/2.1.1