Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save argent-smith/99e4fdbd83721060fc0f9af25664a3c6 to your computer and use it in GitHub Desktop.
Save argent-smith/99e4fdbd83721060fc0f9af25664a3c6 to your computer and use it in GitHub Desktop.
wrong make depend?
~/Development/own/mirage/hello · (master)
⟩ make depend
opam pin add --no-action --yes mirage-unikernel-hello-macosx .
Package mirage-unikernel-hello-macosx does not exist, create as a NEW package ? [Y/n] y
mirage-unikernel-hello-macosx is now path-pinned to /Users/paul/Development/own/mirage/hello
[mirage-unikernel-hello-macosx] /Users/paul/Development/own/mirage/hello/ synchronized
[mirage-unikernel-hello-macosx] Installing new package description from /Users/paul/Development/own/mirage/hello
opam depext --yes mirage-unikernel-hello-macosx
# Detecting depexts using flags: x86_64 osx homebrew
# No extra OS packages requirements found.
opam install --yes --deps-only mirage-unikernel-hello-macosx
=-=- Synchronising pinned packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
[mirage-unikernel-hello-macosx] /Users/paul/Development/own/mirage/hello/ already up-to-date
opam pin remove --no-action mirage-unikernel-hello-macosx
mirage-unikernel-hello-macosx is now unpinned from path /Users/paul/Development/own/mirage/hello
~/Development/own/mirage/hello · (master)
⟩ make
mirage build
ocamlfind: Package `mirage-clock-unix' not found
ocamlfind ocamldep -package mirage-unix -package mirage-types-lwt -package mirage-types -package mirage-runtime -package mirage-logs -package mirage-clock-unix -package lwt.ppx -package lwt -package functoria-runtime -package duration -predicates mirage_unix -modules main.ml > main.ml.depends
+ ocamlfind ocamldep -package mirage-unix -package mirage-types-lwt -package mirage-types -package mirage-runtime -package mirage-logs -package mirage-clock-unix -package lwt.ppx -package lwt -package functoria-runtime -package duration -predicates mirage_unix -modules main.ml > main.ml.depends
ocamlfind: Package `mirage-unix' not found
Command exited with code 2.
run ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-tags'
'predicate(mirage_unix),warn(A-4-41-42-44),color(always),debug,bin_annot,strict_sequence,principal,safe_string,thread'
'-pkgs'
'duration,functoria-runtime,lwt,lwt.ppx,mirage-clock-unix,mirage-logs,mirage-runtime,mirage-types,mirage-types-lwt,mirage-unix'
'-cflags' '-g' '-lflags' '-g' '-tag-line' '<static*.*>: warn(-32-34)'
'-X' '_build-ukvm' 'main.native']: exited with 10
make: *** [build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment