Broken source-registry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ASDF |
Fix Released
|
High
|
Faré |
Bug Description
Revision dcdd0c561f5302f
Prior to that version, running
sbcl --eval '(require :asdf)' --eval '(in-package :asdf)' --eval '(print (default-
would print the following for me:
(:SOURCE-REGISTRY (:DIRECTORY #P"/home/
(:DIRECTORY #P"/home/
(:DIRECTORY #P"/home/
(:TREE #P"/home/
(:DIRECTORY #P"/usr/
(:TREE #P"/usr/
(:DIRECTORY #P"/usr/
(:TREE #P"/usr/
With 2.014.4, it started printing
(:SOURCE-REGISTRY (:DIRECTORY #P"/home/
(:DIRECTORY #P"/home/
(:DIRECTORY #P"/home/
(:TREE #P"/home/
(:TREE NIL) :INHERIT-
Anything under /usr/ is missing.
The reason for that is the following change:
- ,@(split-string (or (getenv "XDG_DATA_DIRS")
- "/usr/local/
- :separator ":")))
+ ,@(or (getenv-
+ '("/usr/
in the definition of default-
Since sbcl 1.0.56 comes with asdf 2.20, that version (but not 1.0.55) is affected by this issue.
Oops. Fixed in 2.20.15. Thanks a lot for noticing and narrowing down the issue!