component-relative-pathname behavior change breaks closure-html
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ASDF |
Fix Released
|
Medium
|
Faré |
Bug Description
In older ASDF versions, component-
(asdf:component
In asdf 2, this returns the pathname of the system file:
(asdf:component
Closure-html searches for a few data files relative to the result of this function. The data files on disk have no file type, so when merging with this pathname, they get a file type of "asd", which leads to "file not found".
Here's what I'm using as a workaround locally:
(defmethod asdf:component-
(let ((pathname (call-next-
(pathname (directory-
It would be nice if this incompatible change was either fixed or clearly justified.
Oops, it's a bug I introduced when last rewriting determine- system- pathname. Can be fixed there by returning directory-pathname instead of file-pathname in the second or clause.
Will release a fix in 2.121. If you had reported a bit earlier, it could have made it to 2.005, but now that will have to wait for 2.006.
Workaround: do NOT use component- relative- pathname of a find-system. Instead, use system- relative- pathname.