RZ/V2M DRP-AI "Missing or unbuildable dependency chain was: ['libmetal']" while build.

Hi,

I am building DRP-AI package with all the required dependencies installed according to "Startup Guide", but when I am executing "bitbake core-image-bsp" , exits with an error

amantya@GNYBHB3:~/workspace/rzv2m_bsp/build$ bitbake core-image-bsp
Parsing recipes: 100% |####################################################################################################################################################################| Time: 0:01:20
Parsing of 2086 .bb files complete (0 cached, 2086 parsed). 5300 targets, 844 skipped, 2 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'libmetal' (but /home/amantya/workspace/rzv2m_bsp/build/../meta-renesas/recipes-common/recipes-core/images/core-image-bsp.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libmetal' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libmetal']
ERROR: Required build target 'core-image-bsp' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-bsp', 'libmetal']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Please suggest, how to fix it.

Regards,

Suresh

  • Hi Suresh,

    that's a bit strange.

    I just downloaded the latest version (v130-update1) and started bitbake on Ubuntu 20.04.

    It starts as expected.

    libmetal is given in

    meta-rz-features/recipes-openamp/recipes-openamp/libmetal/libmetal.inc

    Could you please describe your setup in more detail ?

    Kind regards,
    Stefan

  • Hi Stefen,

    Thanks for the update.

    I checked the files, it is available as can be seen in the attached image. But still throws an error, might be any path issue.

    please suggest. Thanks in advance.

  • Hi Suresh,

    if the there have been several iterations incl. modifications of the yocto recipes, it sometimes helps to simply remove the build subdirectories "tmp" and "cache".
    For your reference, please find my script attached. It's mainly based on the commands given in the release notes.

    build_RZV2M_VLP_v130-update1.bash.gz

  • Hi Suresh,

    I got same error as you mentioned.

    If you run "bitbake -s | grep libmetal" and return nothing. The situation should be same with me.

    You can modify "meta-rz-features/conf/layer.conf" and add one line in this file.

    BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
        ${LAYERDIR}/recipes-*/*/*/*.bb \
        ${LAYERDIR}/recipes-*/*.bb \
        ${LAYERDIR}/recipes-*/*.bbappend \
        ${LAYERDIR}/recipes-*/*/*.bbappend \
        ${LAYERDIR}/recipes-*/*/*/*.bbappend"

    After modification, if you implement "bitbake -s | grep libmetal" again.

    It should be able to list libmetal components.

    rz@rz:~/bsp/rzv2m_1.3_update1/build$ bitbake -s | grep 'libmetal'
    lib32-libmetal                      :main+gitAUTOINC+f961176677-r0                          
    libmetal                            :main+gitAUTOINC+f961176677-r0 

    Now you can run "bitbake core-image-bsp" successfully.