Closed edwintorok closed 6 years ago
Thanks, the build error looks unrelated (flake8
lint complaining about our python, we should probably fix that though sometime).
@edwintorok Just realized that the spec file of this repo only seems to build the stuff in the ocaml/
subdirectory, so maybe this dependency constraint is actually needed by the code in the generator/
dir?
I've run make
and the generator worked, I think xapi-storage got updated to support the new cow
library, but the constraint was forgotten. Looks like <2.0.0 had to be added because we still relied on camlp4, we only use ppx now here so we're good.
rpc requires cow > 2.0.0 to build (fails with 1.4.0), and xapi-storage requires cow < 2.0.0. But obviously we are able to build both using the .spec files, so fix the opam dependency to allow co-installation with rpc.
After this change I was able to pin and install both xapi and xapi-storage in the same opam switch.