ERROR: No recipes available for:


Murali Krishna <mkn20679@...>
 

Hi Team Yocto,

Greetings of the day,

i would like to build YOCTO Image for My Target Machine i.e.,Kontron Smarc-Samx6i. The following link will provide complete information about my Target Machine.

So here I have,
--> BSP for My Target Machine
(successfully built yocto image in ubuntu14 and yocto-release is yocto-pyro).

Now I want to migrate this BSP into the Dunfell Version.
1.Created layer using bitbake
2.copied recipes from pyro layer
3. start with bitbake build Engine as bitbake-layers show-layers.(my bsp layer added)
4.But after that an error arose.
...................................................................................................................................................................................
Loading cache: 100% |#######################################################################################################################################################################| Time: 0:00:00
Loaded 3775 entries from dependency cache.
ERROR: No recipes available for:
  /home/murali/test/sources/meta-boundary/recipes-browser/chromium/chromium_%.bbappend
  /home/murali/test/sources/meta-boundary/recipes-bsp/u-boot/u-boot-fw-utils_2017.01.bbappend
  /home/murali/test/sources/meta-boundary/recipes-bsp/u-boot/u-boot-script-boundary_git.bbappend
  /home/murali/test/sources/meta-boundary/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
  /home/murali/test/sources/meta-boundary/recipes-mozilla/firefox/firefox_45.5.1esr.bbappend

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
...............................................................................................................................................................................................

.....................................................................................................................................................................................................................................................................
murali@ubuntu:~/test/track_build$ bitbake-layers show-appends
NOTE: Starting bitbake server...
Parsing recipes: 100% |#####################################################################################################################################################################| Time: 0:00:50
Parsing of 2627 .bb files complete (0 cached, 2627 parsed). 3775 targets, 285 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:
  /home/murali/test/sources/meta-boundary/recipes-browser/chromium/chromium_%.bbappend
  /home/murali/test/sources/meta-boundary/recipes-bsp/u-boot/u-boot-fw-utils_2017.01.bbappend
  /home/murali/test/sources/meta-boundary/recipes-bsp/u-boot/u-boot-script-boundary_git.bbappend
  /home/murali/test/sources/meta-boundary/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
  /home/murali/test/sources/meta-boundary/recipes-mozilla/firefox/firefox_45.5.1esr.bbappend

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Traceback (most recent call last):
  File "/home/murali/test/sources/poky/bitbake/bin/bitbake-layers", line 95, in <module>
    ret = main()
  File "/home/murali/test/sources/poky/bitbake/bin/bitbake-layers", line 85, in main
    tinfoil.parse_recipes()
  File "/home/murali/test/sources/poky/bitbake/lib/bb/tinfoil.py", line 452, in parse_recipes
    self.run_actions(config_params)
  File "/home/murali/test/sources/poky/bitbake/lib/bb/tinfoil.py", line 435, in run_actions
    raise TinfoilUIException(ret)
bb.tinfoil.TinfoilUIException: 1
......................................................................................................................................................................................................................................................................................
How to solve the above error?

Thanks and regards
Murali


Quentin Schulz
 

Hi Murali,

On 2/17/23 06:59, Murali Krishna wrote:
Time: 0:00:00Loaded 3775 entries from dependency cache.ERROR: No recipes
available for:
/home/murali/test/sources/meta-boundary/recipes-browser/chromium/chromium_%.bbappend
/home/murali/test/sources/meta-boundary/recipes-bsp/u-boot/u-boot-fw-utils_2017.01.bbappend
/home/murali/test/sources/meta-boundary/recipes-bsp/u-boot/u-boot-script-boundary_git.bbappend
/home/murali/test/sources/meta-boundary/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
/home/murali/test/sources/meta-boundary/recipes-mozilla/firefox/firefox_45.5.1esr.bbappendSummary:
bbappends are appending content to already existing recipes. There are two possible issues, for chromium_%.bbappend, no chromium recipe is found in the included layers, make sure the layer with chromium recipe is added with bitbake-layers add-layer.

For bbappends for version specific recipes, e.g. u-boot-fw-utils_2017.01.bbappend either u-boot-fw-utils recipe does not exist anymore, the layer containing it is not included in your build or the recipe does exist and the layer is included but the recipe is of a different version (e.g. 2019.07 or something like that).

I know u-boot-fw-utils has been renamed to libubootenv in some versions (don't remember if it was already the case in dunfell though).

But it is likely just a mismatch of the recipe version upon which the bbappend would be applied.

The fix is to find the new name of the recipe, update the bbappend to apply to the correct recipe version by changing its filename and/or add the necessary layers.

Cheers,
Quentin