2024-09-19 10:42 PM
Hi, I'm new to yocto project,
while building core minimal image , my Linux PC got shutdown bcoz of low battery , after restarting it , trying to use bitbake command , but it shows command not found ,
Do i Need to again build the environment by source oe-init-build-env command , or any other methods to source the build environment , and resume my building minimal image,
or creating new environment won't disturb my building the minimal image,
Thank for helping me.
2024-09-19 11:17 PM
If you open a new terminal you need to source the environment again. After that bitbake should resume without problems, if not, delete the build folder and start over.
2024-09-19 11:47 PM
Thank you , i will try that.
2024-09-21 04:55 AM
Hi, after i sourced the environment , the bitbake is resumed , but i'm getting 2 error which is telling some missing SRC_URI in openocd-stm32mp recipe , i tried to check the recipe url which is
https://github.com/openocd-org/openocd.git;protocol=https;branch=master;name=openocd currently online,.
i don't know which SRC_URI is missing ,
Error:
ERROR: openocd-stm32mp-native-0.11.0+dev.-r0 do_fetch: Missing SRC_URI checksum, please add those to the recipe:
SRC_URI[openocd.sha256sum] = "32f7e84b205b8f0717c6303af0e3438857e8b8950c1874cf9441dca4a85852a8"
ERROR: openocd-stm32mp-native-0.11.0+dev.-r0 do_fetch: Bitbake Fetcher Error: BBFetchException('There was some missing checksums in the recipe')
ERROR: Logfile of failure stored in: /home/nivi/projects/yocto/build-mp1/tmp/work/x86_64-linux/openocd-stm32mp-native/0.11.0+dev./temp/log.do_fetch.583559
ERROR: Task (virtual:native:/home/nivi/projects/yocto/meta-st-stm32mp/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb:do_fetch) failed with exit code '1'
2024-09-23 04:50 AM
Hello @Anto_Z
Since the build of the recipe might have been abruptly interrupted, you can try to clean it using:
bitbake -c cleansstate <recipe>
Then build your image again.
Best Regards,
Arnaud