Guillaume Le Vaillant <[email protected]> writes:

Hi Guillaume,

thanks for your help. I tried what you suggested and I'm combining clog
and clog/docs now. I pushed it here: https://github.com/r0man/guix/tree/clog

But I'm not sure I'm much further. Now I'm seeing the following error
when I try to build the sbcl-clog-tools package:

  Component #:CLOG not found, required by #<SYSTEM "clog/tools">

I added sbcl-clog to its inputs, but somehow asdf can't find the
system. I saw this error in one of my previous experiments as well.

Any idea why sbcl-clog-tools can't find the clog system? I believe the
sbcl-clog package is more or less fine, since I can build sbcl-clog-ace,
another package that uses the clog system.

Thanks, Roman.

> Hi.
>
> It looks like the "clog/docs" and "clog/tools" systems are defined in
> the "clog.asd" file in the sbcl-clog package and also in the
> sbcl-clog-docs and sbcl-clog-tools packages. This may be the cause of
> the issue.
>
> I suppose you separated "clog/docs" and "clog/tools" systems in their
> own packages to break the dependency cycles
>   "clog/tools" -> "clog-ace" -> "clog"
> and
>   "clog/tools" -> "clog-terminal" -> "clog"
>
> However "clog/docs" is not in the cycles, so I think you could build
> it directly in the sbcl-clog package with
>   #:asd-systems '("clog" "clog/docs")
> and also updating the 'delete-files' phase not to remove the files
> required by "clog/docs".
>
> Now, concerning the "clog/tools" system, I would try to delete things
> related to it from the sbcl-clog package, and remove the things not related
> to it from the sbcl-clog-tools package. So the sbcl-clog-tools package
> would only have the "tools" directory and a ".asd" file containing only
> the definition of the "clog/tools" system.

Attachment: signature.asc
Description: PGP signature

Reply via email to