{"action":"created","issue":{"url":"https://api.github.com/repos/emqtt/emq-relx/issues/208","repository_url":"https://api.github.com/repos/emqtt/emq-relx","labels_url":"https://api.github.com/repos/emqtt/emq-relx/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/emqtt/emq-relx/issues/208/comments","events_url":"https://api.github.com/repos/emqtt/emq-relx/issues/208/events","html_url":"https://github.com/emqtt/emq-relx/issues/208","id":343588076,"node_id":"MDU6SXNzdWUzNDM1ODgwNzY=","number":208,"title":"Build failed raspbian stretch","user":{"login":"sushrut91","id":15870575,"node_id":"MDQ6VXNlcjE1ODcwNTc1","avatar_url":"https://avatars3.githubusercontent.com/u/15870575?v=4","gravatar_id":"","url":"https://api.github.com/users/sushrut91","html_url":"https://github.com/sushrut91","followers_url":"https://api.github.com/users/sushrut91/followers","following_url":"https://api.github.com/users/sushrut91/following{/other_user}","gists_url":"https://api.github.com/users/sushrut91/gists{/gist_id}","starred_url":"https://api.github.com/users/sushrut91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushrut91/subscriptions","organizations_url":"https://api.github.com/users/sushrut91/orgs","repos_url":"https://api.github.com/users/sushrut91/repos","events_url":"https://api.github.com/users/sushrut91/events{/privacy}","received_events_url":"https://api.github.com/users/sushrut91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-23T11:08:48Z","updated_at":"2018-07-24T02:23:15Z","closed_at":null,"author_association":"NONE","body":"I am getting a compilation error with the CoAP module when I try to compile the version 2.1.0 on Raspbian stretch running on Raspberry pi model B V1.2. Any help is highly appreciated. Thanks \r\n\r\n```\r\n$ sudo make\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emqttd'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/cuttlefish'\r\n./rebar get-deps\r\n==> getopt (get-deps)\r\n==> goldrush (get-deps)\r\n==> lager (get-deps)\r\n==> neotoma (get-deps)\r\n==> cuttlefish (get-deps)\r\n./rebar compile\r\n==> getopt (compile)\r\n==> goldrush (compile)\r\n==> lager (compile)\r\n==> neotoma (compile)\r\n==> cuttlefish (compile)\r\n==> getopt (escriptize)\r\n==> goldrush (escriptize)\r\n==> lager (escriptize)\r\n==> neotoma (escriptize)\r\n==> cuttlefish (escriptize)\r\n./rebar skip_deps=true escriptize\r\n==> cuttlefish (escriptize)\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/cuttlefish'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/goldrush'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/goldrush'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/gproc'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/gproc'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/lager'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/lager'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/esockd'\r\nmake[3]: Entering directory '/home/pi/emq-relx-2.1.0/deps/gen_logger'\r\nmake[3]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/gen_logger'\r\n GEN    rebar.config\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/esockd'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/ekka'\r\nmake[3]: Entering directory '/home/pi/emq-relx-2.1.0/deps/jsx'\r\nmake[3]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/jsx'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/ekka'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/mochiweb'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/mochiweb'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/pbkdf2'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/pbkdf2'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/lager_syslog'\r\nmake[3]: Entering directory '/home/pi/emq-relx-2.1.0/deps/syslog'\r\nmake -f c_src/Makefile.erlang.mk\r\nmake[4]: Entering directory '/home/pi/emq-relx-2.1.0/deps/syslog'\r\nmake[4]: Nothing to be done for 'all'.\r\nmake[4]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/syslog'\r\nmake[3]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/syslog'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/lager_syslog'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/bcrypt'\r\nmake -f c_src/Makefile.erlang.mk\r\nmake[3]: Entering directory '/home/pi/emq-relx-2.1.0/deps/bcrypt'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/bcrypt'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/bcrypt'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/clique'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/clique'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emqttd'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_modules'\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_modules'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_dashboard'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_dashboard'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_retainer'\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_retainer'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_recon'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/recon'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/recon'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_recon'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_reloader'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_reloader'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_clientid'\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_clientid'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_username'\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_username'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_ldap'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/ecpool'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/ecpool'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_ldap'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_http'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_http'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_mysql'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/mysql'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/mysql'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_mysql'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_pgsql'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/epgsql'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/epgsql'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_pgsql'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_redis'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/eredis'\r\nsed \"s/{{EXTRA_OPTS}}/ {d,namespaced_types},/\" Emakefile.src > Emakefile\r\nerl -noinput -eval 'up_to_date = make:all()' -s erlang halt\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/eredis'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_redis'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_mongo'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/mongodb'\r\nmake[3]: Entering directory '/home/pi/emq-relx-2.1.0/deps/bson'\r\nmake[3]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/bson'\r\nmake[3]: Entering directory '/home/pi/emq-relx-2.1.0/deps/poolboy'\r\nmake[3]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/poolboy'\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/mongodb'\r\n GEN    rebar.config\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_auth_mongo'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_sn'\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_sn'\r\nmake[1]: Entering directory '/home/pi/emq-relx-2.1.0/deps/emq_coap'\r\nmake[2]: Entering directory '/home/pi/emq-relx-2.1.0/deps/gen_coap'\r\n XYRL   core_link_scanner.xrl core_link_parser.yrl\r\nCompiler function leex:compile/3 failed:\r\n{undef,[{leex,compile,\r\n              [\"/home/pi/emq-relx-2.1.0/deps/gen_coap/src/core_link_scanner\",\r\n               \"/home/pi/emq-relx-2.1.0/deps/gen_coap/src/core_link_scanner\",\r\n               {options,[],\"/home/pi/emq-relx-2.1.0/deps/gen_coap/src\",\r\n                        undefined,[],1,true,999,[],[],\r\n                        \"/home/pi/emq-relx-2.1.0/deps/gen_coap\"}],\r\n              []},\r\n        {erl_compile,compile_file,4,[{file,\"erl_compile.erl\"},{line,304}]},\r\n        {erl_compile,compile3,3,[{file,\"erl_compile.erl\"},{line,285}]},\r\n        {erl_compile,'-compiler_runner/1-fun-0-',1,\r\n                     [{file,\"erl_compile.erl\"},{line,92}]}]}\r\nmake[2]: *** No rule to make target 'gen_coap.d'.  Stop.\r\nmake[2]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/gen_coap'\r\n../../erlang.mk:312: recipe for target 'deps' failed\r\nmake[1]: *** [deps] Error 2\r\nmake[1]: Leaving directory '/home/pi/emq-relx-2.1.0/deps/emq_coap'\r\nerlang.mk:310: recipe for target 'deps' failed\r\nmake: *** [deps] Error 2\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/emqtt/emq-relx/issues/comments/407259263","html_url":"https://github.com/emqtt/emq-relx/issues/208#issuecomment-407259263","issue_url":"https://api.github.com/repos/emqtt/emq-relx/issues/208","id":407259263,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzI1OTI2Mw==","user":{"login":"Gilbert-Wong","id":20479699,"node_id":"MDQ6VXNlcjIwNDc5Njk5","avatar_url":"https://avatars0.githubusercontent.com/u/20479699?v=4","gravatar_id":"","url":"https://api.github.com/users/Gilbert-Wong","html_url":"https://github.com/Gilbert-Wong","followers_url":"https://api.github.com/users/Gilbert-Wong/followers","following_url":"https://api.github.com/users/Gilbert-Wong/following{/other_user}","gists_url":"https://api.github.com/users/Gilbert-Wong/gists{/gist_id}","starred_url":"https://api.github.com/users/Gilbert-Wong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gilbert-Wong/subscriptions","organizations_url":"https://api.github.com/users/Gilbert-Wong/orgs","repos_url":"https://api.github.com/users/Gilbert-Wong/repos","events_url":"https://api.github.com/users/Gilbert-Wong/events{/privacy}","received_events_url":"https://api.github.com/users/Gilbert-Wong/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T02:23:15Z","updated_at":"2018-07-24T02:23:15Z","author_association":"NONE","body":"@sushrut91, The build failure has been fixed by merging this PR [https://github.com/emqx/emqx-coap/pull/83](https://github.com/emqx/emqx-coap/pull/83.) Now,it should be ok. Please try again."}}
{"actor":{"display_login":"Gilbert-Wong"}}