How to fix missing "master" branch in PySIMG recipe in meta-mediatek-bsp

Hello everyone,

If you get the following build error when building IoT Yocto (v25.1-dev, v25.0 or v24.1):

fatal: repository 'https://github.com/git/dlenski/PySIMG.git/' not found
ERROR: Fetcher failure: Unable to find revision f6eae13209d44396161b5849680f247fdeb8e1f5 in branch master even from upstream

This is because the upstream open source PySIMG project removed the master branch in Nov 2025.

While MediaTek is working on the fixes, you can remedy this by simply change the branch name from master to main in the python3-pysimg recipe:

  • Edit src/meta-mediatek-bsp/recipes-devtools/python/python3-pysimg_git.bb
  • Modify SRC_URI and replace master with main

1 Like