dune icon indicating copy to clipboard operation
dune copied to clipboard

Dependency cycle when building the `lwt` project with dune package management

Open gridbugs opened this issue 1 year ago • 1 comments

To reproduce, run:

$ opam source lwt.5.7.0
$ cd lwt.5.7.0
$ dune pkg lock
$ DUNE_CONFIG__TOOLCHAINS=enabled dune build
Error: Dependency cycle between:
   - package base-bytes
-> _build/_private/default/.pkg/ocamlfind/target/cookie
-> - package base-bytes

There's no obvious dependency cycle between lockfiles. Projects that depend on lwt build fine with dune package management. This problem only happens when building the lwt project itself.

I'll update this issue as I find more projects with this problem.

gridbugs avatar Aug 20 '24 06:08 gridbugs

Thanks for the report and the reproduction @Kakadu

This does look like a bug, I don't see why we would report the function documentation when hovering on one of it's parameter usages.

voodoos avatar Aug 30 '24 14:08 voodoos