[Openmcl-devel] iSight code?

Ron Garret ron at awun.net
Sun Jan 27 23:35:34 PST 2008


 From the if-it's-not-one-thing-it's-another department...

Since quartz is working for Matthew I decided it must be something  
wrong with my setup.  I was right.  Now I can't even rebuild ccl any  
more:

[ron at mickey:~/devel/ccl]$ ./dx86cl64
Welcome to Clozure Common Lisp Version 1.1-r7902 (DarwinX8664)!
? (ccl:rebuild-ccl :full t)
;Building lisp-kernel ...
;Kernel built successfully.
;Compiling "/Users/ron/devel/ccl/compiler/nxenv.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/nxenv.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/nx.lisp"...
; Including "/Users/ron/devel/ccl/compiler/nx-basic.lisp"...
; Including "/Users/ron/devel/ccl/compiler/lambda-list.lisp"...
; Including "/Users/ron/devel/ccl/compiler/nx0.lisp"...
; Including "/Users/ron/devel/ccl/compiler/nx1.lisp"...
;Loading #P"/Users/ron/devel/ccl/l1-fasls/nx.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/optimizers.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/optimizers.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/dll-node.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/dll-node.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/arch.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/arch.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/vreg.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/vreg.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/vinsn.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/vinsn.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/reg.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/reg.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/subprims.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/subprims.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/backend.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/backend.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/x86-arch.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x86-arch.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/x86-asm.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x86-asm.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/x86-lap.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x86-lap.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/X8664/x8664-arch.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x8664-arch.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/x8664env.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x8664env.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/x86-backend.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x86-backend.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/X8664/x8664- 
backend.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x8664-backend.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/X8664/x8664- 
vinsns.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x8664-vinsns.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/x862.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x862.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/compiler/X86/x86-lapmacros.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/x86-lapmacros.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/xdump/xx8664-fasload.lisp"...
;Loading #P"/Users/ron/devel/ccl/xdump/xx8664-fasload.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/xdump/xfasload.lisp"...
;Loading #P"/Users/ron/devel/ccl/xdump/xfasload.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/xdump/heap-image.lisp"...
;Loading #P"/Users/ron/devel/ccl/xdump/heap-image.dx64fsl"...
Can't find #P"ccl:bin;hash.dx64fsl.newest" so requiring  
"ccl:lib;hash.lisp" instead
Can't find #P"ccl:bin;backquote.dx64fsl.newest" so requiring  
"ccl:lib;backquote.lisp" instead
Can't find #P"ccl:library;lispequ.dx64fsl.newest" so requiring  
"ccl:library;lispequ.lisp" instead
Can't find #P"ccl:bin;level-2.dx64fsl.newest" so requiring  
"ccl:lib;level-2.lisp" instead
Can't find #P"ccl:bin;macros.dx64fsl.newest" so requiring  
"ccl:lib;macros.lisp" instead
Can't find #P"ccl:bin;defstruct-macros.dx64fsl.newest" so requiring  
"ccl:lib;defstruct-macros.lisp" instead
Can't find #P"ccl:bin;lists.dx64fsl.newest" so requiring  
"ccl:lib;lists.lisp" instead
Can't find #P"ccl:bin;chars.dx64fsl.newest" so requiring  
"ccl:lib;chars.lisp" instead
Can't find #P"ccl:bin;setf.dx64fsl.newest" so requiring  
"ccl:lib;setf.lisp" instead
Can't find #P"ccl:bin;setf-runtime.dx64fsl.newest" so requiring  
"ccl:lib;setf-runtime.lisp" instead
Can't find #P"ccl:bin;defstruct.dx64fsl.newest" so requiring  
"ccl:lib;defstruct.lisp" instead
Can't find #P"ccl:bin;defstruct-lds.dx64fsl.newest" so requiring  
"ccl:lib;defstruct-lds.lisp" instead
Can't find #P"ccl:bin;foreign-types.dx64fsl.newest" so requiring  
"ccl:lib;foreign-types.lisp" instead
Can't find #P"ccl:bin;db-io.dx64fsl.newest" so requiring "ccl:lib;db- 
io.lisp" instead
Can't find #P"ccl:bin;nfcomp.dx64fsl.newest" so requiring  
"ccl:lib;nfcomp.lisp" instead
Can't find #P"ccl:bin;ffi-darwinx8664.dx64fsl.newest" so requiring  
"ccl:lib;ffi-darwinx8664.lisp" instead
;Compiling "/Users/ron/devel/ccl/lib/hash.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/hash.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/backquote.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/backquote.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/library/lispequ.lisp"...
;Loading #P"/Users/ron/devel/ccl/library/lispequ.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/level-2.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/level-2.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/macros.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/macros.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/defstruct-macros.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/defstruct-macros.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/lists.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/lists.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/chars.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/chars.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/setf.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/setf.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/setf-runtime.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/setf-runtime.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/defstruct.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/defstruct.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/defstruct-lds.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/defstruct-lds.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/foreign-types.lisp"...
;Loading #P"/Users/ron/devel/ccl/bin/foreign-types.dx64fsl"...
;Compiling "/Users/ron/devel/ccl/lib/db-io.lisp"...
Read error between positions 2401 and 3053 in /Users/ron/devel/ccl/lib/ 
db-io.lisp.
 > Error: Constant not found: X86-DARWIN64::O_WRONLY
 > While executing: LOAD-OS-CONSTANT, in process listener(1).
 > Type :POP to abort, :R for a list of available restarts.
 > Type :? for other options.
1>

This is after a fresh cvs update.

Here's another weird thing.  I deleted all the .cdb files and tried to  
build them from scratch.  It seemed to work...

Welcome to Clozure Common Lisp Version 1.1-r7902 (DarwinX8664)!
? (require 'parse-ffi)
PARSE-FFI
("PARSE-FFI")
? (dolist (n '(:cocoa :libc :qtkit :quartzcore :addressbook
                     :gl :mysql :quartz :webkit))
   (print n)
   (ccl::parse-standard-ffi-files n)
)

:COCOA
:LIBC
:QTKIT
:QUARTZCORE
:ADDRESSBOOK
:GL
:MYSQL
#P"/Users/ron/devel/ccl/darwin-x86-headers64/mysql/C/usr/local/mysql/ 
include/mysql.ffi" ...
; Warning: Interface file #P"ccl:darwin-x86- 
headers64;mysql;types.cdb.newest" does not exist.
; While executing: CCL::CDB-OPEN, in process listener(1).

:QUARTZ
:WEBKIT
NIL
?

Except that it didn't produce the verbose output that I was expecting,  
and it ran really really fast, like less than a second for the whole  
thing.  And now everything is completely fubar:

Welcome to Clozure Common Lisp Version 1.1-r7902 (DarwinX8664)!
? (require 'cocoa)
 > Error: Unknown foreign type: :OBJC_OBJECT
 > While executing: %PARSE-FOREIGN-TYPE, in process listener(1).
 > Type :POP to abort, :R for a list of available restarts.
 > Type :? for other options.
1>

Grrrr....  that'll teach me to do a cvs update without a backup.   
Wait!  I'm running Leopard!  I've got a time machine!

rg




More information about the Openmcl-devel mailing list