<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta name="Generator" content="Zarafa WebAccess v6.20.4-14107">
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<title>Re: Re: [iolib-devel] iolib-0.7.0 or iolib-0,7.2 installation fails</title>
<style type="text/css">
body
{
font-family: Arial, Verdana, Sans-Serif;
font-size: 12px;
padding: 5px 5px 5px 5px;
margin: 0px;
border-style: none;
background-color: #ffffff;
}
p, ul, li
{
margin-top: 0px;
margin-bottom: 0px;
}
</style>
</head>
<body>
<p>Sun, 24 Oct 2010 07:53:31 -0700, Stelian Ionescu wrote:<br /><br />> On Sun, 2010-10-24 at 15:08 +0200, Marshall McLuhan wrote:<br />> > Hi<br />> > <br />> > trying to load iolib.syscalls (iolib-0.7.0). I get the same results<br />> > with iolib-0.7.2 if I did not miss something.<br />> > <br />> > As far as I know all the dependencies described at<br />> > http://common-lisp.net/project/iolib/download.shtml are in place.<br />> > <br />> > Here some curiosity, the sbcl output mentions the lisp-name function.<br />> [...]<br />> > Here lisp-name requires two arguments but I know that this is not the<br />> > error in question, at least not yet.<br />> <br />> It's surprising that SBCL doesn't signal an error on that<br />> <br />> > But I'm interested in your reflections on this nonetheless.<br />> <br />> Since I also work on CFFI, I have several in-progress branches and I<br /><br />I appreciate that.<br /><br />> think I might have tested the previous release on the wrong one.<br />><br />> Anyway, I've pushed a fix to CFFI and released 0.7.3, which work here<br />><br /><br />Thank you. Although an error still remains.<br /><br />The value VALUE is not of type SEQUENCE.<br /> [Condition of type TYPE-ERROR]<br /><br />The argument spec passed to the function parse-name-and-options is the symbol 'value but substitute<br />exspects a sequence, a list in this case I guess. Where does the symbol 'value come from and what's it's purpose?<br /><br />iolib-0.7.3/src/syscalls/early.lisp - start<br /><br />(defun parse-name-and-options (SPEC)<br /> (assert (or (stringp spec)<br /> (and (symbolp (first spec))<br /> (every #'stringp (ensure-list (second spec))))))<br /> (cond<br /> ((stringp spec)<br /> (values (cffi::lisp-name SPEC nil) (cffi::foreign-name spec nil)<br /> (cffi::foreign-options nil nil)))<br /> (t<br /> (values (first spec)<br /> (let ((foreign-names (ensure-list (second spec))))<br /> ;; If there are multiple foreign names, pick the<br /> ;; one that is available -- defaulting to the first<br /> ;; one if all else fails.<br /> (or (find-if #'foreign-symbol-pointer foreign-names)<br /> (car foreign-names)))<br /> (cffi::foreign-options (cddr spec) nil)))))<br /><br />iolib-0.7.3/src/syscalls/early.lisp - end<br /><br /><br /><br />cffi/src/functions.lisp - start<br /><br />(defun lisp-name (SPEC varp)<br /> (intern<br /> (format nil (if varp "*~A*" "~A")<br /> (canonicalize-symbol-name-case<br /> (SUBSTITUTE #\- #\_ SPEC)))))<br /><br />cffi/src/functions.lisp - end<br /><br />Below the error in all it's glory.<br /><br />Regards,<br />chris<br /><br />Restarts:<br /> 0: [TRY-RECOMPILING] Try recompiling ffi-wrappers<br /> 1: [RETRY] Retry compiling component ("iolib.syscalls" "ffi-wrappers").<br /> 2: [ACCEPT] Continue, treating compiling component ("iolib.syscalls" "ffi-wrappers") as having been successful.<br /> 3: [ABORT] Abort compilation.<br /> 4: [ABORT] Return to SLIME's top level.<br /> 5: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" RUNNING {1003D95671}>)<br /><br />Backtrace:<br /> 0: (SUBSTITUTE #\- #\_ VALUE)[:EXTERNAL]<br /> 1: (CFFI::LISP-NAME VALUE NIL)<br /> Locals:<br /> SB-DEBUG::ARG-0 = VALUE<br /> SB-DEBUG::ARG-1 = NIL<br /> 2: ((SB-PCL::FAST-METHOD CFFI-GROVEL::%PROCESS-WRAPPER-FORM ((EQL 'CFFI-GROVEL::DEFWRAPPER*) T T)) ..)<br /> Locals:<br /> SB-DEBUG::ARG-0 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-1 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-2 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-3 = #<SB-SYS:FD-STREAM for "file /home/chris/.cache/common-lisp/sbcl-1.0.37-lin..<br /> SB-DEBUG::ARG-4 = (("iolib_set_errno" %SET-ERRNO) :INT ((VALUE :INT)) ..)<br /> 3: (CFFI-GROVEL::GENERATE-C-LIB-FILE ..)<br /> Locals:<br /> SB-DEBUG::ARG-0 = #P"/home/chris/code/lisp-tp/iolib-0.7.3/src/syscalls/ffi-wrappers-unix.lisp..<br /> SB-DEBUG::ARG-1 = #P"/home/chris/.cache/common-lisp/sbcl-1.0.37-linux-x86-64/home/chris/code/..<br /> 4: ((LAMBDA ()))<br /> [No Locals]<br /> 5: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA #) {1003B220C9}>)<br /> Locals:<br /> SB-DEBUG::ARG-0 = #<CLOSURE (LAMBDA ()) {1003B220C9}><br /> 6: (CFFI-GROVEL::%PERFORM-PROCESS-WRAPPER-FILE #<ASDF:COMPILE-OP NIL {10032F1CD1}> #<CFFI-GROVEL:WRAPPER-FILE "iolib.syscalls" "ffi-wrappers">)<br /> Locals:<br /> SB-DEBUG::ARG-0 = #<ASDF:COMPILE-OP NIL {10032F1CD1}><br /> SB-DEBUG::ARG-1 = #<CFFI-GROVEL:WRAPPER-FILE "iolib.syscalls" "ffi-wrappers"><br /> 7: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP CFFI-GROVEL:WRAPPER-FILE)) ..)<br /> Locals:<br /> SB-DEBUG::ARG-0 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-1 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-2 = #<ASDF:COMPILE-OP NIL {10032F1CD1}><br /> SB-DEBUG::ARG-3 = #<CFFI-GROVEL:WRAPPER-FILE "iolib.syscalls" "ffi-wrappers"><br /> 8: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1.)) ..)<br /> Locals:<br /> SB-DEBUG::ARG-0 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-1 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-2 = #<ASDF:COMPILE-OP NIL {10032F1CD1}><br /> SB-DEBUG::ARG-3 = #<CFFI-GROVEL:WRAPPER-FILE "iolib.syscalls" "ffi-wrappers"><br /> 9: ((SB-PCL::FAST-METHOD ASDF:PERFORM :AROUND (ASDF:COMPILE-OP CFFI-GROVEL::CC-FLAGS-MIXIN)) ..)<br /> Locals:<br /> SB-DEBUG::ARG-0 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-1 = #S(SB-PCL::FAST-METHOD-CALL ..)<br /> SB-DEBUG::ARG-2 = #<ASDF:COMPILE-OP NIL {10032F1CD1}><br /> SB-DEBUG::ARG-3 = #<CFFI-GROVEL:WRAPPER-FILE "iolib.syscalls" "ffi-wrappers"><br /> 10: ((SB-PCL::FAST-METHOD ASDF::PERFORM-WITH-RESTARTS (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE)) ..)<br /> Locals:<br /> SB-DEBUG::ARG-0 = :<NOT-AVAILABLE><br /> SB-DEBUG::ARG-1 = #S(SB-PCL::FAST-METHOD-CALL ..)<br /> SB-DEBUG::ARG-2 = #<ASDF:COMPILE-OP NIL {10032F1CD1}><br /> SB-DEBUG::ARG-3 = #<CFFI-GROVEL:WRAPPER-FILE "iolib.syscalls" "ffi-wrappers"><br /> 11: ((LAMBDA ()))<br /> [No Locals]<br /> 12: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK))<br /> [No Locals]<br /> 13: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-RECURSIVE-LOCK]317))<br /> [No Locals]<br /> 14: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK ..)<br /> Locals:<br /> SB-DEBUG::ARG-0 = #<CLOSURE (FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK) {7FFFF2979CA9}><br /> SB-DEBUG::ARG-1 = #S(SB-THREAD:MUTEX ..)<br /> 15: ((FLET SB-C::WITH-IT))<br /> [No Locals]<br /> 16: ((SB-PCL::FAST-METHOD ASDF:OPERATE (T T)) #<unused argument> #<unused argument> ASDF:LOAD-OP "iolib.syscalls")<br /> Locals:<br /> #:*ASDF-VERBOSE*-DEFAULTING-TEMP = NIL<br /> ASDF::ARGS = NIL<br /> #:N-SUPPLIED-0 = NIL<br /> ASDF::OPERATION-CLASS = ASDF:LOAD-OP<br /> ASDF:SYSTEM = "iolib.syscalls"<br /> #:VERSION-DEFAULTING-TEMP = NIL<br /> 17: ((LAMBDA ()))<br /> 18: ((FLET SWANK-BACKEND:CALL-WITH-COMPILATION-HOOKS) #<CLOSURE (LAMBDA #) {10032DCB89}>)<br /> --more--<br /><br />> > Which operating system and version are you using for iolib<br />> > development?<br />> <br />> Gentoo Linux/x86<br /> </p>
!DSPAM:4cc4637b48589899414596!
</body>
</html>