moby / moby/vpnkit

Trying to compile on Ubuntu 18.04 keep hitting "opam install tcpip -t' failed"

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

Nobody has claimed this yet.

Dominant language
OCaml
Stars
1.2k
Forks
214
PR merge metrics
No merged PRs in 30d

Description

I'm trying to build vpnkit and run it on Ubuntu.

- install tcpip             dev       

The former state can be restored with:
    opam switch import
"~/vpnkit/_build/opam/4.07.0/backup/state-20210509204129.export"
'opam install tcpip -t' failed.
Makefile:27: recipe for target '/home/test.admin/vpnkit/_build/opam' failed
make: *** [/home/test.admin/vpnkit/_build/opam] Error 4

But, then if I install it separately I get:

opam install tcpip -t --root _build/opam/ [NOTE] Package tcpip is already installed (current version is dev).

I'm a little stuck. I tried this on master and the v0.5.0 release tag.

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 with Makefile:27 and the _build/opam setup, then reproduce the opam install tcpip -t failure on Ubuntu 18.04 using the master or v0.5.0 checkout. Compare the failing build command with the separate install command; done means the project builds successfully without the tcpip step failing.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml, ubuntu
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.