Compiling Bonsai

@lambda_foo Appreciate your help. Your tip on converting all warnings-as-errors (which dune does) to just normal warnings is a useful one – though it didn’t seem to work for this issue.

I was able to get this compiling in way I found purely by luck.

Notice my error above complains about cohttp-async . If I explicitly type:

$ opam install cohttp-async
The following actions will be performed:
  - downgrade conduit       4.0.0 to 2.3.0 [required by conduit-async]
  - downgrade conduit-async 4.0.0 to 2.3.0 [required by cohttp-async]
  - install   cohttp-async  4.0.0+async
===== 1 to install | 2 to downgrade =====
Do you want to continue? [Y/n] Y
...
...

By this direct invocation, cohttp-async mysteriously compiles and then I’m able to proceed with the original $ opam install . --deps-only step. Note that some packages are downgraded. This seems to do the trick.

  • I’m using opam 2.1 so this could be some constraint solving issue (I haven’t tried with opam 2.0.x)
  • Its possible some of the contraints are wrong?

Anyways I now have bonsai bleeding edge compiled locally.