Page 1 of 1

Asdf failed, Wheres the Error Description?

Posted: Sat Sep 12, 2009 3:17 pm
by Harnon
I get this error from time to time

Code: Select all

WARNING:
   COMPILE-FILE warned while performing #<COMPILE-OP NIL {246EA269}> on
   #<CL-SOURCE-FILE "ffi" {246E5CA9}>.
erred while invoking #<COMPILE-OP NIL {246EA269}> on
#<CL-SOURCE-FILE "ffi" {246E5CA9}>
   [Condition of type ASDF:COMPILE-FAILED]
	0: [TRY-RECOMPILING] Try recompiling ffi
	1: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL {246EA269}> on #<ASDF:CL-SOURCE-FILE "ffi" {246E5CA9}>.
	2: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {246EA269}> on #<ASDF:CL-SOURCE-FILE "ffi" {246E5CA9}> as having been successful.
	3: [ABORT] Return to SLIME's top level.
	4: [ABORT] Abort
	5: [CLOSE-CONNECTION] Close SLIME connection
	6: [ABORT] Exit debugger, returning to top level.
]> 3
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 4 ERROR conditions
It has always annoyed me, is there some way to get the actual error message? What does this error mean?

Re: Asdf failed, Wheres the Error Description?

Posted: Sat Sep 12, 2009 4:21 pm
by nuntius
The error is usually somewhere earlier. It may help to try compiling the offending file by hand -- less messages to dig through.

Re: Asdf failed, Wheres the Error Description?

Posted: Sat Sep 12, 2009 5:49 pm
by Harnon
Just wandering,would it be possible to change asdf to get the actual error message thrown by lisp instead of a general error?

Re: Asdf failed, Wheres the Error Description?

Posted: Sat Sep 12, 2009 9:06 pm
by nuntius
Possibly, but then the set of restarts would probably be different (and less useful). Maybe the asdf error could contain the thrown error and have a restart to trigger the original error?

Re: Asdf failed, Wheres the Error Description?

Posted: Sun Sep 13, 2009 8:37 pm
by Harnon
That would be awesome because it becomes tiresome when trying to compile and debug an external library using the 'asdf failed' error when all you want is for the darn thing to work :D