[meta-freescale] Cannot Bake gstreamer1.0-plugins-imx

Paul DeMetrotion pdemetrotion at winsystems.com
Fri Apr 1 06:31:38 PDT 2016


Trying to build gstreamer1.0-plugins-imx but get the following errors. Have not been able to resolve the issue so would appreciate some guidance. Thanks.

ERROR: Multiple .bb files are due to be built which each provide virtual/libg2d (/home/pauldemet/fsl-arm-yocto-bsp/sources/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.10.17-1.0.2.bb /home/pauldemet/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.4-hfp.bb).
This usually means one provides something the other doesn't and should.
WARNING: /home/pauldemet/fsl-arm-yocto-bsp/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-c420_3.14.28.bb.do_compile is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: The recipe gpu-viv-g2d is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/pauldemet/fsl-arm-yocto-bsp/build-c420/tmp/sysroots/imx6dlc420/pkgdata/runtime-reverse/libg2d0.8
Matched in manifest-imx6dlc420-imx-gpu-viv.packagedata
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/pauldemet/fsl-arm-yocto-bsp/build-c420/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gpu-viv-g2d/1_3.10.17-1.0.2-r0/temp/log.do_packagedata.25685
ERROR: Task 106 (/home/pauldemet/fsl-arm-yocto-bsp/sources/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.10.17-1.0.2.bb, do_packagedata) failed with exit code '1'
ERROR: The recipe gpu-viv-g2d is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/pauldemet/fsl-arm-yocto-bsp/build-c420/tmp/sysroots/imx6dlc420/sysroot-providers/virtual_libg2d
Matched in manifest-imx6dlc420-imx-gpu-viv.populate_sysroot
/home/pauldemet/fsl-arm-yocto-bsp/build-c420/tmp/sysroots/imx6dlc420/usr/lib/libg2d-viv.so
Matched in manifest-imx6dlc420-imx-gpu-viv.populate_sysroot
/home/pauldemet/fsl-arm-yocto-bsp/build-c420/tmp/sysroots/imx6dlc420/usr/lib/libg2d.so
Matched in manifest-imx6dlc420-imx-gpu-viv.populate_sysroot
/home/pauldemet/fsl-arm-yocto-bsp/build-c420/tmp/sysroots/imx6dlc420/usr/include/g2d.h
Matched in manifest-imx6dlc420-imx-gpu-viv.populate_sysroot
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/pauldemet/fsl-arm-yocto-bsp/build-c420/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gpu-viv-g2d/1_3.10.17-1.0.2-r0/temp/log.do_populate_sysroot.25684
ERROR: Task 102 (/home/pauldemet/fsl-arm-yocto-bsp/sources/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d_3.10.17-1.0.2.bb, do_populate_sysroot) failed with exit code '1'


Paul DeMetrotion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160401/e0c221d4/attachment.html>


More information about the meta-freescale mailing list