Hi,
I am trying to add layer SWUpdate into Open embedded 2.7b5 angstrom-qt5-x11-image and I got some errors while compiling the image.
If I use “master” branch of SWUpdate, then I got this error:
WARNING: /home/cominfo/oe-core/build/../layers/meta-swupdate/recipes-support/swupdate/swupdate_git.bb: Exception during build_dependencies for SRCREV
WARNING: /home/cominfo/oe-core/build/../layers/meta-swupdate/recipes-support/swupdate/swupdate_git.bb: Error during finalise of /home/cominfo/oe-core/build/../layers/meta-swupdate/recipes-support/swupdate/swupdate_git.bb
ERROR: ExpansionError during parsing /home/cominfo/oe-core/build/../layers/meta-swupdate/recipes-support/swupdate/swupdate_git.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable SRCREV, expression was ${@version_git(d)} which triggered exception TypeError: getVar() missing 1 required positional argument: 'expand'
ERROR: /home/cominfo/oe-core/build/../layers/meta-swupdate/recipes-extended/images/swupdate-image.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'ext4.gz.u-boot' - possibly invalid type name or missing support class
I read somewhere that this error is caused by incompatibility between Yocto branch and SWUpdate branch.
If I use “morty” branch of SWupdate, then I got this error:
ERROR: Multiple .bb files are due to be built which each provide u-boot-fw-utils:
/home/cominfo/oe-core/build/../layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb
/home/cominfo/oe-core/build/../layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb
A list of tasks depending on these providers is shown and may help explain where the dependency comes from.
/home/cominfo/oe-core/build/../layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb has unique dependees:
/home/cominfo/oe-core/build/../layers/meta-swupdate/recipes-support/swupdate/swupdate_2017.01.bb:do_package
/home/cominfo/oe-core/build/../layers/meta-swupdate/recipes-support/swupdate/swupdate_2017.01.bb:do_build
/home/cominfo/oe-core/build/../layers/meta-swupdate/recipes-support/swupdate/swupdate_2017.01.bb:do_configure
/home/cominfo/oe-core/build/../layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb has unique dependees:
It could be that one recipe provides something the other doesn't and should. The following provider and runtime provider differences may be helpful.
/home/cominfo/oe-core/build/../layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb has unique provides:
u-boot-toradex-fsl-fw-utils
/home/cominfo/oe-core/build/../layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb has unique rprovides:
u-boot-toradex-fsl-fw-utils-dbg
u-boot-toradex-fsl-fw-utils-locale
u-boot-toradex-fsl-fw-utils-doc
^u-boot-toradex-fsl-fw-utils-locale-.*
u-boot-toradex-fsl-fw-utils
u-boot-toradex-fsl-fw-utils-staticdev
u-boot-toradex-fsl-fw-utils-dev
/home/cominfo/oe-core/build/../layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb has unique provides:
/home/cominfo/oe-core/build/../layers/openembedded-core/meta/recipes-bsp/u-boot/u-boot-fw-utils_2016.03.bb has unique rprovides:
u-boot-fw-utils-doc
u-boot-fw-utils-dbg
u-boot-fw-utils-dev
^u-boot-fw-utils-locale-.*
u-boot-fw-utils-locale
u-boot-fw-utils-staticdev
Which branch of SWUpdate I have to use and how to fix those errors?