commonlisp-vscode icon indicating copy to clipboard operation
commonlisp-vscode copied to clipboard

prepl install fails due to symbols removed from sbcl

Open ceedon opened this issue 4 years ago • 7 comments

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

Impact: image

ceedon avatar Mar 03 '21 04:03 ceedon

Same error on Manjaro Linux image image

uberkael avatar Jun 25 '21 15:06 uberkael

Using sbcl-bin/2.1.1 as temporal fix

uberkael avatar Jun 25 '21 17:06 uberkael

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

Rirush avatar Jul 25 '21 05:07 Rirush

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

lispnik avatar Oct 05 '21 16:10 lispnik

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?

fuku77 avatar May 06 '22 20:05 fuku77

@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 <[email protected]>
Date:   Fri Jul 23 18:56:21 2021 -0500

    Update inspect.lisp for more SBCL internal changes
...

lispnik avatar May 18 '22 20:05 lispnik

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

xvan avatar Oct 24 '22 22:10 xvan