{"action":"created","issue":{"url":"https://api.github.com/repos/rebar/rebar3/issues/968","labels_url":"https://api.github.com/repos/rebar/rebar3/issues/968/labels{/name}","comments_url":"https://api.github.com/repos/rebar/rebar3/issues/968/comments","events_url":"https://api.github.com/repos/rebar/rebar3/issues/968/events","html_url":"https://github.com/rebar/rebar3/issues/968","id":120739395,"number":968,"title":"compile error with erl_first_files and behaviour","user":{"login":"juise","id":800741,"avatar_url":"https://avatars.githubusercontent.com/u/800741?v=3","gravatar_id":"","url":"https://api.github.com/users/juise","html_url":"https://github.com/juise","followers_url":"https://api.github.com/users/juise/followers","following_url":"https://api.github.com/users/juise/following{/other_user}","gists_url":"https://api.github.com/users/juise/gists{/gist_id}","starred_url":"https://api.github.com/users/juise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juise/subscriptions","organizations_url":"https://api.github.com/users/juise/orgs","repos_url":"https://api.github.com/users/juise/repos","events_url":"https://api.github.com/users/juise/events{/privacy}","received_events_url":"https://api.github.com/users/juise/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T10:11:34Z","updated_at":"2015-12-07T16:36:48Z","closed_at":null,"body":"Hi!\r\n\r\nI would like to use oserl in my code, with rebar I have no errors, but with rebar3 but I have the follow error:\r\n```\r\n$ ./rebar3 compile\r\n===> Verifying dependencies...\r\n===> Compiling oserl\r\n===> Compiling /Users/juise/Documents/myapp/_build/default/lib/oserl/src/gen_esme.erl failed\r\n/Users/juise/Documents/myapp/_build/default/lib/oserl/src/gen_esme.erl:31: behaviour gen_esme_session undefined\r\n```\r\n\r\nThe erl_first_files option doesn't help:\r\n```\r\n$ cat rebar.config | grep erl_first_files\r\n{erl_first_files, [\"_build/default/lib/oserl/src/gen_esme_session.erl\"]}.\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rebar/rebar3/issues/comments/162583097","html_url":"https://github.com/rebar/rebar3/issues/968#issuecomment-162583097","issue_url":"https://api.github.com/repos/rebar/rebar3/issues/968","id":162583097,"user":{"login":"juise","id":800741,"avatar_url":"https://avatars.githubusercontent.com/u/800741?v=3","gravatar_id":"","url":"https://api.github.com/users/juise","html_url":"https://github.com/juise","followers_url":"https://api.github.com/users/juise/followers","following_url":"https://api.github.com/users/juise/following{/other_user}","gists_url":"https://api.github.com/users/juise/gists{/gist_id}","starred_url":"https://api.github.com/users/juise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juise/subscriptions","organizations_url":"https://api.github.com/users/juise/orgs","repos_url":"https://api.github.com/users/juise/repos","events_url":"https://api.github.com/users/juise/events{/privacy}","received_events_url":"https://api.github.com/users/juise/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T16:36:47Z","updated_at":"2015-12-07T16:36:47Z","body":"I'm clean _build and rebar.lock and re-run ```./rebar3 compile``` compilation goes without errors. Right now unfortunately I can't reproduce error. Should I close issue?\r\n\r\n"}}