ASDF-Install patch for bug in loading dependencies

Gary King <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
I a system uses strings instead of symbols to specify its  
dependencies, then ASDF-Install gets an error. That happens because  
the internal function one-iter calls symbol on each dependency and  
that won't work on a string. The patch below alters ASDF-Install to  
call asdf::coerce-name instead.

I ran into this problem today while working on getting Closer to MOP  
ASDF-Installable.

I think that I have the most recent version of ASDF-Install.

--- installer-old-version.lisp  2005-10-04 23:24:32.000000000 -0400
+++ installer.lisp      2005-12-16 11:59:37.000000000 -0500
@@ -636,7 +636,7 @@
                                               (asdf:component-name
                                                (asdf::missing- 
required-by c)))
                                (one-iter (list
-                                         (symbol-name
+                                         (asdf::coerce-name
                                            (asdf::missing-requires  
c))))
                                (invoke-restart 'retry)))


-- 
Gary Warren King
metabang.com
http://www.metabang.com/
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.