On Wed, 16 Jul 2008 17:13:29 -0700, stainless steel some one wrote:
> http://sourceforge.net/projects/lisa
>
> http://sourceforge.net/forum/forum.php?thread_id=2120399&forum_id=133687
>
> I tried Lisa on both clisp, and cmucl, both seem worked. So I guess this maybe of problem of SBCL?
>
> The error is:
>
> Lock on package COMMON-LISP violated when globally declaring the ftype of
> CLASS-NAME.
>
>
>
> =======================================
> $ /usr/bin/sbcl
> This is SBCL 1.0.11.debian, 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:operate 'asdf:load-op :lisa)
>
> ; loading system definition from /media/VOLUME/project/lisa/lisa.asd into
> ; #<PACKAGE "ASDF0">
> ; registering #<SYSTEM LISA {A9A8FC9}> as LISA
>
> debugger invoked on a SB-EXT:SYMBOL-PACKAGE-LOCKED-ERROR in thread #<THREAD "initial thread" {A84D7D1}>:
> Lock on package COMMON-LISP violated when globally declaring the ftype of
> CLASS-NAME.
> See also:
> The SBCL Manual, Node "Package Locks"
> The ANSI Standard, Section 11.1.2.1.2
>
> Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
>
> restarts (invokable by number or by possibly-abbreviated name):
> 0: [CONTINUE ] Ignore the package lock.
> 1: [IGNORE-ALL ] Ignore all package locks in the context of this operation.
> 2: [UNLOCK-PACKAGE] Unlock the package.
> 3: [RETRY ] Retry performing #<ASDF:LOAD-OP NIL {A8546B9}> on
> #<ASDF:CL-SOURCE-FILE "conditions" {A9E0A41}>.
> 4: [ACCEPT ] Continue, treating #<ASDF:LOAD-OP NIL {A8546B9}> on
> #<ASDF:CL-SOURCE-FILE "conditions" {A9E0A41}> as having
> been successful.
> 5: [ABORT ] Exit debugger, returning to top level.
>
> (SB-EXT:PACKAGE-LOCK-VIOLATION #<PACKAGE "COMMON-LISP">)
> 0] 2
>
> ...
> =======================================
> so I choose 2: [UNLOCK-PACKAGE]
>
> it seems to work.
>
> But how can this thing be fixed? Thanks.
For the technical details see Christophes reply - for the "fix":
http://github.com/Ramarren/lisa/tree/master
There's an anouncement on the Lisa newsgroup about this
(lisp.lisa.general).
HTH Ralf Mattes
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK &
> win great prizes Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
|