You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qcow-tool fails to build in one the datakit build. I check, it's because mirage-block-unix uses Lwt_unix but lwt.unix is missing from the jbuild. It's not detected at build time since the cmi files for lwt.unix are installed in the same directory as the cmi files for lwt.
/cc @aantron, it'd be better to install the cmi for the various sub-libraries in sub-directories, to avoid problems like these. jbuilder installs the files for a library with findlib name a.b.c in /a/b/c.
This seems like a problem with jbuilder being incompatible with non-jbuilder installs; on the other hand, maybe we can just move these .cmi files in the next release, and avoid friction.
Activity
Drup commentedon May 19, 2017
The recent oasis feature called "FindlibDirectory" should allow to do that quite easily.
aantron commentedon May 20, 2017
So I guess this is a matter of
FindlibDirectoryto each Findlib library package in_oasisthat has aFindlibParent(example).FindlibParent, either by reading its changelog, or somehow through blame in that repo.opamfile requires at least that version of OASIS.[-]jbuilder and the paths of Lwt's installed cmi files[/-][+]The paths of Lwt's installed cmi files[/+]aantron commentedon May 22, 2017
Thanks for clarifying, @diml.
So, I guess to work on this, one would:
masterwithopam source --dev-repo --pin lwt._oasisdescribed above.opam reinstall lwt(oropam upgrade lwt?) to install a version of Lwt from your branch, with the_oasischange included.aantron commentedon Jun 9, 2017
This was resolved by #374.