I cannot load cffi-tests (from the master branch). I am on Ubuntu 11.10 amd64. I can't even make sense of what the error is; it can't compile libtest.c?
Liam
This is SBCL 1.0.51.34-43a5265, 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.
CL-USER(1): (ql:quickload "cffi-tests")
To load "cffi-tests":
Load 1 ASDF system:
cffi-tests
; Loading "cffi-tests"
..................................................
[package cffi-features]
debugger invoked on a ASDF:OPERATION-ERROR in thread #<THREAD
"initial thread" RUNNING
{1002F81371}>:
Error while invoking #<COMPILE-OP (:VERBOSE NIL) {1003900621}> on
#<C-TEST-LIB "cffi-tests" "tests" "libtest">
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry compiling #<C-TEST-LIB "cffi-tests" "tests" "libtest">.
1: [ACCEPT] Continue, treating
compiling #<C-TEST-LIB "cffi-tests" "tests" "libtest"> as having
been successful.
2: [ABORT ] Give up on "cffi-tests"
3: Exit debugger, returning to top level.
((SB-PCL::FAST-METHOD ASDF:PERFORM
(ASDF:COMPILE-OP CFFI-TESTS-SYSTEM::C-TEST-LIB))
#<unavailable argument>
#<unavailable argument>
#<ASDF:COMPILE-OP (:VERBOSE NIL) {1003900621}>
#<CFFI-TESTS-SYSTEM::C-TEST-LIB "cffi-tests" "tests" "libtest">)
0] :ba
0: ((SB-PCL::FAST-METHOD ASDF:PERFORM
(ASDF:COMPILE-OP CFFI-TESTS-SYSTEM::C-TEST-LIB))
#<unavailable argument>
#<unavailable argument>
#<ASDF:COMPILE-OP (:VERBOSE NIL) {1003900621}>
#<CFFI-TESTS-SYSTEM::C-TEST-LIB "cffi-tests" "tests" "libtest">)
1: ((SB-PCL::EMF ASDF:PERFORM)
#<unavailable argument>
#<unavailable argument>
#<ASDF:COMPILE-OP (:VERBOSE NIL) {1003900621}>
#<CFFI-TESTS-SYSTEM::C-TEST-LIB "cffi-tests" "tests" "libtest">)
2: ((LAMBDA ()))
3: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK))
4: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-RECURSIVE-LOCK]333))
5: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK
#<CLOSURE (FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK) {7FFFF69AEC09}>
#<SB-THREAD:MUTEX "World Lock"
owner: #<SB-THREAD:THREAD "initial thread" RUNNING {1002F81371}>>)
6: ((FLET SB-C::WITH-IT))
7: ((SB-PCL::FAST-METHOD ASDF::PERFORM-PLAN (LIST))
#<unused argument>
#<unused argument>
((#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "package">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "definitions">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "binding">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "strings">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "conditions">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "hash-tables">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "symbols">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "macros">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "functions">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "lists">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "io">)
(#<ASDF:LOAD-OP (:VERBOSE NIL) {10041368E1}>
. #<ASDF:CL-SOURCE-FILE "alexandria" "control-flow">)
...))
8: ((LAMBDA ()))
9: (ASDF::CALL-WITH-SYSTEM-DEFINITIONS #<CLOSURE (LAMBDA #) {10038DFA29}>)
10: ((SB-PCL::FAST-METHOD ASDF:OPERATE (T T))
#<unused argument>
#<unused argument>
ASDF:LOAD-OP
"cffi-tests"
:VERBOSE
NIL)
11: ((SB-PCL::EMF ASDF:OPERATE)
#<unused argument>
#<unused argument>
ASDF:LOAD-OP
"cffi-tests"
:VERBOSE
NIL)
12: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS
#<CLOSURE (LAMBDA #) {10038DF939}>)
13: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES
"cffi-tests"
:PROMPT
NIL)
14: ((SB-PCL::FAST-METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T))
#<unavailable argument>
#<unavailable argument>
#<unavailable argument>
#<CLOSURE (FLET QUICKLISP-CLIENT::QL) {10033AD129}>)
15: ((SB-PCL::FAST-METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND
(QL-IMPL:SBCL T))
#<unavailable argument>
#S(SB-PCL::FAST-METHOD-CALL
:FUNCTION #<FUNCTION #>
:PV NIL
:NEXT-METHOD-CALL NIL
:ARG-INFO (2))
#<QL-IMPL:SBCL {10005F8BB1}>
#<CLOSURE (FLET QUICKLISP-CLIENT::QL) {10033AD129}>)
16: ((SB-PCL::FAST-METHOD QUICKLISP-CLIENT:QUICKLOAD (T))
#<unused argument>
#<unused argument>
#<unavailable argument>
:PROMPT
NIL
:VERBOSE
NIL)
17: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<CLOSURE (LAMBDA #) {1003394369}>)
18: (SB-INT:SIMPLE-EVAL-IN-LEXENV
(QUICKLISP-CLIENT:QUICKLOAD "cffi-tests")
#<NULL-LEXENV>)
19: (EVAL (QUICKLISP-CLIENT:QUICKLOAD "cffi-tests"))
20: (INTERACTIVE-EVAL (QUICKLISP-CLIENT:QUICKLOAD "cffi-tests") :EVAL NIL)
21: (SB-ACLREPL::REP-ONE)
22: (SB-ACLREPL::REPL :BREAK-LEVEL 0 :NOPRINT NIL :INSPECT NIL :CONTINUABLE NIL)
23: ((LAMBDA (SB-ACLREPL::NOPRINT)) NIL)
24: ((LAMBDA ()))
25: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {10032B0079}>)
26: (SB-IMPL::TOPLEVEL-REPL NIL)
27: (SB-IMPL::TOPLEVEL-INIT)
28: ((FLET #:WITHOUT-INTERRUPTS-BODY-[RESTART-LISP]38))
29: ((LABELS SB-IMPL::RESTART-LISP))
0]