[iolib-devel] SBCL compilation problem

Marko Tapio Manninen mmstud at gmail.com
Sat Jun 7 13:11:34 UTC 2008


Stelian Ionescu kirjoitti 7.6.2008 kello 14.50:

> On Sat, Jun 07, 2008 at 11:29:40AM +0300, Marko Tapio Manninen wrote:
>> I got this error when trying to compile iolib with SBCL .17:
>
> could you please post the entire backtrace ?

Well that was whole traceback from terminal run sbcl, but i changed my  
emacs + slime to use sbcl and got more:

The value NIL is not of type PACKAGE.
    [Condition of type TYPE-ERROR]

Restarts:
  0: [TRY-RECOMPILING] Try recompiling grovel
  1: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL {11E78731}> on  
#<CFFI-GROVEL:GROVEL-FILE "grovel" {11D42899}>.
  2: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {11E78731}> on  
#<CFFI-GROVEL:GROVEL-FILE "grovel" {11D42899}> as having been  
successful.
  3: [ABORT] Return to SLIME's top level.
  4: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl- 
thread" {1268F779}>)

Backtrace:
   0: ((LABELS CFFI-GROVEL::PROCESS-FORM) (IN-PACKAGE :NET.SOCKETS))
       Locals:
         SB-DEBUG::ARG-0 = (IN-PACKAGE :NET.SOCKETS)
   1: (CFFI-GROVEL::GENERATE-C-FILE #P"/Users/mmstud/lisp/libs/iolib/ 
net.sockets/grovel.lisp" #P"/Users/mmstud/lisp/libs/iolib/net.sockets/ 
grovel.fasl")
       Locals:
         SB-DEBUG::ARG-0 = #P"/Users/mmstud/lisp/libs/iolib/ 
net.sockets/grovel.lisp"
         SB-DEBUG::ARG-1 = #P"/Users/mmstud/lisp/libs/iolib/ 
net.sockets/grovel.fasl"
   2: (CFFI-GROVEL:PROCESS-GROVEL-FILE #P"/Users/mmstud/lisp/libs/ 
iolib/net.sockets/grovel.lisp" #P"/Users/mmstud/lisp/libs/iolib/ 
net.sockets/grovel.fasl")
       Locals:
         CFFI-GROVEL::INPUT-FILE = #P"/Users/mmstud/lisp/libs/iolib/ 
net.sockets/grovel.lisp"
         CFFI-GROVEL::OUTPUT-DEFAULTS = #P"/Users/mmstud/lisp/libs/ 
iolib/net.sockets/grovel.fasl"
   3: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP CFFI- 
GROVEL:GROVEL-FILE)) #<unavailable argument> #<unavailable argument>  
#<ASDF:COMPILE-OP NIL {11E78731}> #<CFFI-GROVEL:GROVEL-FILE  
"grovel" {11D42899}>)
       Locals:
         SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
         SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
         SB-DEBUG::ARG-2 = #<ASDF:COMPILE-OP NIL {11E78731}>
         SB-DEBUG::ARG-3 = #<CFFI-GROVEL:GROVEL-FILE  
"grovel" {11D42899}>
   4: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.  
SB-PCL::.ARG1.)) #<unavailable argument> #<unavailable argument>  
#<ASDF:COMPILE-OP NIL {11E78731}> #<CFFI-GROVEL:GROVEL-FILE  
"grovel" {11D42899}>)
       Locals:
         SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
         SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
         SB-DEBUG::ARG-2 = #<ASDF:COMPILE-OP NIL {11E78731}>
         SB-DEBUG::ARG-3 = #<CFFI-GROVEL:GROVEL-FILE  
"grovel" {11D42899}>
   5: ((SB-PCL::FAST-METHOD ASDF:PERFORM :AROUND (ASDF:COMPILE-OP CFFI- 
GROVEL::CC-FLAGS-MIXIN)) #<unavailable argument> #S(SB-PCL::FAST- 
METHOD-CALL :FUNCTION #<CLOSURE (LAMBDA #) {12DA7E15}> :PV NIL :NEXT- 
METHOD-CALL NIL :ARG-INFO (2)) #<ASDF:COMPILE-OP NIL {11E78731}>  
#<CFFI-GROVEL:GROVEL-FILE "grovel" {11D42899}>)
       Locals:
         SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
         SB-DEBUG::ARG-1 = #S(SB-PCL::FAST-METHOD-CALL :FUNCTION  
#<CLOSURE (LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB- 
PCL::.ARG0. ...)) {12DA7E15}> :PV NIL :NEXT-METHOD-CALL NIL :ARG-INFO  
(2))
         SB-DEBUG::ARG-2 = #<ASDF:COMPILE-OP NIL {11E78731}>
         SB-DEBUG::ARG-3 = #<CFFI-GROVEL:GROVEL-FILE  
"grovel" {11D42899}>
   6: ((SB-PCL::FAST-METHOD ASDF:PERFORM :AROUND (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)) #<unavailable argument> #S(SB-PCL::FAST-METHOD- 
CALL :FUNCTION #<FUNCTION (SB-PCL::FAST-METHOD  
ASDF:PERFORM :AROUND ...)> :PV NIL :NEXT-METHOD-CALL #S(SB-PCL::FAST- 
METHOD-CALL :FUNCTION #<CLOSURE # {12DA7E15}> :PV NIL :NEXT-METHOD- 
CALL NIL :ARG-INFO (2)) :ARG-INFO (2)) #<ASDF:COMPILE-OP NIL  
{11E78731}> #<CFFI-GROVEL:GROVEL-FILE "grovel" {11D42899}>)
       Locals:
         SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
         SB-DEBUG::ARG-1 = #S(SB-PCL::FAST-METHOD-CALL :FUNCTION  
#<FUNCTION (SB-PCL::FAST-METHOD ASDF:PERFORM :AROUND ...)> :PV  
NIL :NEXT-METHOD-CALL #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<CLOSURE  
(LAMBDA #) {12DA7E15}> :PV NIL :NEXT-METHOD-CALL NIL :ARG-INFO  
(2)) :ARG-INFO (2))
         SB-DEBUG::ARG-2 = #<ASDF:COMPILE-OP NIL {11E78731}>
         SB-DEBUG::ARG-3 = #<CFFI-GROVEL:GROVEL-FILE  
"grovel" {11D42899}>
   7: ((LAMBDA NIL))
       [No Locals]
   8: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK))
       [No Locals]
   9: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-RECURSIVE-LOCK]522))
       [No Locals]
  10: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK #<CLOSURE (FLET SB- 
THREAD::WITH-RECURSIVE-LOCK-THUNK) {44FF6CD}> #S(SB-THREAD:MUTEX :NAME  
"big compiler lock" :%OWNER #<SB-THREAD:THREAD "repl- 
thread" {1268F779}> :LUTEX #<unknown pointer object, widetag=#x5E  
{1049A027}>))
       Locals:
         SB-DEBUG::ARG-0 = #<CLOSURE (FLET SB-THREAD::WITH-RECURSIVE- 
LOCK-THUNK) {44FF6CD}>
         SB-DEBUG::ARG-1 = #S(SB-THREAD:MUTEX :NAME "big compiler  
lock" :%OWNER #<SB-THREAD:THREAD "repl-thread" {1268F779}> :LUTEX  
#<unknown pointer object, widetag=#x5E {1049A027}>)
  11: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA NIL) {12D2D2C5}>) 
[:EXTERNAL]
       Locals:
         SB-DEBUG::ARG-0 = 1
         SB-DEBUG::ARG-1 = #<CLOSURE (LAMBDA NIL) {12D2D2C5}>
  12: (ASDF:OPERATE ASDF:LOAD-OP IOLIB)[:EXTERNAL]
       Locals:
         SB-DEBUG::ARG-0 = 2
         SB-DEBUG::ARG-1 = ASDF:LOAD-OP
         SB-DEBUG::ARG-2 = IOLIB
  13: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF:OOS (QUOTE ASDF:LOAD-OP)  
(QUOTE IOLIB)) #<NULL-LEXENV>)
       Locals:
         SB-DEBUG::ARG-0 = (ASDF:OOS (QUOTE ASDF:LOAD-OP) (QUOTE IOLIB))
         SB-DEBUG::ARG-1 = #<NULL-LEXENV>
  14: (SWANK::EVAL-REGION "(asdf:oos 'asdf:load-op 'iolib)
      ")
       Locals:
         SB-DEBUG::ARG-0 = "(asdf:oos 'asdf:load-op 'iolib)
                           "
  15: ((LAMBDA NIL))
       [No Locals]



More information about the iolib-devel mailing list