This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Asdf failed, Wheres the Error Description?

5 posts · 1851 views

I get this error from time to time
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?

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?

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?

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?

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