Skip to main content
tpeng.1
Associate III
July 31, 2020
Question

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

  • July 31, 2020
  • 3 replies
  • 1811 views

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

This topic has been closed for replies.

3 replies

ArmandG
ST Employee
August 4, 2020

Hello @tpeng.1​ ,

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

Regards,

Armand

tpeng.1
tpeng.1Author
Associate III
August 5, 2020
Hi ArmandG,
Thank you!
I compiled this package individually, and it works.
bitbake mozjs -c compile
Regards,
Tim Peng
YSell.1
Associate II
November 25, 2021

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

Bshen.2
Associate II
December 10, 2021

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'