[slime-devel] SLIME compilation abort with CMUCL Snapshot 2005-09 under Linux

Paolo Amoroso amoroso at mclink.it
Tue Aug 30 12:57:55 UTC 2005


I have tried running SLIME (latest CVS sources) with CMUCL Snapshot
2005-09 (19B) under Slackware Linux 10.0 with GNU Emacs 21.3.2.  when
I issue the 'M-x slime' command after removing all fasl files in
~/.slime, I get the build error shown in the included transcript.
CMUCL Snapshot 2005-08 works fine with the same SLIME sources, so the
problem may be CMUCL related.

Here is my ~/.swank.lisp

  (setf (cdr (assoc 'swank::*print-pretty* swank:*sldb-printer-bindings*)) t)

  (load "/home/paolo/src/slime/present")

By the way, since I seem to understand that slime-present.lisp is not
compiled by default, what is the recommended way of loading it from
SLIME for all sessions?  I manually compile it after getting new
versions of SLIME, and load it from ~/.swank.lisp.


Paolo

-----------------------------------------------------------------------
; Loading #P"/home/paolo/.cmucl-init.lisp".
CMU Common Lisp Snapshot 2005-09 (19B), running on plato
With core: /usr/local/cmucl-2005-09/lib/cmucl/lib/lisp.core
Dumped on: Tue, 2005-08-30 14:42:03+02:00 on plato
See <http://www.cons.org/cmucl/> for support information.
Loaded subsystems:
    Python 1.1, target Intel x86
    CLOS based on Gerd's PCL 2004/04/14 03:32:47
    Gray Streams Protocol Support
* 
; Loading #P"/home/paolo/src/slime/swank-loader.lisp".

; Python version 1.1, VM version Intel x86 on 30 AUG 05 02:43:21 pm.
; Compiling: /home/paolo/src/slime/swank-backend.lisp 28 AUG 05 05:23:01 pm


; home:.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank-backend.x86f written.
; Compilation finished in 0:00:01.
;; Loading #P"/home/paolo/.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank-backend.x86f".
Warning:  SWANK-BACKEND also exports the following symbols:
  (SWANK-BACKEND:WHO-MACROEXPANDS SWANK-BACKEND:SPAWN
   SWANK-BACKEND:FRAME-SOURCE-LOCATION-FOR-EMACS SWANK-BACKEND:FIND-DEFINITIONS
   SWANK-BACKEND:BUFFER-FIRST-CHANGE SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS
   SWANK-BACKEND:PROFILE SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK
   SWANK-BACKEND:MAKE-LOCK SWANK-BACKEND:FRAME-LOCALS
   SWANK-BACKEND:DEFAULT-DIRECTORY SWANK-BACKEND:PROFILE-PACKAGE
   SWANK-BACKEND:SET-DEFAULT-DIRECTORY SWANK-BACKEND:CALL-WITH-LOCK-HELD
   SWANK-BACKEND:STARTUP-MULTIPROCESSING SWANK-BACKEND:CALL-WITHOUT-INTERRUPTS
   SWANK-BACKEND:WHO-CALLS SWANK-BACKEND:EMACS-CONNECTED
   SWANK-BACKEND:DESCRIBE-PRIMITIVE-TYPE SWANK-BACKEND:LIST-CALLEES
   SWANK-BACKEND:OPERATE-ON-SYSTEM SWANK-BACKEND:PROFILE-REPORT
   SWANK-BACKEND:GETPID SWANK-BACKEND:CURRENT-THREAD
   SWANK-BACKEND:DESCRIBE-SYMBOL-FOR-EMACS SWANK-BACKEND:EVAL-IN-FRAME
   SWANK-BACKEND:REMOVE-FD-HANDLERS SWANK-BACKEND:REMOVE-SIGIO-HANDLERS
   SWANK-BACKEND:SLDB-BREAK-AT-START SWANK-BACKEND:CLOSE-SOCKET
   SWANK-BACKEND:COMPUTE-BACKTRACE SWANK-BACKEND:WHO-SPECIALIZES
   SWANK-BACKEND:PROFILE-RESET SWANK-BACKEND:CALLS-WHO SWANK-BACKEND:LOCAL-PORT
   SWANK-BACKEND:MAKE-DEFAULT-INSPECTOR SWANK-BACKEND:LIST-CALLERS
   SWANK-BACKEND:WHO-SETS SWANK-BACKEND:SWANK-COMPILE-FILE
   SWANK-BACKEND:MAKE-STREAM-INTERACTIVE SWANK-BACKEND:FORMAT-SLDB-CONDITION
   SWANK-BACKEND:CONDITION-REFERENCES SWANK-BACKEND:ADD-FD-HANDLER
   SWANK-BACKEND:INTERRUPT-THREAD SWANK-BACKEND:CONDITION-EXTRAS
   SWANK-BACKEND:KILL-THREAD SWANK-BACKEND:CREATE-SOCKET
   SWANK-BACKEND:THREAD-NAME SWANK-BACKEND:FRAME-VAR-VALUE
   SWANK-BACKEND:ACTIVATE-STEPPING SWANK-BACKEND:UNPROFILE-ALL
   SWANK-BACKEND:PRINT-FRAME SWANK-BACKEND:TOGGLE-TRACE
   SWANK-BACKEND:FUNCTION-NAME SWANK-BACKEND:ADD-SIGIO-HANDLER
   SWANK-BACKEND:ACCEPT-CONNECTION SWANK-BACKEND:FIND-THREAD
   SWANK-BACKEND:SWANK-COMPILE-STRING SWANK-BACKEND:THREAD-STATUS
   SWANK-BACKEND:THREAD-ID SWANK-BACKEND:WHO-BINDS
   SWANK-BACKEND:LISP-IMPLEMENTATION-TYPE-NAME
   SWANK-BACKEND:SLDB-BREAK-ON-RETURN SWANK-BACKEND:THREAD-ALIVE-P
   SWANK-BACKEND:MACROEXPAND-ALL SWANK-BACKEND:ALL-THREADS
   SWANK-BACKEND:MAKE-WEAK-VALUE-HASH-TABLE
   SWANK-BACKEND:CALL-WITH-COMPILATION-HOOKS SWANK-BACKEND:ARGLIST
   SWANK-BACKEND:MAKE-WEAK-KEY-HASH-TABLE SWANK-BACKEND:RESTART-FRAME
   SWANK-BACKEND:DISASSEMBLE-FRAME SWANK-BACKEND:PROFILED-FUNCTIONS
   SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT SWANK-BACKEND:RECEIVE
   SWANK-BACKEND:DEFAULT-READTABLE-ALIST SWANK-BACKEND:RETURN-FROM-FRAME
   SWANK-BACKEND:MAKE-FN-STREAMS SWANK-BACKEND:SEND
   SWANK-BACKEND:PREFERRED-COMMUNICATION-STYLE SWANK-BACKEND:FRAME-CATCH-TAGS
   SWANK-BACKEND:UNPROFILE SWANK-BACKEND:DESCRIBE-DEFINITION
   SWANK-BACKEND:WHO-REFERENCES)

; Python version 1.1, VM version Intel x86 on 30 AUG 05 02:43:22 pm.
; Compiling: /home/paolo/src/slime/nregex.lisp 14 JUL 05 02:39:08 pm


; home:.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/nregex.x86f written.
; Compilation finished in 0:00:00.
;; Loading #P"/home/paolo/.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/nregex.x86f".

; Python version 1.1, VM version Intel x86 on 30 AUG 05 02:43:22 pm.
; Compiling: /home/paolo/src/slime/swank-source-path-parser.lisp 30 AUG 05 02:43:10 pm


; home:.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank-source-path-parser.x86f written.
; Compilation finished in 0:00:00.
;; Loading #P"/home/paolo/.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank-source-path-parser.x86f".

; Python version 1.1, VM version Intel x86 on 30 AUG 05 02:43:22 pm.
; Compiling: /home/paolo/src/slime/swank-source-file-cache.lisp 30 AUG 05 02:43:10 pm


; home:.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank-source-file-cache.x86f written.
; Compilation finished in 0:00:00.
;; Loading #P"/home/paolo/.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank-source-file-cache.x86f".

; Python version 1.1, VM version Intel x86 on 30 AUG 05 02:43:22 pm.
; Compiling: /home/paolo/src/slime/swank-cmucl.lisp 30 AUG 05 02:43:10 pm


; 
; 
; File: /home/paolo/src/slime/swank-cmucl.lisp

; In: DEFUN MV-FUNCTION-END-BREAKPOINT-VALUES

;   (DEBUG-INTERNALS::GET-FUNCTION-END-BREAKPOINT-VALUES SIGCONTEXT)
; Warning: Function called with one argument, but wants exactly two.
; 

; In: DEFUN INSPECT-ALIEN-RECORD

;   (ALIEN:SLOT ALIEN SLOT)
; Note: Unable to optimize because:
;     Slot is not constant, so cannot open code access.
; 

; home:.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank-cmucl.x86f written.
; Compilation finished in 0:00:03.
;; Loading #P"/home/paolo/.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank-cmucl.x86f".

; Python version 1.1, VM version Intel x86 on 30 AUG 05 02:43:25 pm.
; Compiling: /home/paolo/src/slime/swank.lisp 30 AUG 05 02:43:10 pm


; 
; 
; File: /home/paolo/src/slime/swank.lisp

; In: DEFUN SEND-TO-SOCKET-IO

;   (DESTRUCTURE-CASE EVENT (# # #) (# # #) (# #) ...)
; --> LET* CASE LET COND IF COND IF COND IF PROGN DESTRUCTURING-BIND LET LET* 
; ==>
;   (LET* (# # #)
;     (SEND `#))
; Note: Variable THREAD defined but never used.
; 

; home:.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank.x86f written.
; Compilation finished in 0:00:03.
;; Loading #P"/home/paolo/.slime/fasl/cmu-snapshot 2005-09 (19b)-linux-x86/swank.x86f".
Warning:  SWANK also exports the following symbols:
  (SWANK:VALUE-FOR-EDITING SWANK:FIND-DEFINITIONS-FOR-EMACS
   SWANK:QUIT-INSPECTOR SWANK:LIST-ALL-SYSTEMS-IN-CENTRAL-REGISTRY
   SWANK:FUZZY-COMPLETIONS SWANK:COMMIT-EDITED-VALUE
   SWANK:COMPILE-FILE-IF-NEEDED SWANK:REPL-SUPPRESS-OUTPUT
   SWANK:KILL-NTH-THREAD SWANK:VARIABLE-DESC-FOR-ECHO-AREA
   SWANK:LOAD-FILE-SET-PACKAGE SWANK:SWANK-MACROEXPAND-ALL
   SWANK:CLEAR-LAST-REPL-RESULT SWANK:DESCRIBE-SYMBOL SWANK:MOP
   SWANK:INSPECTOR-POP SWANK:DEBUG-NTH-THREAD
   SWANK:DESCRIBE-DEFINITION-FOR-EMACS SWANK:SLDB-CONTINUE
   SWANK:COMPILE-STRING-FOR-EMACS SWANK:UPDATE-INDENTATION-INFORMATION
   SWANK:APROPOS-LIST-FOR-EMACS SWANK:DESCRIBE-FUNCTION SWANK:LOAD-FILE
   SWANK:UNDEFINE-FUNCTION SWANK:INSPECTOR-NEXT SWANK:FRAME-LOCALS-FOR-EMACS
   SWANK:INSPECT-FRAME-VAR SWANK:INTERACTIVE-EVAL-REGION
   SWANK:EVAL-STRING-IN-FRAME SWANK:FUZZY-COMPLETION-SELECTED
   SWANK:LIST-ALL-PACKAGE-NAMES SWANK:XREF SWANK:COMPILER-NOTES-FOR-EMACS
   SWANK:OPERATE-ON-SYSTEM-FOR-EMACS SWANK:SWANK-MACROEXPAND-1
   SWANK:INTERACTIVE-EVAL SWANK:INSPECTOR-NTH-PART SWANK:SWANK-MACROEXPAND
   SWANK:FRAME-CATCH-TAGS-FOR-EMACS SWANK:DESCRIBE-INSPECTEE
   SWANK:SLDB-RETURN-FROM-FRAME SWANK:GET-REPL-RESULT
   SWANK:START-SWANK-SERVER-IN-THREAD SWANK:PPRINT-EVAL-STRING-IN-FRAME
   SWANK:QUIT-THREAD-BROWSER SWANK:INSPECTOR-CALL-NTH-ACTION
   SWANK:COMPLETE-FORM SWANK:SWANK-TOGGLE-TRACE SWANK:INIT-INSPECTOR
   SWANK:CLEAR-REPL-RESULTS SWANK:SLDB-DISASSEMBLE SWANK:ARGLIST-FOR-ECHO-AREA
   SWANK:UNTRACE-ALL SWANK:REPL-SUPPRESS-ADVANCE-HISTORY
   SWANK:COMPILE-FILE-FOR-EMACS SWANK:SLDB-ABORT
   SWANK:SLDB-BREAK-WITH-DEFAULT-DEBUGGER SWANK:DOCUMENTATION-SYMBOL
   SWANK:TOGGLE-PROFILE-FDEFINITION SWANK:THROW-TO-TOPLEVEL
   SWANK:SIMPLE-COMPLETIONS SWANK:INVOKE-NTH-RESTART SWANK:SET-PACKAGE
   SWANK:STATE-STACK SWANK:INSPECT-IN-FRAME SWANK:BACKTRACE
   SWANK:DISASSEMBLE-SYMBOL SWANK:INSPECT-NTH-PART SWANK:COMPLETIONS
   SWANK:INVOKE-NTH-RESTART-FOR-EMACS SWANK:ARGLIST-FOR-INSERTION
   SWANK:CONNECTION-INFO SWANK:TAKE-INPUT SWANK:REPL-EVAL-HOOK-PASS
   SWANK:LIST-THREADS SWANK:INSPECT-CURRENT-CONDITION SWANK:RE-EVALUATE-DEFVAR
   SWANK:LISTENER-EVAL SWANK:PPRINT-EVAL SWANK:EVAL-AND-GRAB-OUTPUT
   SWANK:DEBUGGER-INFO-FOR-EMACS)

; Compilation unit finished.
;   1 warning
;   2 notes

Warning:  These Swank interfaces are unimplemented:
 (CALLS-WHO RESTART-FRAME)
;; Loading #P"/home/paolo/.swank.lisp".
;;; Loading #P"/home/paolo/src/slime/present.x86f".
Warning:  Change in instance length of class PRETTY-PRINT:PRETTY-STREAM:
  current length: 25
  compile time length: 23


Error in function KERNEL:FIND-LAYOUT:
   Loading a reference to class PRETTY-PRINT:PRETTY-STREAM when the compile
  time definition was incompatible with the current one.
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [CONTINUE   ] Invalidate current definition.
  1: [CLOBBER-IT ] Smash current layout, preserving old code.
  2: [USE-CURRENT] Ignore the incompatibility, leave class alone.
  3:               Return NIL from load of "/home/paolo/src/slime/present".
  4:               Return NIL from load of #P"home:.swank.lisp".
  5:               Return NIL from load of "/home/paolo/src/slime/swank-loader.lisp".
  6: [ABORT      ] Return to Top-Level.

Debug  (type H for help)

(KERNEL:FIND-LAYOUT PRETTY-PRINT:PRETTY-STREAM
                    23
                    #(#<Layout for T {2800D725}>
                      #<Layout for EXTENSIONS:INSTANCE {2800D8ED}>
                      #<Layout for STRUCTURE-OBJECT {2800E02D}>
                      #<Layout for STREAM {280129A5}>
                      #<Layout for SYSTEM:LISP-STREAM {2800D6C5}>)
                    5)
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/class.lisp.
0] 
-----------------------------------------------------------------------

-- 
Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log



More information about the slime-devel mailing list