ccl
ccl copied to clipboard
Let ASDF follow symlinks when looking up systems / .asd files
If I symlink a Common Lisp project to ~/common-lisp for instance, I can load the .asd with SBCL but not with CCL. It seems that ASDF in CCL does not follow symlinks (I haven't checked).
I could be an issue with my system's CCL:
- OS: Guix
- CCL version: 1.11.5
- (asdf:asdf-version): 3.1.5.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I remember this coming up before, and I think it was an issue in ASDF.
https://gitlab.common-lisp.net/asdf/asdf/merge_requests/27 seems like it is in the area.
ASDF 3.1.5 is the version bundled with CCL 1.11.5, so you could try an updated ASDF to see if that helps your situation.
Could very well be (sorry, no time to test at the moment). Which version is to be expected in 1.12?
Currently, 1.12-dev has ASDF 3.2.0. I remember being hesitant about including 3.3.1 for some reason I no longer remember.
I've just tried updating ASDF to 3.3.3 by running git clone .../asdf in ~/.common-lisp.
From a REPL:
(asdf:asdf-version)
"3.3.3"
But this does not fix the issue. Maybe the embedded ASDF has to be replaced? According to ASDF documentation, the above should be enough.
Tried again on 1.12, the issue persists.
Same here with (asdf:asdf-version) showing "3.3.5".
Note that this is still an issue. Here's a compatibility chart:
| Implementation | ASDF Version | Follows symlinks? |
|---|---|---|
| CCL | 3.3.3 | No |
| SBCL | 3.3.1 | Yes |
| ECL | 3.1.8.8 | Yes |
| ABCL | 3.3.6 | Yes |
| Clasp | 3.3.6 | No |
See also:
https://github.com/Clozure/ccl/blob/master/tools/asdf.lisp#L3227-L3228