Skip to main content
Arahm.1
Associate II
May 23, 2021
Solved

facing ERROR: icu-66.1-r0 do_compile: oe_runmake failed during Building the OpenSTLinux distribution

  • May 23, 2021
  • 6 replies
  • 4648 views

Hi,

I'm working on STM32MP157A-DK1. By following this linkhttps://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package tried building the image for STM32MP157A-DK1 but i facing the error ERROR: icu-66.1-r0 do_compile: oe_runmake failed during build. attached build log.

i tried to resolve with the command "bitbake -c cleanall icu-native" and build still it fails. if i separately build "bitbake icu-native" it build fine but if i run command bitbake st-image-weston

the error comes up.

This topic has been closed for replies.
Best answer by Jean-Marc B

Hello @Arahm.1​ 

Thank you for your reply and your detailed explanations.

You wrote your ecosystem is v2.1 but the tag openstlinux-5.10-dunfell-mp1-21-03-31 you used points to the ecosystem v3.0.

There may be mismatch between old data from a previous build based on 2.1 and this one based on v3.0?

Could you try to clean the bitbake cache and redo the build of the icu package with the following commands?

PC $> bitbake -c cleansstate icu
PC $> bitbake icu

Best regards,

--JM

6 replies

Jean-Marc B
ST Employee
May 24, 2021

Hi @Arahm.1​ 

the build log only contains the line:

make: *** No targets specified and no makefile found. Stop.

Could you provide the distribution of the host machine on which you run the bitbake command, the ecosystem you use (v2.1? v3.0?) and the list of commands you performed please?

Best regards,

--JM

Arahm.1
Arahm.1Author
Associate II
May 26, 2021

Hi @Jean-Marc B​ 

I have updated the log file in the above description. the eco system used is v2.1.

Steps:

PC $> cd <working directory path>/Distribution-Package

PC $> mkdir openstlinux-5.10-dunfell-mp1-21-03-31

PC $> cd openstlinux-5.10-dunfell-mp1-21-03-31

PC $> repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.10-dunfell-mp1-21-03-31

PC $> repo sync

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

PC $> bitbake st-image-weston

thanks

Jean-Marc B
Jean-Marc BBest answer
ST Employee
May 26, 2021

Hello @Arahm.1​ 

Thank you for your reply and your detailed explanations.

You wrote your ecosystem is v2.1 but the tag openstlinux-5.10-dunfell-mp1-21-03-31 you used points to the ecosystem v3.0.

There may be mismatch between old data from a previous build based on 2.1 and this one based on v3.0?

Could you try to clean the bitbake cache and redo the build of the icu package with the following commands?

PC $> bitbake -c cleansstate icu
PC $> bitbake icu

Best regards,

--JM

Arahm.1
Arahm.1Author
Associate II
May 26, 2021

Hey @Jean-Marc B​ 

thanks a lot the issue is resolved and build is completed. build creates the image openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-disco/tmp-glibc/deploy/images/stm32mp1-disco/flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv

but it doesn't create image for stm32mp157a-dk1. how can I create image for stm32mp157a-dk1 and how to add other debian packages as part of image?

thanks

Jean-Marc B
ST Employee
May 27, 2021

Hi @Arahm.1​ 

I am really glad you fixed the initial issue. To help community to find solutions, please click on "Select as Best" for my reply which solved your issue or answered your question.

For the next issue related to the dk1 image, I don't have the reply at first glance. Would it be possible to open a new topic so other people help you please? It would be more efficient than my poor knowledge ;)

Best regards

--JM

Arahm.1
Arahm.1Author
Associate II
May 27, 2021

sure

Thanks for your help