Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escript: exception error: undefined function rebar3:main/1 #836

Open
saswatinayak opened this issue Apr 14, 2023 · 0 comments
Open

escript: exception error: undefined function rebar3:main/1 #836

saswatinayak opened this issue Apr 14, 2023 · 0 comments

Comments

@saswatinayak
Copy link

Hello ,
I am trying to add the lorawan-server recipe in our yocto source and i am getting stuck at a certain point . can you help me out to solve the errors.


ERROR: lorawan-server-0.6.7-r0 do_compile: oe_runmake failed
ERROR: lorawan-server-0.6.7-r0 do_compile: Function failed: do_compile (log file is located at /home/saswati/rugged_board/yocto_rba5d2x/build/tmp/work/cortexa5hf-neon-poky-linux-musleabi/lorawan-server/0.6.7-r0/temp/log.do_compile.210321)
ERROR: Logfile of failure stored in: /home/saswati/rugged_board/yocto_rba5d2x/build/tmp/work/cortexa5hf-neon-poky-linux-musleabi/lorawan-server/0.6.7-r0/temp/log.do_compile.210321
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 release
|
| =ERROR REPORT==== 14-Apr-2023::08:57:30 ===
| Loading of /home/saswati/rugged_board/yocto_rba5d2x/build/tmp/work/cortexa5hf-neon-poky-linux-musleabi/lorawan-server/0.6.7-r0/git/rebar3/rebar/ebin/rebar3.beam failed: badfile
|
| =ERROR REPORT==== 14-Apr-2023::08:57:30 ===
| beam/beam_load.c(1189): Error loading module rebar3:
| mandatory chunk of type 'Atom' not found
|
|
| escript: exception error: undefined function rebar3:main/1
| in function escript:run/2 (escript.erl, line 757)
| in call from escript:start/1 (escript.erl, line 277)
| in call from init:start_it/1
| in call from init:start_em/1
| make: *** [Makefile:35: release] Error 127
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/saswati/rugged_board/yocto_rba5d2x/build/tmp/work/cortexa5hf-neon-poky-linux-musleabi/lorawan-server/0.6.7-r0/temp/log.do_compile.210321)
ERROR: Task (/home/saswati/rugged_board/yocto_rba5d2x/sources/poky/../meta-rbgateway/recipes-example/lorawan-server/lorawan-server_0.6.7.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 624 tasks of which 623 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/saswati/rugged_board/yocto_rba5d2x/sources/poky/../meta-rbgateway/recipes-example/lorawan-server/lorawan-server_0.6.7.bb:do_compile
Summary: There were 7 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


Can you help me to find the solutions.
Thanks
Saswati

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant