edicl/hunchentoot

cannot use sbcl install

Closed this issue · 5 comments

("hunchentoot")
* (ql:quickload "hunchentoot")
To load "hunchentoot":
  Load 1 ASDF system:
    hunchentoot
; Loading "hunchentoot"
;
; caught ERROR:
;   READ error during COMPILE-FILE:
;
;     Symbol "BROKEN-PIPE" not found in the SB-INT package.
;
;       Line: 266, Column: 30, File-Position: 8743
;
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /root/quicklisp/dists/quicklisp/software/usocket-0.8.4/backend/sbcl.lisp" {1004FD1F73}>

debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#<THREAD "main thread" RUNNING {10005E85B3}>:
  COMPILE-FILE-ERROR while
  compiling #<CL-SOURCE-FILE "usocket" "backend" "sbcl">

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
                                     compiling #<CL-SOURCE-FILE "usocket" "backend" "sbcl">.
  1: [ACCEPT                       ] Continue, treating
                                     compiling #<CL-SOURCE-FILE "usocket" "backend" "sbcl">
                                     as having been successful.
  2:                                 Retry ASDF operation.
  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  4:                                 Retry ASDF operation.
  5:                                 Retry ASDF operation after resetting the
                                     configuration.
  6: [ABORT                        ] Give up on "hunchentoot"
  7: [REGISTER-LOCAL-PROJECTS      ] Register local projects and try again.
  8:                                 Exit debugger, returning to top level.

(UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "usocket" "backend" "sbcl">)))
   error finding frame source: Bogus form-number: the source file has probably
                               changed too much to cope with.
   source: NIL

Couldn't reproduce this with SBCL 2.2.8.141-7fd1eeaa7 and hunchentoot-v1.3.0

Reported in
usocket/usocket#81

Fixed with
usocket/usocket@b0f5f0f

What's your SBCL version, @acekingke ?
Might be a good time to upgrade to a newer one.

➜  ~ sbcl --version
SBCL 1.4.5.debian

And how to replace my local usocket 8.4.0 to 8.5.0 ?

I'd build a new SBCL, which is very easy on Debian.

Source is found at
https://github.com/sbcl/sbcl/releases

To build:

./make.sh --fancy

and then either run it directly from the source directory with

./run-sbcl.sh

or do something like

ln -s $PWD/run-sbcl.sh ~/.local/bin/sbclnew

thank you very much,it fixed