ocurrent / ocaml-ci

A CI for OCaml projects

Home Page:https://ocaml.ci.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Analysis failed "Job failed: No solution found for any supported platform"

coco33920 opened this issue · comments

The first step, the analysis failed on this repository Boulangerie and it is not building, although it does with my other similarly designed project like Baguette#.

log: log here

Do you know why?

Hi!
The problem is that you're requesting the str package in the boulangerie opam file:

https://github.com/coco33920/boulangerie/blob/4845d35795b20037bf95ea7872bb869d4b7d346c/boulangerie.opam#L18

This package doesn't exist standalone: you just want the str library that is part of the ocaml package. That's why the solver doesn't find the package! If you run opam show str, you'll see that it doesn't exist.

- str -> (problem)
    No known implementations at all

Just remove str from the package list, but keep it in your dune file to link with the library.
I'll have a tradi graines.

Thank you for the answer :)