Skip to main content
One&Zero
Associate II
July 22, 2020
Solved

bitbake st-example-image-qt ERROR

  • July 22, 2020
  • 2 replies
  • 1479 views

Hi,I execute the following commands according to the wiki:(I am sure accept the EULA)

PC $> DISTRO=openstlinux-eglfs MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh

PC $> bitbake st-example-image-qt

The following is part of the terminal output :(bitbake st-example-image-qt)

NOTE: Executing Tasks
ERROR: tf-a-stm32mp-2.2.r1-r0 do_compile: oe_runmake failed
ERROR: tf-a-stm32mp-2.2.r1-r0 do_compile: Execution of '../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/tf-a-stm32mp/2.2.r1-r0/temp/run.do_compile.12684' failed with exit code 1:
make: Entering directory '../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work-shared/stm32mp1/tfa-source'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory '../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work-shared/stm32mp1/tfa-source'
WARNING: exit code 1 from a shell command.
 
ERROR: Logfile of failure stored in: ../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/tf-a-stm32mp/2.2.r1-r0/temp/log.do_compile.12684
Log data follows:
| DEBUG: Executing python function tfaconfig_env
| DEBUG: Python function tfaconfig_env finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 CROSS_COMPILE=arm-ostl-linux-gnueabi- DEBUG=1 LOG_LEVEL=40 PLAT=stm32mp1 ARCH=aarch32 ARM_ARCH_MAJOR=7 STM32MP_SDMMC=1 STM32MP_EMMC=1 STM32MP_SPI_NOR=1 STM32MP_RAW_NAND=1 STM32MP_SPI_NAND=1 -C ../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/tf-a-stm32mp/2.2.r1-r0/git DTB_FILE_NAME=stm32mp157a-dk1.dtb BUILD_PLAT=../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/tf-a-stm32mp/2.2.r1-r0/build/trusted AARCH32_SP=sp_min
| make: Entering directory '../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work-shared/stm32mp1/tfa-source'
| make: *** No targets specified and no makefile found. Stop.
| make: Leaving directory '../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work-shared/stm32mp1/tfa-source'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/tf-a-stm32mp/2.2.r1-r0/temp/run.do_compile.12684' failed with exit code 1:
| make: Entering directory '../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work-shared/stm32mp1/tfa-source'
| make: *** No targets specified and no makefile found. Stop.
| make: Leaving directory '../openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work-shared/stm32mp1/tfa-source'
| WARNING: exit code 1 from a shell command.
| 
ERROR: Task (../openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-st/meta-st-stm32mp/recipes-bsp/trusted-firmware-a/tf-a-stm32mp_2.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4867 tasks of which 4531 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 10 seconds
 
Summary: 1 task failed:
 ../openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-st/meta-st-stm32mp/recipes-bsp/trusted-firmware-a/tf-a-stm32mp_2.2.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

This topic has been closed for replies.
Best answer by Olivier GALLIEN

Hi @One&Zero​ 

looks similar to issue in this post :

https://community.st.com/s/question/0D53W00000DHQcwSAH/error-in-building-the-openstlinux-distribution

Fixed by doing bitbake -c cleanall tf-a-stm32mp and relaunch.

Hope it help

Olivier

2 replies

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
July 22, 2020

Hi @One&Zero​ 

looks similar to issue in this post :

https://community.st.com/s/question/0D53W00000DHQcwSAH/error-in-building-the-openstlinux-distribution

Fixed by doing bitbake -c cleanall tf-a-stm32mp and relaunch.

Hope it help

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
One&Zero
One&ZeroAuthor
Associate II
July 23, 2020

Thank you @OlivierG (ST Employee)​ it worked!