cancel
Showing results for 
Search instead for 
Did you mean: 

bitbake error openstlinux-5.4-dunfell-mp1-20-06-24

Ara.1
Senior

followed steps

https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package

got following build error

| /home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/vm/JSScript.cpp: In function 'bool js::XDRScript(js::XDRState<mode>*, js::HandleScope, js::HandleScriptSource, JS::HandleFunction, JS::MutableHandleScript) [with js::XDRMode mode = js::XDR_DECODE]':

| /home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/vm/JSScript.cpp:607:26: note: parameter passing for argument of type 'JS::MutableHandleValue' {aka 'JS::MutableHandle<JS::Value>'} changed in GCC 7.1

|  607 |    if (!XDRScriptConst(xdr, &val)) return false;

|    |      ~~~~~~~~~~~~~~^~~~~~~~~~~

| make[3]: Leaving directory '/home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/build/js/src'

| /home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/config/recurse.mk:73: recipe for target 'js/src/target' failed

| make[2]: *** [js/src/target] Error 2

| make[2]: Leaving directory '/home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/build'

| /home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/config/recurse.mk:32: recipe for target 'compile' failed

| make[1]: *** [compile] Error 2

| make[1]: Leaving directory '/home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/build'

| /home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/config/rules.mk:442: recipe for target 'default' failed

| make: *** [default] Error 2

| WARNING: exit code 1 from a shell command.

ERROR: Task (/home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 5418 tasks of which 5240 didn't need to be rerun and 1 failed.

NOTE: Writing buildhistory

NOTE: Writing buildhistory took: 26 seconds

Summary: 1 task failed:

 /home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb:do_compile

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

2 REPLIES 2
ArmandG
ST Employee

Hi @Ara.1​ ,

Did you do all the prerequisites concerning the distribution package ? https://wiki.st.com/stm32mpu/wiki/PC_prerequisites (part 3.2)

Else the following user may have faced the same error as you and seem to have solved his problem, you can have a look at it https://community.st.com/s/question/0D53W00000EDNsKSAX/mozjs6090bbdocompile-failed-with-exit-code-1

Also it can be due to a lack of memory when bitbaking.

Armand

Hello Ara.1,

Have you solve problem?