{"action":"created","issue":{"url":"https://api.github.com/repos/issuu/ocaml-zmq/issues/43","repository_url":"https://api.github.com/repos/issuu/ocaml-zmq","labels_url":"https://api.github.com/repos/issuu/ocaml-zmq/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/issuu/ocaml-zmq/issues/43/comments","events_url":"https://api.github.com/repos/issuu/ocaml-zmq/issues/43/events","html_url":"https://github.com/issuu/ocaml-zmq/issues/43","id":249253598,"number":43,"title":"uint dependency","user":{"login":"Freyr666","id":10967023,"avatar_url":"https://avatars1.githubusercontent.com/u/10967023?v=4","gravatar_id":"","url":"https://api.github.com/users/Freyr666","html_url":"https://github.com/Freyr666","followers_url":"https://api.github.com/users/Freyr666/followers","following_url":"https://api.github.com/users/Freyr666/following{/other_user}","gists_url":"https://api.github.com/users/Freyr666/gists{/gist_id}","starred_url":"https://api.github.com/users/Freyr666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freyr666/subscriptions","organizations_url":"https://api.github.com/users/Freyr666/orgs","repos_url":"https://api.github.com/users/Freyr666/repos","events_url":"https://api.github.com/users/Freyr666/events{/privacy}","received_events_url":"https://api.github.com/users/Freyr666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-08-10T07:13:19Z","updated_at":"2018-03-07T09:59:30Z","closed_at":null,"author_association":"NONE","body":"It seems that zmq relies on uint, however uint is not presented in `depends`.\r\n\r\nHowever even with uint installed I'm getting an error during zmq compilation:\r\n\r\n```\r\n#=== ERROR while compiling zmq.4.0-8 ==========================================#\r\n# command      ocaml setup.ml -build\r\n# path         /home/freyr/.opam/main/.opam-switch/build/zmq.4.0-8\r\n# exit-code    1\r\n# env-file     /home/freyr/.opam/log/zmq-19148-d2d111.env\r\n# output-file  /home/freyr/.opam/log/zmq-19148-d2d111.out\r\n### output ###\r\n# [...]\r\n# File \"_tags\", line 125, characters 44-84:\r\n# Warning: the tag \"oasis_executable_threadedloopback_native\" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning.\r\n# File \"_tags\", line 126, characters 23-63:\r\n# Warning: the tag \"oasis_executable_threadedloopback_native\" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning.\r\n# /home/freyr/.opam/main/bin/ocamlfind ocamlc -g -ccopt -I/usr/local/include -ccopt -I. -ccopt -I -ccopt /home/freyr/.opam/main/lib/stdint -ccopt -Wall -ccopt -Wextra -ccopt -O2 -c src/caml_zmq_stubs.c\r\n# + /home/freyr/.opam/main/bin/ocamlfind ocamlc -g -ccopt -I/usr/local/include -ccopt -I. -ccopt -I -ccopt /home/freyr/.opam/main/lib/stdint -ccopt -Wall -ccopt -Wextra -ccopt -O2 -c src/caml_zmq_stubs.c\r\n# src/caml_zmq_stubs.c:37:10: fatal error: uint64.h: No such file or directory\r\n#  #include <uint64.h>\r\n#           ^~~~~~~~~~\r\n# compilation terminated.\r\n# Command exited with code 2.\r\n# E: Failure(\"Command ''/home/freyr/.opam/main/bin/ocamlbuild' src/libZMQ_stubs.a src/dllZMQ_stubs.so src/ZMQ.cma src/ZMQ.cmxa src/ZMQ.a src/ZMQ.cmxs examples/hwserver.native examples/hwclient.native examples/wuserver.native examples/wuclient.native examples/wuproxy.native examples/taskvent.native examples/taskwork.native examples/tasksink.native -tag debug' terminated with error code 10\")\r\n```\r\n\r\nwhat's wrong?\r\n\r\nIt seems that oasis should use ~/.opam/main/include/ocaml_stdint include path instead of ~/.opam/main/lib/stdint. Any idea how to fix that?"},"comment":{"url":"https://api.github.com/repos/issuu/ocaml-zmq/issues/comments/371086439","html_url":"https://github.com/issuu/ocaml-zmq/issues/43#issuecomment-371086439","issue_url":"https://api.github.com/repos/issuu/ocaml-zmq/issues/43","id":371086439,"user":{"login":"andersfugmann","id":647024,"avatar_url":"https://avatars2.githubusercontent.com/u/647024?v=4","gravatar_id":"","url":"https://api.github.com/users/andersfugmann","html_url":"https://github.com/andersfugmann","followers_url":"https://api.github.com/users/andersfugmann/followers","following_url":"https://api.github.com/users/andersfugmann/following{/other_user}","gists_url":"https://api.github.com/users/andersfugmann/gists{/gist_id}","starred_url":"https://api.github.com/users/andersfugmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersfugmann/subscriptions","organizations_url":"https://api.github.com/users/andersfugmann/orgs","repos_url":"https://api.github.com/users/andersfugmann/repos","events_url":"https://api.github.com/users/andersfugmann/events{/privacy}","received_events_url":"https://api.github.com/users/andersfugmann/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T09:59:30Z","updated_at":"2018-03-07T09:59:30Z","author_association":"COLLABORATOR","body":"@akabe Not sure I follow. The library does not compiles with stdlib0.4.1 installed \r\n(complains about missing uint.h), hence the PR"}}
{"actor":{"display_login":"andersfugmann"}}