Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack overflow when wild pathname on asdf:*central-registry* #486

Open
xrme opened this issue Apr 30, 2024 · 1 comment
Open

stack overflow when wild pathname on asdf:*central-registry* #486

xrme opened this issue Apr 30, 2024 · 1 comment

Comments

@xrme
Copy link
Member

xrme commented Apr 30, 2024

Someone is messing up here. :-)

? (require 'asdf)
ASDF
("uiop" "UIOP" "asdf" "ASDF")
? (pushnew #p"home:someplace;**" asdf:*central-registry*)
(#P"home:someplace;**")
? (asdf:find-system :foo)
> Error: While searching for system "foo": #P"home:someplace;**" evaluated to #P"home:someplace;**" which is not an absolute directory.
> While executing: ASDF/SYSTEM-REGISTRY:SYSDEF-CENTRAL-REGISTRY-SEARCH, in process listener(1).
> Error: Can't reliably convert wild pathname #P"home:someplace;**"
> While executing: (:INTERNAL ASDF/SYSTEM-REGISTRY:SYSDEF-CENTRAL-REGISTRY-SEARCH), in process listener(1).
> Error: Can't reliably convert wild pathname #P"home:someplace;**"
> While executing: (:INTERNAL ASDF/SYSTEM-REGISTRY:SYSDEF-CENTRAL-REGISTRY-SEARCH), in process listener(1).
...
Unrecoverable stack overflow.
? for help
[62046] Clozure CL kernel debugger: 
@svspire
Copy link
Contributor

svspire commented May 1, 2024

(pushnew #p"home:someplace;" asdf:*central-registry*) ; works

ASDF appears to want only non-wild directory pathnames on the *central-registry*. That's no excuse for an unrecoverable stack overflow, but it seems to be the case.

Also ASDF hates logical pathnames with a passion that is both justified and stupid. Justified because logical pathnames are specified incorrectly in the hyperspec, and stupid because some implementations like CCL ignore the wrongness and do the right thing anyway, and so should ASDF in my opinion.

Also asdf:*central-registry* has been deprecated and they want everybody to use the source-registry now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants