{"action":"created","issue":{"url":"https://api.github.com/repos/mirage/mirage/issues/301","labels_url":"https://api.github.com/repos/mirage/mirage/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/mirage/mirage/issues/301/comments","events_url":"https://api.github.com/repos/mirage/mirage/issues/301/events","html_url":"https://github.com/mirage/mirage/issues/301","id":45692243,"number":301,"title":"Error installing mirage-http","user":{"login":"amirmc","id":121855,"avatar_url":"https://avatars.githubusercontent.com/u/121855?v=3","gravatar_id":"","url":"https://api.github.com/users/amirmc","html_url":"https://github.com/amirmc","followers_url":"https://api.github.com/users/amirmc/followers","following_url":"https://api.github.com/users/amirmc/following{/other_user}","gists_url":"https://api.github.com/users/amirmc/gists{/gist_id}","starred_url":"https://api.github.com/users/amirmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirmc/subscriptions","organizations_url":"https://api.github.com/users/amirmc/orgs","repos_url":"https://api.github.com/users/amirmc/repos","events_url":"https://api.github.com/users/amirmc/events{/privacy}","received_events_url":"https://api.github.com/users/amirmc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-10-13T22:18:32Z","updated_at":"2015-04-08T13:47:30Z","closed_at":null,"body":"On an otherwise up to date switch, adding the `mirage-dev` repo and then updating led to the following error.  Not sure if it's transient but noting it here anyway.\r\n\r\n```\r\n#=== ERROR while upgrading to mirage-http.2.0.0 ===============================#\r\n# opam-version 1.2.0\r\n# os           darwin\r\n# command      make\r\n# path         /Users/amir/.opam/mirage/build/mirage-http.2.0.0\r\n# compiler     system (4.01.0)\r\n# exit-code    2\r\n# env-file     /Users/amir/.opam/mirage/build/mirage-http.2.0.0/mirage-http-63230-82479e.env\r\n# stdout-file  /Users/amir/.opam/mirage/build/mirage-http.2.0.0/mirage-http-63230-82479e.out\r\n# stderr-file  /Users/amir/.opam/mirage/build/mirage-http.2.0.0/mirage-http-63230-82479e.err\r\n### stderr ###\r\n# ocamlfind: Package `conduit.mirage' not found\r\n# W: Field 'pkg_conduit_mirage' is not set: Command ''/Users/amir/.opam/mirage/bin/ocamlfind' query -format %d conduit.mirage > '/var/folders/gd/bdnlf1ld21g4ynlctmqgml5h0000gn/T/oasis-b2deaa.txt'' terminated with error code 2\r\n# E: Cannot find findlib package conduit.mirage\r\n# E: Failure(\"1 configuration error\")\r\n# make: *** [setup.data] Error 1\r\n```\r\n\r\n```\r\n# OPAM status report\r\n# opam-version    1.2.0\r\n# self-upgrade    no\r\n# os              darwin\r\n# external-solver no\r\n# criteria        -removed,-notuptodate,-changed*\r\n# jobs            4\r\n# repositories    1* (http), 1 (version-controlled)\r\n# pinned          0\r\n# current-switch  mirage*\r\n# last-update     2014-10-13 22:09\r\n```"},"comment":{"url":"https://api.github.com/repos/mirage/mirage/issues/comments/90922113","html_url":"https://github.com/mirage/mirage/issues/301#issuecomment-90922113","issue_url":"https://api.github.com/repos/mirage/mirage/issues/301","id":90922113,"user":{"login":"mor1","id":167904,"avatar_url":"https://avatars.githubusercontent.com/u/167904?v=3","gravatar_id":"","url":"https://api.github.com/users/mor1","html_url":"https://github.com/mor1","followers_url":"https://api.github.com/users/mor1/followers","following_url":"https://api.github.com/users/mor1/following{/other_user}","gists_url":"https://api.github.com/users/mor1/gists{/gist_id}","starred_url":"https://api.github.com/users/mor1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mor1/subscriptions","organizations_url":"https://api.github.com/users/mor1/orgs","repos_url":"https://api.github.com/users/mor1/repos","events_url":"https://api.github.com/users/mor1/events{/privacy}","received_events_url":"https://api.github.com/users/mor1/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T13:47:30Z","updated_at":"2015-04-08T13:47:30Z","body":"This now works for me in a Travis build for `unix/socket` and `xen/direct` but not `unix/direct`. Error report is:\r\n\r\n```\r\n...\r\n∗  installed conduit.0.7.2\r\n∗  installed mirage-conduit.2.0.0\r\n∗  installed cohttp.0.13.0\r\n∗  installed mirage-http.2.1.0\r\nDone.\r\nmortio      Generating: main.ml\r\nmortio      Generating: /home/travis/build/mor1/mor1.github.io/_mirage/static1.ml\r\nmortio      => ocaml-crunch -o static1.ml /home/travis/build/mor1/mor1.github.io/_mirage/../_site\r\n+make build\r\ncd _mirage && make build\r\nmake[1]: Entering directory `/home/travis/build/mor1/mor1.github.io/_mirage'\r\nocamlbuild -use-ocamlfind -pkgs lwt.syntax,conduit.mirage,cstruct,io-page,io-page.unix,lwt,mirage-clock-unix,mirage-console.unix,mirage-http,mirage-net-unix,mirage-types,mirage-types.lwt,mirage.runtime,tcpip.stack-direct -tags \"syntax(camlp4o),annot,bin_annot,strict_sequence,principal\" -tag-line \"<static*.*>: -syntax(camlp4o)\" -cflag -g -lflags -g,-linkpkg main.native\r\n+ ocamlfind ocamlc -c -g -annot -bin-annot -principal -strict-sequence -package tcpip.stack-direct -package mirage.runtime -package mirage-types.lwt -package mirage-types -package mirage-net-unix -package mirage-http -package mirage-console.unix -package mirage-clock-unix -package lwt -package io-page.unix -package io-page -package cstruct -package conduit.mirage -package lwt.syntax -syntax camlp4o -o server.cmo server.ml\r\nFile \"server.ml\", line 71, characters 10-16:\r\nError: Unbound value S.make\r\nCommand exited with code 2.\r\nHint: Recursive traversal of subdirectories was not enabled for this build,\r\n  as the working directory does not look like an ocamlbuild project (no\r\n  '_tags' or 'myocamlbuild.ml' file). If you have modules in subdirectories,\r\n  you should add the option \"-r\" or create an empty '_tags' file.\r\n  \r\n  To enable recursive traversal for some subdirectories only, you can use the\r\n  following '_tags' file:\r\n  \r\n      true: -traverse\r\n      <dir1> or <dir2>: traverse\r\n      \r\nCompilation unsuccessful after building 4 targets (0 cached) in 00:00:00.\r\nmake[1]: *** [main.native] Error 10\r\nmake[1]: Leaving directory `/home/travis/build/mor1/mor1.github.io/_mirage'\r\nmake: *** [build] Error 2\r\n```\r\n\r\n`S` is declared in the usual way as a module parameter to the `Main` functor with type `S: Cohttp_lwt.Server` and invoked as `S.make ~callback ~conn_closed ()`.\r\n\r\nThoughts?  Do I have the type of `S` wrong, or is there a missing library or something?\r\n"}}