Do you have multiple versions of ASDF installed? e.g. one from Allegro and another from your source-registry or system-registry ? ASDF always upgrades itself first thing to avoid Big Problems otherwise.

If that's what you're experiencing, I recommend the right after you (require "asdf") and configure it (if you do), you should explicitly (asdf:upgrade-asdf) with whatever warning need be muffled, and then you'll be good.

If there's more than that, please send instructions to reproduce the issue.

-#f

On Tue, Jan 2, 2024, 16:47 Robert Goldman <rpgoldman@sift.info> wrote:

I am finding that ASDF loads itself multiple times, unnecessarily, at least on Allegro 11. E.g., it reloads when I simply invoke (asdf:component-pathname (asdf:find-system "foo")) for one of my systems.

This is annoying because I get redefinition style warnings every time I do this, which makes it hard to tell when a system loads cleanly.

I have a vague memory of a discussion that addressed the question of why this happens. Does anyone recall the answer, or have a pointer to the discussion?

Interestingly, when I load ASDF and then invoke (asdf/component:component-operation-times (asdf:find-system "asdf")) the only time listed is for define-op

Thanks,
R