[slime-devel] problems compiling slime with the newest SBCL

Friedrich Dominicus frido at q-software-solutions.com
Mon Sep 13 16:53:07 UTC 2004


Maybe someone has encountered this: I have installed the newest SBCL 
This is SBCL 0.8.14.13, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

and the newest Slime from CVS while compiling swank-sbcl I got the
following error message:
; compiling top level form: 
; compiling DEFMETHOD INSPECTED-PARTS (FUNCTION): 

debugger invoked on a TYPE-ERROR in thread 21081:
  The value #<SB-C::COMBINATION :FUN # :ARGS (# # #) {A2119F9}>
  is not of type
    SB-C::REF.

You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (leaving debugger, returning to toplevel).
  1: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop.
("FLET SB!C::CLOSURE-NEEDING-IR1-ENVIRONMENT-FROM-NODE")
0] ba

0: ("FLET SB!C::CLOSURE-NEEDING-IR1-ENVIRONMENT-FROM-NODE")
1: (SB-C::%WITH-IR1-ENVIRONMENT-FROM-NODE
    2
    #<SB-ALIEN:CAST
      :%TYPE-CHECK T
      :VALUE #<SB-C::LVAR  #1 {A11F809}>
      :ASSERTED-TYPE #<SB-KERNEL:NUMERIC-TYPE (MOD 536870911)>
      :TYPE-TO-CHECK #<SB-KERNEL:NUMERIC-TYPE (MOD 536870911)> {A11FD71}>
    #<FUNCTION "CLOSURE" {A20FD4D}>)[:EXTERNAL]
2: (SB-C::FILTER-LVAR 2 #<SB-C::LVAR  #1 {A11F809}> (LIST 'SB-C::DUMMY))[:EXTERNAL]
3: ("hairy arg processor for top level local call SB!C::IR1-OPTIMIZE-CAST"
    #<SB-ALIEN:CAST
      :%TYPE-CHECK T
      :VALUE #<SB-C::LVAR  #1 {A11F809}>
      :ASSERTED-TYPE #<SB-KERNEL:NUMERIC-TYPE (MOD 536870911)>
      :TYPE-TO-CHECK #<SB-KERNEL:NUMERIC-TYPE (MOD 536870911)> {A11FD71}>
    NIL)
4: (SB-C::IR1-OPTIMIZE-BLOCK 1 #<SB-C::CBLOCK 203 :START c2 {A11F279}>)[:EXTERNAL]
5: (SB-C::IR1-OPTIMIZE
    1
    #<SB-C:COMPONENT
      :NAME "DEFMETHOD INSPECTED-PARTS (FUNCTION)"
      :REANALYZE T {A1E58A9}>)[:EXTERNAL]
6: (SB-C::IR1-OPTIMIZE-UNTIL-DONE
    1
    #<SB-C:COMPONENT
      :NAME "DEFMETHOD INSPECTED-PARTS (FUNCTION)"
      :REANALYZE T {A1E58A9}>)[:EXTERNAL]
7: (SB-C::IR1-PHASES
    1
    #<SB-C:COMPONENT
      :NAME "DEFMETHOD INSPECTED-PARTS (FUNCTION)"
      :REANALYZE T {A1E58A9}>)[:EXTERNAL]
8: (SB-C::COMPILE-COMPONENT
    1
    #<SB-C:COMPONENT
      :NAME "DEFMETHOD INSPECTED-PARTS (FUNCTION)"
      :REANALYZE T {A1E58A9}>)[:EXTERNAL]
9: (SB-C::COMPILE-TOPLEVEL
    2
    (#<SB-C::CLAMBDA
       :%SOURCE-NAME SB-C::.ANONYMOUS.
       :%DEBUG-NAME "top level form (SB-PCL::LOAD-DEFMETHOD (QUOTE STANDARD-METHOD) (QUOTE SWANK-BACKEND:INSPECTED-PARTS) ...)"
       :KIND :TOPLEVEL
       :TYPE #<SB-KERNEL:BUILT-IN-CLASSOID FUNCTION (read-only)>
       :WHERE-FROM :DEFINED
       :VARS NIL {983CC11}>)
    NIL)[:EXTERNAL]
10: (SB-C::CONVERT-AND-MAYBE-COMPILE
     2
     (SB-PCL::LOAD-DEFMETHOD 'STANDARD-METHOD
                             'INSPECTED-PARTS
                             'NIL
                             (LIST 'FUNCTION)
                             '(O)
                             (LIST* :FAST-FUNCTION
                                    (SB-INT:NAMED-LAMBDA (INSPECTED-PARTS #)
                                                         (SB-PCL::.PV-CELL.
                                                          SB-PCL::.NEXT-METHOD-CALL.
                                                          O)
                                                         (DECLARE #)
                                                         (DECLARE #)
                                                         (DECLARE #)
                                                         (DECLARE #)
                                                         ...)
                                    '(:PLIST
                                      (:ARG-INFO # :NEEDS-NEXT-METHODS-P T)))
                             ...)
     ((SB-PCL::LOAD-DEFMETHOD 'STANDARD-METHOD
                              'INSPECTED-PARTS
                              'NIL
                              (LIST 'FUNCTION)
                              '(O)
                              (LIST* :FAST-FUNCTION
                                     (SB-INT:NAMED-LAMBDA # # # # # # ...)
                                     '(:PLIST #))
                              ...)
      (PROGN
       (SB-PCL::LOAD-DEFMETHOD 'STANDARD-METHOD
                               'INSPECTED-PARTS
                               'NIL
                               (LIST 'FUNCTION)
                               '(O)
                               (LIST* :FAST-FUNCTION # '#)
                               ...))
      SB-C::ORIGINAL-SOURCE-START 0 91))[:EXTERNAL]
11: (SB-C::PROCESS-TOPLEVEL-FORM
     3
     (SB-PCL::LOAD-DEFMETHOD 'STANDARD-METHOD
                             'INSPECTED-PARTS
                             'NIL
                             (LIST 'FUNCTION)
                             '(O)
                             (LIST* :FAST-FUNCTION
                                    (SB-INT:NAMED-LAMBDA (INSPECTED-PARTS #)
                                                         (SB-PCL::.PV-CELL.
                                                          SB-PCL::.NEXT-METHOD-CALL.
                                                          O)
                                                         (DECLARE #)
                                                         (DECLARE #)
                                                         (DECLARE #)
                                                         (DECLARE #)
                                                         ...)
                                    '(:PLIST
                                      (:ARG-INFO # :NEEDS-NEXT-METHODS-P T)))
                             ...)
     ((PROGN
       (SB-PCL::LOAD-DEFMETHOD 'STANDARD-METHOD
                               'INSPECTED-PARTS
                               'NIL
                               (LIST 'FUNCTION)
                               '(O)
                               (LIST* :FAST-FUNCTION # '#)
                               ...))
      SB-C::ORIGINAL-SOURCE-START 0 91)
     NIL)[:EXTERNAL]
12: (SB-C::PROCESS-TOPLEVEL-PROGN
     3
     ((SB-PCL::LOAD-DEFMETHOD 'STANDARD-METHOD
                              'INSPECTED-PARTS
                              'NIL
                              (LIST 'FUNCTION)
                              '(O)
                              (LIST* :FAST-FUNCTION
                                     (SB-INT:NAMED-LAMBDA # # # # # # ...)
                                     '(:PLIST #))
                              ...))
     ((PROGN
       (SB-PCL::LOAD-DEFMETHOD 'STANDARD-METHOD
                               'INSPECTED-PARTS
                               'NIL
                               (LIST 'FUNCTION)
                               '(O)
                               (LIST* :FAST-FUNCTION # '#)
                               ...))
      SB-C::ORIGINAL-SOURCE-START 0 91)
     NIL)[:EXTERNAL]
13: (SB-C::PROCESS-TOPLEVEL-FORM
     3
     (PROGN
      (SB-PCL::LOAD-DEFMETHOD 'STANDARD-METHOD
                              'INSPECTED-PARTS
                              'NIL
                              (LIST 'FUNCTION)
                              '(O)
                              (LIST* :FAST-FUNCTION
                                     (SB-INT:NAMED-LAMBDA # # # # # # ...)
                                     '(:PLIST #))
                              ...))
     (SB-C::ORIGINAL-SOURCE-START 0 91)
     NIL)[:EXTERNAL]
14: (SB-C::PROCESS-TOPLEVEL-FORM
     3
     (DEFMETHOD INSPECTED-PARTS
                ((O FUNCTION))
                (LET ((HEADER #))
                  (COND (# #) (# #) (T #))))
     (SB-C::ORIGINAL-SOURCE-START 0 91)
     NIL)[:EXTERNAL]
15: (SB-C::SUB-SUB-COMPILE-FILE 1 #<SB-C::SOURCE-INFO >)[:EXTERNAL]
16: ("#'(LAMBDA NIL (SB!C::CLEAR-STUFF) ...)")
17: (SB-C::%WITH-COMPILATION-UNIT 1 #<FUNCTION "CLOSURE" {9C480B5}>)[:EXTERNAL]
18: (SB-C::SUB-COMPILE-FILE 1 #<SB-C::SOURCE-INFO >)[:EXTERNAL]
19: (COMPILE-FILE 3 #P"/home/frido/lib/elisp/slime/swank-sbcl.lisp")[:EXTERNAL]
20: ("#'(LAMBDA NIL (LET # #))")
21: (SB-C::%WITH-COMPILATION-UNIT 1 #<FUNCTION "CLOSURE" {9EB4125}>)[:EXTERNAL]
22: (SB-INT:EVAL-IN-LEXENV
     2
     (SWANK-LOADER::COMPILE-FILES-IF-NEEDED-SERIALLY
      (APPEND (LIST (SWANK-LOADER::MAKE-SWANK-PATHNAME "swank-backend"))
              SWANK-LOADER::*SYSDEP-PATHNAMES*
              (LIST SWANK-LOADER::*SWANK-PATHNAME*)))
     #S(SB-KERNEL:LEXENV
        :FUNS NIL
        :VARS NIL
        :BLOCKS NIL
        :TAGS NIL
        :TYPE-RESTRICTIONS NIL
        :LAMBDA NIL
        :CLEANUP NIL
        ...))[:EXTERNAL]
23: (SB-FASL::LOAD-AS-SOURCE
     3
     #<FILE-STREAM for "file \"/home/frido/lib/elisp/slime/swank-loader.lisp\"" {9DEE9F1}>
     NIL
     NIL)[:EXTERNAL]
24: ("hairy arg processor for top level local call SB!FASL::INTERNAL-LOAD"
     #P"/home/frido/lib/elisp/slime/swank-loader.lisp"
     #P"/home/frido/lib/elisp/slime/swank-loader.lisp"
     :ERROR
     NIL
     NIL
     :SOURCE)
25: ("hairy arg processor for top level local call SB!FASL::INTERNAL-LOAD"
     #P"/home/frido/lib/elisp/slime/swank-loader.lisp"
     #P"/home/frido/lib/elisp/slime/swank-loader.lisp"
     :ERROR
     NIL
     NIL
     NIL)
26: (LOAD 1 "/home/frido/lib/elisp/slime/swank-loader.lisp")[:EXTERNAL]
27: (SB-INT:EVAL-IN-LEXENV
     2
     (LOAD "/home/frido/lib/elisp/slime/swank-loader.lisp")
     #S(SB-KERNEL:LEXENV
        :FUNS NIL
        :VARS NIL
        :BLOCKS NIL
        :TAGS NIL
        :TYPE-RESTRICTIONS NIL
        :LAMBDA NIL
        :CLEANUP NIL
        ...))[:EXTERNAL]
28: (SB-EXT:INTERACTIVE-EVAL
     1
     (LOAD "/home/frido/lib/elisp/slime/swank-loader.lisp"))[:EXTERNAL]
29: (SB-IMPL::REPL-FUN 1 NIL)[:EXTERNAL]
30: ("#'(LAMBDA NIL (HANDLER-BIND # #))")
31: ("XEP for #'(LAMBDA NIL (HANDLER-BIND # #))" 0)[:EXTERNAL]
32: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX 1 #<FUNCTION "CLOSURE" {9DDFC45}>)[:EXTERNAL]
33: (SB-IMPL::TOPLEVEL-REPL 1 NIL)[:EXTERNAL]
34: (SB-IMPL::TOPLEVEL-INIT 0)[:EXTERNAL]
35: ("FLET SB!IMPL::RESTART-LISP")


Does anyone else have encountered any problem with that version?

Regards
Friedrich




More information about the slime-devel mailing list