Closed epipping closed 8 years ago
cmp.asd was never meant to exist in sys:contrib. The really intended copy of it is the one in sys:. The one in sys:contrib is an inadvertent mistake and will be removed by the upcoming fix.
Thanks to you Elias for mentioning raising this issue here and to Daniel for describing it also on the asdf-devel mailing list a bit earlier.
This issue should now be fixed by this commit 0ab1d53.
Great, thanks. contrib/cmp.* is now gone. I checked with asdf 3.1.7.11 that this would not have broken anything. Things with 3.1.7.17 are more difficult but I'm confident those issues will be sorted out soon.
It seems not all is good just yet. There are still two test failures in ASDF 3.1.7.18 which have the same origin:
As Faré pointed out, the sole cmp.asd that is now installed (quoting here)
[..] defines a system "cmp/cmp" having a component of type 'bundle with path "cmp/cmp" instead of a system "cmp" having a component of type :compiled-file with path "cmp" and pathname #p"SYS:CMP.FASB" or something [..]
That doesn't seem right.
@jcbeaudoin ALSO, please confirm whether or not ASDF should change its default source-registry to point at #p"SYS:" rather than #p"CONTRIB:" as the root tree for MKCL-specific .asd's.
Now, this issue should really and finally be fixed by this new commit 1e72d5d
With it a valid cmp.asd sits in sys: solely and all other bundled contribs are in sys:contrib.
Once https://gitlab.common-lisp.net/asdf/asdf/merge_requests/21 is merged, asdf will have no test failures when running on mkcl anymore (tested on linux).
With a current installation of MKCL, what one has is:
Since cmp.asd in sys:contrib is broken, something should be changed here. I'll try to lay out a few paths that I've considered.
A search in asdf for the cmp system in the order
will first find a broken asd file and lead to all kinds of errors.
Moreover, a search that only looks in sys:contrib will never find the correct system. Since sys: is not part of the source registry, such a search is typical.
This suggests that
could be done in order to make handling of the cmp system from within ASDF easier.
(this is connected to https://gitlab.common-lisp.net/asdf/asdf/merge_requests/11)