Asdf failed, Wheres the Error Description?

Discussion of Common Lisp
Post Reply
Harnon
Posts: 78
Joined: Wed Jul 30, 2008 9:59 am

Asdf failed, Wheres the Error Description?

Post by Harnon » Sat Sep 12, 2009 3:17 pm

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?

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: Asdf failed, Wheres the Error Description?

Post by nuntius » Sat Sep 12, 2009 4:21 pm

The error is usually somewhere earlier. It may help to try compiling the offending file by hand -- less messages to dig through.

Harnon
Posts: 78
Joined: Wed Jul 30, 2008 9:59 am

Re: Asdf failed, Wheres the Error Description?

Post by Harnon » Sat Sep 12, 2009 5:49 pm

Just wandering,would it be possible to change asdf to get the actual error message thrown by lisp instead of a general error?

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: Asdf failed, Wheres the Error Description?

Post by nuntius » Sat Sep 12, 2009 9:06 pm

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?

Harnon
Posts: 78
Joined: Wed Jul 30, 2008 9:59 am

Re: Asdf failed, Wheres the Error Description?

Post by Harnon » Sun Sep 13, 2009 8:37 pm

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

Post Reply