Bug#568818: Verified, and workaround
Fredrik Tolf
fredrik at dolda2000.com
Wed Feb 10 04:06:21 UTC 2010
This happens to me too. I am able to work around it be replacing
SWANK-LOADER::BINARY-PATHNAME with the following definition:
(defun binary-pathname (src-pathname binary-dir)
"Return the pathname where SRC-PATHNAME's binary should be compiled."
(declare (ignore binary-dir))
(let ((cfp (compile-file-pathname src-pathname)))
(merge-pathnames (make-pathname
:directory
`(:relative ,@(cdr (pathname-directory
(user-homedir-pathname)))
"swank" "fasl" ,(unique-dir-name))
:name (pathname-name cfp)
:type (pathname-type cfp))
asdf:*default-toplevel-directory*)))
While it works, I smell uglyness. I have no better suggestion currently,
though, but it seems that the ASDF function OUTPUT-FILES-USING-MAPPINGS
or OUTPUT-FILES-FOR-SYSTEM-AND-OPERATION might be usable for
constructing a better solution.
Fredrik Tolf
More information about the pkg-common-lisp-devel
mailing list