> On Jun 6, 2018, at 19:14, Robert Goldman <rpgold...@sift.info> wrote:
> If you get a chance, can you eyeball [my example code to try to use
> FIVEAM-ASDF] to tell me if that looks like the correct usage?
> Various versions of ASDF-3.1.x (SBCL, CCL, ABCL) are failing with problems
> about symbols:
> Error while trying to load definition for system
> fiveam-asdf-example from pathname
> EXPORT ASDF/INTERFACE::FIVEAM-TESTER-SYSTEM causes
> name-conflicts in #<PACKAGE "ASDF/USER"> between the
> following symbols:
> [Condition of type ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR]
> I had problems like this, too -- it's because of the fact that when the
> defsystem form is first read, before the :defsystem-depends-on is loaded, the
> symbol named "FIVEAM-TESTER-SYSTEM" gets interned in ASDF/USER and then when
> it's later exported from ASDF/INTERFACE (used by ASDF/USER) it collides with
> the earlier-read symbol.
> I believe that the correct fix for this is to use any new symbols (like
> fiveam-tester-system) in the keyword package, so
> :class :fiveam-tester-system
> and then when the defsystem form is processed after the defsystem
> dependencies (in this case, fiveam-asdf), ASDF will look for keyword symbols
> in the current package.
> Give that a try and see if it fixes your problem.
Unfortunately, it doesn’t help to specify a keyword, but one gets a new error:
Error while trying to load definition for system
asdf-test-harness-example from pathname
The following symbols need to be imported to #<Package "ASDF/INTERFACE">
before they can be exported
from that package:
I think with some futzing around with EVAL-WHEN around EXPORT statements we can
get this to work.
I’m coming to the end of my day with a Common Lisp Foundation board meeting, so
I will probably get back to this tomorrow.
"A screaming comes across the sky. It has happened before but there is nothing
to compare to it now."