Compile error

when I try to build a yocto image, it reports following error, How should I solve this problem?

ERROR: optee-uc-fde-1.0-r0 do_fetch: Fetcher failure: Unable to find revision 691cfeaa0558880b0d296even from upstream
ERROR: optee-uc-fde-1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError(‘Unable to fetch URL from an~ondrak/+git/optee-uc-fde;branch=master;protocol=https’)
ERROR: Logfile of failure stored in: /mnt/fileroot/ruixuan.li/ufs2/iot-yocto/build/tmp/work/genio_1-uc-fde/1.0-r0/temp/log.do_fetch.2729201
ERROR: Task (/mnt/fileroot/ruixuan.li/ufs2/iot-yocto/src/poky/../meta-mediatek-bsp/recipes-securityed with exit code ‘1’
ERROR: opengl-es-cts-3.2.7.0-r0 do_fetch: Fetcher failure: Unable to find revision ffccefddfd9a02ec0c0b6dd04ef5e1042279c97f in branch master even from upstream
ERROR: opengl-es-cts-3.2.7.0-r0 do_fetch: Bitbake Fetcher Error: FetchError(‘Unable to fetch URL from any source.’, ‘git://github.com/KhronosGroup/glslang.git;protocol=https;destsuffix=git/external/glslang/src;name=glslang;branch=master’)
ERROR: Logfile of failure stored in: /mnt/fileroot/ruixuan.li/ufs2/iot-yocto/build/tmp/work/armv8a-poky-linux/opengl-es-cts/3.2.7.0-r0/temp/log.do_fetch.2720524
ERROR: Task (/mnt/fileroot/ruixuan.li/ufs2/iot-yocto/src/poky/../meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.7.0.bb:do_fetch) failed with exit code ‘1’
WARNING: vulkan-cts-1.2.6.0-r0 do_fetch: Failed to fetch URL git://github.com/KhronosGroup/glslang.git;protocol=https;destsuffix=git/external/glslang/src;name=glslang;branch=master, attempting MIRRORS if available

Hi,

Before addressing your question, could you let me know which version of IoT Yocto you are currently building?

The reason I ask is that upstream repositories occasionally change their URLs or rename branches, which means older recipes may no longer accurately reflect the current state of those repositories. Therefore, it is always recommended to either:

  • Use the latest stable version of IoT Yocto (v25.1.1 at the time of writing), or
  • Switch to the latest trunk if you are interested in helping validate cutting-edge development

Let me know your current version and we can go from there!