cancel
Showing results for 
Search instead for 
Did you mean: 

mozjs_60.9.0.bb:do_compile failed with exit code '1

tpeng.1
Associate III

Creating openstlinux-5.4-dunfell-mp1-20-06-24 distribution installation,

with bitbake st-image-weston, error rises:

(..layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb:do_compile) failed with exit code '1'

Need help

4 REPLIES 4
ArmandG
ST Employee

Hello @tpeng.1​ ,

May I ask you to make a screenshot of the error ?

Regards,

Armand

Hi ArmandG,
Thank you!
I compiled this package individually, and it works.
bitbake mozjs -c compile
Regards,
Tim Peng
YSell.1
Associate II

Have the same issue on two different machines on the last disti from 2021/11. Trying to build for QT.

Bshen.2
Associate II

Hi,​I have the same problem as you.Here is a partial log.

| make[3]: Leaving directory '/home/migu/codesource/edk2_source/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxeglfs-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/build/js/src'

| /home/migu/codesource/edk2_source/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxeglfs-stm32mp15-disco/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/migu/codesource/edk2_source/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxeglfs-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/build'

| /home/migu/codesource/edk2_source/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxeglfs-stm32mp15-disco/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/migu/codesource/edk2_source/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxeglfs-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/build'

| /home/migu/codesource/edk2_source/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxeglfs-stm32mp15-disco/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: /home/migu/codesource/edk2_source/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxeglfs-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/temp/run.do_compile.125444:1 exit 1 from 'exit 1'

ERROR: Task (/home/migu/codesource/edk2_source/openstlinux-5.10-dunfell-mp1-21-11-17/layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb:do_compile) failed with exit code '1'