[Bese-devel] Re: Getting ucw_box to work

Pupeno pupeno at pupeno.com
Sun Jun 18 12:54:32 UTC 2006


On Sun, 2006-06-18 at 12:36 +0000, Lou Vanek wrote:
> Pupeno wrote:
> 
>  > Hello,
>  > I am trying to get ucw to work, so I tried loading lisp.start (from
>  > slime) to find this error:
>  >
>  > The name "IT.BESE.UCW-USER" does not designate any package.
>  >    [Condition of type SB-KERNEL:SIMPLE-PACKAGE-ERROR]
>  >
>  > Restarts:
>  >   0: [ABORT] Abort SLIME compilation.
>  >   1: [ABORT-REQUEST] Abort handling SLIME request.
>  >   2: [TERMINATE-THREAD] Terminate this thread (#<THREAD
>  > "worker" {B06D469}>)
>  >
>  > So, I went form by form in that file until
>  >
>  > (asdf:oos 'asdf:load-op :ucw)
>  >
>  > which eventually hungs. I am running it again and let it run for a long
>  > time.
>  >
>  > Any obvious mistake that I am making ?
>  >
>  > Thank you.
>  >
> 
> Pupeno,
> 
> You don't mention which version of Lisp or OS you are using, but I'm guessing
> Clisp on Windows. (Lisp in a box?) If you are on Windows you will have a harder
> time getting things to work.

I am running SBCL on Ubuntu (Linux). Actually, I am using packages that
I made myself taking the Debian Sarge sources (they are more up to
date).

I have asdf set up more or less correctly I believe.
I dig into the problem until I've found there was a problem loading
swank, I have slime installed on my system (by Debian packages) and
neither that nor the one in the box work. I believe it is a kind of
threading problem. Furthermore, since I am running this from Slime,
isn't swank already loaded ?

I opened start.lisp and tried out the forms by hand:

CL-USER> (load (make-pathname :name "load-asdf" :type "lisp" :defaults
*load-truename*))
T

That went ok. Then I should load ucw, so I took a look at ucw.asd to
load the packages it depended on by hand, so:

CL-USER> (asdf:oos 'asdf:load-op :arnesi)
... some warnings ...
NIL
CL-USER> (asdf:oos 'asdf:load-op :yaclml)
NIL

And now long list of warnings:

CL-USER> (asdf:oos 'asdf:load-op :swank)
; loading system definition from
; /home/pupeno/Software/hosting-compass/ucw-boxset/systems/swank.asd
into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM :SWANK {B695729}> as SWANK
STYLE-WARNING: redefining LISP-VERSION-STRING in DEFUN
STYLE-WARNING: redefining UNIQUE-DIRECTORY-NAME in DEFUN
STYLE-WARNING: redefining FILE-NEWER-P in DEFUN
STYLE-WARNING: redefining SLIME-VERSION-STRING in DEFUN
STYLE-WARNING: redefining DEFAULT-FASL-DIRECTORY in DEFUN
STYLE-WARNING: redefining BINARY-PATHNAME in DEFUN
STYLE-WARNING: redefining COMPILE-FILES-IF-NEEDED-SERIALLY in DEFUN
STYLE-WARNING: redefining LOAD-USER-INIT-FILE in DEFUN
STYLE-WARNING: redefining LOAD-SITE-INIT-FILE in DEFUN
STYLE-WARNING: redefining SWANK-SOURCE-FILES in DEFUN
STYLE-WARNING: redefining LOAD-SWANK in DEFUN
;; loading
#P"/home/pupeno/.slime/fasl/sbcl-0.9.13-linux-x86/swank-backend.fasl"
WARNING: SWANK-BACKEND also exports the following symbols:
  (SWANK-BACKEND:MAKE-WEAK-VALUE-HASH-TABLE
SWANK-BACKEND:FRAME-CATCH-TAGS

SWANK-BACKEND:ADD-SIGIO-HANDLER

SWANK-BACKEND:FORMAT-SLDB-CONDITION

SWANK-BACKEND:PROFILE-PACKAGE
                                            SWANK-BACKEND:RESTART-FRAME

SWANK-BACKEND:DEFAULT-DIRECTORY

SWANK-BACKEND:MAKE-RECURSIVE-LOCK

SWANK-BACKEND:FRAME-SOURCE-LOCATION-FOR-EMACS

SWANK-BACKEND:MAKE-WEAK-KEY-HASH-TABLE

SWANK-BACKEND:COMPUTE-BACKTRACE

SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK

SWANK-BACKEND:INITIALIZE-MULTIPROCESSING
                                            SWANK-BACKEND:LIST-CALLEES
                                            SWANK-BACKEND:RECEIVE

SWANK-BACKEND:COMPILER-MACROEXPAND-1

SWANK-BACKEND:REMOVE-SIGIO-HANDLERS

SWANK-BACKEND:ACCEPT-CONNECTION
                                            SWANK-BACKEND:THREAD-NAME

SWANK-BACKEND:CALL-WITH-RECURSIVE-LOCK-HELD
                                            SWANK-BACKEND:UNPROFILE
                                            SWANK-BACKEND:TOGGLE-TRACE
                                            SWANK-BACKEND:THREAD-ALIVE-P

SWANK-BACKEND:SET-STREAM-TIMEOUT
                                            SWANK-BACKEND:CLOSE-SOCKET

SWANK-BACKEND:DESCRIBE-SYMBOL-FOR-EMACS
                                            SWANK-BACKEND:SPAWN

SWANK-BACKEND:MAKE-DEFAULT-INSPECTOR

SWANK-BACKEND:SLDB-BREAK-AT-START

SWANK-BACKEND:FIND-DEFINITIONS

SWANK-BACKEND:WHO-SPECIALIZES
                                            SWANK-BACKEND:THREAD-STATUS

SWANK-BACKEND:CONDITION-EXTRAS
                                            SWANK-BACKEND:FUNCTION-NAME

SWANK-BACKEND:OPERATE-ON-SYSTEM
                                            SWANK-BACKEND:UNPROFILE-ALL
                                            SWANK-BACKEND:EVAL-IN-FRAME
                                            SWANK-BACKEND:FIND-THREAD

SWANK-BACKEND:SLDB-BREAK-ON-RETURN
                                            SWANK-BACKEND:WHO-REFERENCES
                                            SWANK-BACKEND:LOCAL-PORT

SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT

SWANK-BACKEND:PROFILED-FUNCTIONS
                                            SWANK-BACKEND:SEND

SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS

SWANK-BACKEND:EMACS-CONNECTED
                                            SWANK-BACKEND:WHO-BINDS
                                            SWANK-BACKEND:MAKE-LOCK
                                            SWANK-BACKEND:CREATE-SOCKET

SWANK-BACKEND:BUFFER-FIRST-CHANGE

SWANK-BACKEND:SET-DEFAULT-DIRECTORY
                                            SWANK-BACKEND:PROFILE-RESET

SWANK-BACKEND:FRAME-VAR-VALUE

SWANK-BACKEND:MACROEXPAND-ALL
                                            SWANK-BACKEND:CURRENT-THREAD

SWANK-BACKEND:STARTUP-IDLE-AND-TOP-LEVEL-LOOPS

SWANK-BACKEND:ACTIVATE-STEPPING

SWANK-BACKEND:DISASSEMBLE-FRAME

SWANK-BACKEND:SWANK-COMPILE-FILE
                                            SWANK-BACKEND:PROFILE-REPORT

SWANK-BACKEND:CALL-WITH-LOCK-HELD
                                            SWANK-BACKEND:FRAME-LOCALS
                                            SWANK-BACKEND:ALL-THREADS

SWANK-BACKEND:DESCRIBE-DEFINITION
                                            SWANK-BACKEND:WHO-SETS

SWANK-BACKEND:CALL-WITH-COMPILATION-HOOKS

SWANK-BACKEND:REMOVE-FD-HANDLERS

SWANK-BACKEND:LISP-IMPLEMENTATION-TYPE-NAME
                                            SWANK-BACKEND:ARGLIST

SWANK-BACKEND:RETURN-FROM-FRAME
                                            SWANK-BACKEND:LIST-CALLERS

SWANK-BACKEND:PREFERRED-COMMUNICATION-STYLE
                                            SWANK-BACKEND:ADD-FD-HANDLER
                                            SWANK-BACKEND:KILL-THREAD

SWANK-BACKEND:CALL-WITHOUT-INTERRUPTS

SWANK-BACKEND:COMPILER-MACROEXPAND

SWANK-BACKEND:CONDITION-REFERENCES
                                            SWANK-BACKEND:THREAD-ID

SWANK-BACKEND:MAKE-FN-STREAMS
                                            SWANK-BACKEND:PRINT-FRAME
                                            SWANK-BACKEND:GETPID

SWANK-BACKEND:DESCRIBE-PRIMITIVE-TYPE
                                            SWANK-BACKEND:PROFILE

SWANK-BACKEND:SWANK-COMPILE-STRING

SWANK-BACKEND:MAKE-STREAM-INTERACTIVE

SWANK-BACKEND:DEFAULT-READTABLE-ALIST
                                            SWANK-BACKEND:WHO-CALLS

SWANK-BACKEND:INTERRUPT-THREAD

SWANK-BACKEND:INSTALL-DEBUGGER-GLOBALLY

SWANK-BACKEND:WHO-MACROEXPANDS
                                            SWANK-BACKEND:CALLS-WHO)
See also:
  The ANSI Standard, Macro DEFPACKAGE
STYLE-WARNING: redefining WARN-UNIMPLEMENTED-INTERFACES in DEFUN
STYLE-WARNING: redefining IMPORT-TO-SWANK-MOP in DEFUN
STYLE-WARNING: redefining IMPORT-SWANK-MOP-SYMBOLS in DEFUN
STYLE-WARNING: redefining IMPORT-FROM in DEFUN
STYLE-WARNING: redefining CREATE-SOCKET in DEFGENERIC
STYLE-WARNING: redefining LOCAL-PORT in DEFGENERIC
STYLE-WARNING: redefining CLOSE-SOCKET in DEFGENERIC
STYLE-WARNING: redefining ACCEPT-CONNECTION in DEFGENERIC
STYLE-WARNING: redefining ADD-SIGIO-HANDLER in DEFGENERIC
STYLE-WARNING: redefining REMOVE-SIGIO-HANDLERS in DEFGENERIC
STYLE-WARNING: redefining ADD-FD-HANDLER in DEFGENERIC
STYLE-WARNING: redefining REMOVE-FD-HANDLERS in DEFGENERIC
STYLE-WARNING: redefining PREFERRED-COMMUNICATION-STYLE in DEFGENERIC
STYLE-WARNING: redefining PREFERRED-COMMUNICATION-STYLE NIL in DEFMETHOD
STYLE-WARNING: redefining SET-STREAM-TIMEOUT in DEFGENERIC
STYLE-WARNING: redefining SET-STREAM-TIMEOUT (T T) in DEFMETHOD
STYLE-WARNING: redefining EMACS-CONNECTED in DEFGENERIC
STYLE-WARNING: redefining EMACS-CONNECTED NIL in DEFMETHOD
STYLE-WARNING: redefining CALL-WITHOUT-INTERRUPTS in DEFGENERIC
STYLE-WARNING: redefining CALL-WITHOUT-INTERRUPTS (T) in DEFMETHOD
STYLE-WARNING: redefining GETPID in DEFGENERIC
STYLE-WARNING: redefining LISP-IMPLEMENTATION-TYPE-NAME in DEFGENERIC
STYLE-WARNING: redefining LISP-IMPLEMENTATION-TYPE-NAME NIL in DEFMETHOD
STYLE-WARNING: redefining DEFAULT-DIRECTORY in DEFGENERIC
STYLE-WARNING: redefining DEFAULT-DIRECTORY NIL in DEFMETHOD
STYLE-WARNING: redefining SET-DEFAULT-DIRECTORY in DEFGENERIC
STYLE-WARNING: redefining SET-DEFAULT-DIRECTORY (T) in DEFMETHOD
STYLE-WARNING: redefining CALL-WITH-SYNTAX-HOOKS in DEFGENERIC
STYLE-WARNING: redefining CALL-WITH-SYNTAX-HOOKS (T) in DEFMETHOD
STYLE-WARNING: redefining DEFAULT-READTABLE-ALIST in DEFGENERIC
STYLE-WARNING: redefining DEFAULT-READTABLE-ALIST NIL in DEFMETHOD
STYLE-WARNING: redefining QUIT-LISP in DEFGENERIC
STYLE-WARNING: redefining CALL-WITH-COMPILATION-HOOKS in DEFGENERIC
STYLE-WARNING: redefining SWANK-COMPILE-STRING in DEFGENERIC
STYLE-WARNING: redefining OPERATE-ON-SYSTEM in DEFGENERIC
STYLE-WARNING: redefining OPERATE-ON-SYSTEM (T T) in DEFMETHOD
STYLE-WARNING: redefining SWANK-COMPILE-FILE in DEFGENERIC
STYLE-WARNING: redefining MAKE-FN-STREAMS in DEFGENERIC
STYLE-WARNING: redefining MAKE-STREAM-INTERACTIVE in DEFGENERIC
STYLE-WARNING: redefining MAKE-STREAM-INTERACTIVE (T) in DEFMETHOD
STYLE-WARNING: redefining ARGLIST in DEFGENERIC
STYLE-WARNING: redefining ARGLIST (T) in DEFMETHOD
STYLE-WARNING: redefining FUNCTION-NAME in DEFGENERIC
STYLE-WARNING: redefining FUNCTION-NAME (T) in DEFMETHOD
STYLE-WARNING: redefining MACROEXPAND-ALL in DEFGENERIC
STYLE-WARNING: redefining COMPILER-MACROEXPAND-1 in DEFGENERIC
STYLE-WARNING: redefining COMPILER-MACROEXPAND-1 (T) in DEFMETHOD
STYLE-WARNING: redefining COMPILER-MACROEXPAND in DEFGENERIC
STYLE-WARNING: redefining COMPILER-MACROEXPAND (T) in DEFMETHOD
STYLE-WARNING: redefining DESCRIBE-SYMBOL-FOR-EMACS in DEFGENERIC
STYLE-WARNING: redefining DESCRIBE-DEFINITION in DEFGENERIC
STYLE-WARNING: redefining INSTALL-DEBUGGER-GLOBALLY in DEFGENERIC
STYLE-WARNING: redefining INSTALL-DEBUGGER-GLOBALLY (T) in DEFMETHOD
STYLE-WARNING: redefining CALL-WITH-DEBUGGING-ENVIRONMENT in DEFGENERIC
STYLE-WARNING: redefining CALL-WITH-DEBUGGER-HOOK in DEFGENERIC
STYLE-WARNING: redefining CALL-WITH-DEBUGGER-HOOK (T T) in DEFMETHOD
STYLE-WARNING: redefining COMPUTE-BACKTRACE in DEFGENERIC
STYLE-WARNING: redefining PRINT-FRAME in DEFGENERIC
STYLE-WARNING: redefining FRAME-SOURCE-LOCATION-FOR-EMACS in DEFGENERIC
STYLE-WARNING: redefining FRAME-CATCH-TAGS in DEFGENERIC
STYLE-WARNING: redefining FRAME-LOCALS in DEFGENERIC
STYLE-WARNING: redefining FRAME-VAR-VALUE in DEFGENERIC
STYLE-WARNING: redefining DISASSEMBLE-FRAME in DEFGENERIC
STYLE-WARNING: redefining EVAL-IN-FRAME in DEFGENERIC
STYLE-WARNING: redefining RETURN-FROM-FRAME in DEFGENERIC
STYLE-WARNING: redefining RESTART-FRAME in DEFGENERIC
STYLE-WARNING: redefining FORMAT-SLDB-CONDITION in DEFGENERIC
STYLE-WARNING: redefining FORMAT-SLDB-CONDITION (T) in DEFMETHOD
STYLE-WARNING: redefining CONDITION-REFERENCES in DEFGENERIC
STYLE-WARNING: redefining CONDITION-REFERENCES (T) in DEFMETHOD
STYLE-WARNING: redefining CONDITION-EXTRAS in DEFGENERIC
STYLE-WARNING: redefining CONDITION-EXTRAS (T) in DEFMETHOD
STYLE-WARNING: redefining ACTIVATE-STEPPING in DEFGENERIC
STYLE-WARNING: redefining SLDB-BREAK-ON-RETURN in DEFGENERIC
STYLE-WARNING: redefining SLDB-BREAK-AT-START in DEFGENERIC
STYLE-WARNING: redefining LOCATION-BUFFER in DEFUN
STYLE-WARNING: redefining (SETF LOCATION-BUFFER) in DEFUN
STYLE-WARNING: redefining LOCATION-POSITION in DEFUN
STYLE-WARNING: redefining (SETF LOCATION-POSITION) in DEFUN
STYLE-WARNING: redefining LOCATION-HINTS in DEFUN
STYLE-WARNING: redefining (SETF LOCATION-HINTS) in DEFUN
STYLE-WARNING: redefining LOCATION-P in DEFUN
STYLE-WARNING: redefining MAKE-LOCATION in DEFUN
STYLE-WARNING: redefining ERROR-MESSAGE in DEFUN
STYLE-WARNING: redefining (SETF ERROR-MESSAGE) in DEFUN
STYLE-WARNING: redefining ERROR-P in DEFUN
STYLE-WARNING: redefining MAKE-ERROR in DEFUN
STYLE-WARNING: redefining FILE-NAME in DEFUN
STYLE-WARNING: redefining (SETF FILE-NAME) in DEFUN
STYLE-WARNING: redefining FILE-P in DEFUN
STYLE-WARNING: redefining MAKE-FILE in DEFUN
STYLE-WARNING: redefining BUFFER-NAME in DEFUN
STYLE-WARNING: redefining (SETF BUFFER-NAME) in DEFUN
STYLE-WARNING: redefining BUFFER-P in DEFUN
STYLE-WARNING: redefining MAKE-BUFFER in DEFUN
STYLE-WARNING: redefining POSITION-POS in DEFUN
STYLE-WARNING: redefining (SETF POSITION-POS) in DEFUN
STYLE-WARNING: redefining POSITION-P in DEFUN
STYLE-WARNING: redefining MAKE-POSITION in DEFUN
STYLE-WARNING: redefining FIND-DEFINITIONS in DEFGENERIC
STYLE-WARNING: redefining BUFFER-FIRST-CHANGE in DEFGENERIC
STYLE-WARNING: redefining BUFFER-FIRST-CHANGE (T) in DEFMETHOD
STYLE-WARNING: redefining WHO-CALLS in DEFGENERIC
STYLE-WARNING: redefining CALLS-WHO in DEFGENERIC
STYLE-WARNING: redefining WHO-REFERENCES in DEFGENERIC
STYLE-WARNING: redefining WHO-BINDS in DEFGENERIC
STYLE-WARNING: redefining WHO-SETS in DEFGENERIC
STYLE-WARNING: redefining WHO-MACROEXPANDS in DEFGENERIC
STYLE-WARNING: redefining WHO-SPECIALIZES in DEFGENERIC
STYLE-WARNING: redefining LIST-CALLERS in DEFGENERIC
STYLE-WARNING: redefining LIST-CALLEES in DEFGENERIC
STYLE-WARNING: redefining PROFILE in DEFGENERIC
STYLE-WARNING: redefining PROFILED-FUNCTIONS in DEFGENERIC
STYLE-WARNING: redefining UNPROFILE in DEFGENERIC
STYLE-WARNING: redefining UNPROFILE-ALL in DEFGENERIC
STYLE-WARNING: redefining UNPROFILE-ALL NIL in DEFMETHOD
STYLE-WARNING: redefining PROFILE-REPORT in DEFGENERIC

Now I didn't have an error or backtrace (like I did before), it just
stopped there and it has been 5 minutes or so already.

I'll try with my system's swank, the one my system's Slime (with that
I've got an error and a backtrace).

Thank you.
-- 
Pupeno <pupeno at pupeno.com> http://pupeno.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/bese-devel/attachments/20060618/ad85ea02/attachment.sig>


More information about the bese-devel mailing list