I’m currently playing with MirageOS as part of a university assignment. I’ve read some articles in journals and watched some videos but other than that, I’m completely new to unikernels and OCaml. I’m now at the point of installing it to run some test code and then get my assignment written. The host I’m using is a Debian 10 VM. Currently I’m planning on using “-t unix” for the configure, and then eventually move to “-t xen”.
I cloned the mirage-skeleton repo to try to build those and work through your examples. “noop” seems to work but static_website_tls doesn’t. I get errors when running “make depend” as below:
mirage-unikernel-https-unix is now pinned to file:///home/user/mirage/mirage-skeleton/applications/static_website_tls (version ~dev) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian [ERROR] No solution for mirage-unikernel-https-unix: Sorry, no solution found: there seems to be a problem with your request. Command failed: opam list --readonly --external '--resolve=mirage-unikernel-https-unix' returned 20
I’ve had a play around and found that my mirage version is stuck at 3.6.0 so knowing that isn’t the latest, I am wondering if it’s a version issue. When I try “opam upgrade” I get messages about version conflicts.
If I do as it suggests and try to upgrade a specific package, I get vague errors:
$ opam upgrade mirage-runtime Sorry, no solution found: there seems to be a problem with your request. $ opam upgrade mirage-net Sorry, no solution found: there seems to be a problem with your request. $ opam upgrade mirage-types Sorry, no solution found: there seems to be a problem with your request.
This is a new VM just for this, and opam and mirage were installed as per the Buster instructions on Docs :: Installation (mirage.io). I’ve not installed any other packages either via opam or apt.
Does anyone have a suggestion on what is going on and how I may fix it?