moby / moby/hyperkit

qcow support build failure with ocaml 4.12

Open
#312 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.7k
Forks
336
PR merge metrics
No merged PRs in 30d

Description

Trying to build cow support on a brand new MacBook with m1 chip:

ncopa@ncopa-mbp13 hyperkit % opam install uri qcow.0.11.0 conduit.2.1.0 lwt.5.3.0 qcow-tool mirage-block-unix.2.12.0 conf-libev logs fmt mirage-unix prometheus-app

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><>  🐫 
[qcow.0.11.0] no changes from git://github.com/mirage/ocaml-qcow
[qcow-tool.0.11.0] no changes from git://github.com/mirage/ocaml-qcow

The following dependencies couldn't be met:
  - lwt → ocaml < 4.12
      base of this switch (use `--unlock-base' to force)

No solution found, exiting

ocaml was installed with brew.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported opam install command for qcow.0.11.0, qcow-tool, and the listed dependencies with OCaml 4.12 on the M1 setup. Inspect the OCaml version constraint reported for lwt and determine the compatibility change or documentation needed for qcow support to build successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, ocaml
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.