{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml-obuild/obuild/issues/142","repository_url":"https://api.github.com/repos/ocaml-obuild/obuild","labels_url":"https://api.github.com/repos/ocaml-obuild/obuild/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/ocaml-obuild/obuild/issues/142/comments","events_url":"https://api.github.com/repos/ocaml-obuild/obuild/issues/142/events","html_url":"https://github.com/ocaml-obuild/obuild/issues/142","id":98640978,"number":142,"title":"Modules cannot depend on eachother inside of a pack.","user":{"login":"jordwalke","id":977348,"avatar_url":"https://avatars.githubusercontent.com/u/977348?v=3","gravatar_id":"","url":"https://api.github.com/users/jordwalke","html_url":"https://github.com/jordwalke","followers_url":"https://api.github.com/users/jordwalke/followers","following_url":"https://api.github.com/users/jordwalke/following{/other_user}","gists_url":"https://api.github.com/users/jordwalke/gists{/gist_id}","starred_url":"https://api.github.com/users/jordwalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordwalke/subscriptions","organizations_url":"https://api.github.com/users/jordwalke/orgs","repos_url":"https://api.github.com/users/jordwalke/repos","events_url":"https://api.github.com/users/jordwalke/events{/privacy}","received_events_url":"https://api.github.com/users/jordwalke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ocaml-obuild/obuild/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-08-02T22:07:27Z","updated_at":"2016-08-22T15:55:51Z","closed_at":null,"body":"Inside of `autopack/src/b/c.ml`, place the following line:\r\n\r\n\r\n    let test = A.foo\r\n\r\nAnd observe the error when compiling:\r\n\r\n    [1 of 7] Compiling B.A\r\n    [2 of 7] Compiling B.C\r\n\r\n    File \"src/b/C.ml\", line 2, characters 11-16:\r\n    Error: Unbound module A\r\n\r\nThen build a *second* time, and it works!\r\n\r\nThen inside of `autopack/src/b/a.ml`, place the following line, and see that it compiles.\r\n\r\n    let test = C.foo\r\n\r\nThere's clearly something going on here, where two builds are required for one direction of the dependency and one build is required for the other direction. I'm guessing it's because the correct ordering isn't determined by something like `ocamldep` for the files *wihin* a pack. Is this correct?\r\n"},"comment":{"url":"https://api.github.com/repos/ocaml-obuild/obuild/issues/comments/241459427","html_url":"https://github.com/ocaml-obuild/obuild/issues/142#issuecomment-241459427","issue_url":"https://api.github.com/repos/ocaml-obuild/obuild/issues/142","id":241459427,"user":{"login":"KasperJanssens","id":5415995,"avatar_url":"https://avatars.githubusercontent.com/u/5415995?v=3","gravatar_id":"","url":"https://api.github.com/users/KasperJanssens","html_url":"https://github.com/KasperJanssens","followers_url":"https://api.github.com/users/KasperJanssens/followers","following_url":"https://api.github.com/users/KasperJanssens/following{/other_user}","gists_url":"https://api.github.com/users/KasperJanssens/gists{/gist_id}","starred_url":"https://api.github.com/users/KasperJanssens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KasperJanssens/subscriptions","organizations_url":"https://api.github.com/users/KasperJanssens/orgs","repos_url":"https://api.github.com/users/KasperJanssens/repos","events_url":"https://api.github.com/users/KasperJanssens/events{/privacy}","received_events_url":"https://api.github.com/users/KasperJanssens/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T15:55:51Z","updated_at":"2016-08-22T15:55:51Z","body":"@jeromemaloberti : Did this get fixed then eventually, because the issue is still open and I seem to run into it in the 4.03 compiler. As the issues was mentioned to be fixed about a year ago, I thought I'd ask."}}
{"actor":{"display_login":"KasperJanssens"}}