Home build; problems with xmltvimport
doglover 14 Aug 2017
I am trying t0 homebuild the plug-in xmltvimport for enigma2 from the development sources.
The following error appears:
willy@willy-AMILO-Si-2636:~$ cd openpli40 willy@willy-AMILO-Si-2636:~/openpli40$ cd openpli-oe-corewilly@willy-AMILO-Si-2636:~/openpli40/openpli-oe-core$ cd buildwilly@willy-AMILO-Si-2636:~/openpli40/openpli-oe-core/build$ source env.sourcewilly@willy-AMILO-Si-2636:~/openpli40/openpli-oe-core/build$ MACHINE=et6x00 bitbake enigma2-plugin-extensions-xmltvimport NOTE: /home/willy/openpli40/openpli-oe-core/openembedded-core/meta/recipes-core/glibc/glibc_2.24.bb: glibc doesn't build cleanly with -Os, adding -Wno-error to SELECTED_OPTIMIZATION NOTE: /home/willy/openpli40/openpli-oe-core/openembedded-core/meta/recipes-core/glibc/glibc_2.24.bb: nativesdk-glibc doesn't build cleanly with -Os, adding -Wno-error to SELECTED_OPTIMIZATION NOTE: /home/willy/openpli40/openpli-oe-core/openembedded-core/meta/recipes-core/glibc/glibc-initial_2.24.bb: glibc-initial doesn't build cleanly with -Os, adding -Wno-error to SELECTED_OPTIMIZATION NOTE: /home/willy/openpli40/openpli-oe-core/openembedded-core/meta/recipes-core/glibc/glibc-initial_2.24.bb: nativesdk-glibc-initial doesn't build cleanly with -Os, adding -Wno-error to SELECTED_OPTIMIZATION Parsing recipes: 100% |##########################################| Time: 0:03:28 Parsing of 2509 .bb files complete (0 cached, 2509 parsed). 3220 targets, 498 skipped, 0 masked, 0 errors. NOTE: There are 3 recipes to be removed from sysroot mips32el, removing... NOTE: There are 3 recipes to be removed from sysroot et6x00, removing... NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.32.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "mipsel-oe-linux" MACHINE = "et6x00" DISTRO = "openpli" DISTRO_VERSION = "homebuild" TUNE_FEATURES = "o32 fpu-hard mips32" TARGET_FPU = "" meta-oe meta-filesystems meta-multimedia meta-networking meta-python = "HEAD:1efa5d623bc64659b57389e50be2568b1355d5f7" meta = "HEAD:eb2fc2cd9081a4533ed30fe81c9f491b06cc5ae1" meta-openpli meta-dream = "develop:88aa96cfacb17dc36d777386f78e8b93279822eb" meta-vuplus = "HEAD:ba0c73f4ea3433b9bca6946c09cdde3c593dac07" meta-xsarius.pli5 = "HEAD:260ad02ae4cf867a6bf374a6ab5c5da039a818ad" meta-xp = "HEAD:dc30375655b0f1bcf68bb7c7d4a4b0e75563c06f" meta-xtrend = "HEAD:1502e5d07a3e61001a89bbceeecd3e4a44d2bed8" meta-formuler = "HEAD:8a604a73fbae8ca21d77b2a9a7e91b08e5893b30" meta-gfutures = "HEAD:d9a4126c0663868587450647037341e39374d1de" meta-xpeedc = "HEAD:6474b33f24809f62825d6701639d1025e36f8f3a" meta-wetek = "HEAD:49f4e1e6fa429d4e4be11287c8740f54334a0e96" meta-zgemma = "HEAD:c60c12345c099546b3eab2ac464edee4cc5c6e5e" meta-edision = "HEAD:5bdc71eac49aa7c683f3b078d3c8ad4c7df57a85" meta-miraclebox = "HEAD:d44871d4d1f357d5b38488ed505b48fa8c8feff3" meta-spycat = "HEAD:71a20e123f68b80045ea3f3aa6d7db4945b25f47" meta-gi = "HEAD:c3aa7e9de3a6b4390036d6c5e3d09bccb150f17e" meta-sab = "HEAD:92262feb14e4005c8096150daac7313e9cb3d85a" meta-local = "develop:88aa96cfacb17dc36d777386f78e8b93279822eb" meta-qt5 = "HEAD:8ba28144d5571504112fd4f32c7bfcbac531e2cb" Initialising tasks: 100% |#######################################| Time: 0:00:02 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: enigma2-plugin-extensions-xmltvimport-1.0+gitAUTOINC+91b354a9b7-r0 do_populate_sysroot: The recipe enigma2-plugin-extensions-xmltvimport is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/epgdat_importer.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/plugin.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/epgdat.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/epgdat_importer.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/OfflineImport.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/filtersServices.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/filtersServices.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/plugin.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/plugin.png Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/boot.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/__init__.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/log.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/dreamcrc.so Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/gen_xmltv.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/xmltvconverter.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/OfflineImport.pyo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/xmltvconverter.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/gen_xmltv.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/epgdat.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/log.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/boot.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/__init__.py Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/fr/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/de/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/ru/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/en_GB/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/el/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/pl/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/et/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/cs/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/it/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/fi/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.populate_sysroot' /home/willy/openpli40/openpli-oe-core/build/tmp/sysroots/et6x00/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/locale/nl/LC_MESSAGES/EPGImport.mo Matched in b'manifest-et6x00-enigma2-plugin-extensions-epgimport.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: enigma2-plugin-extensions-xmltvimport-1.0+gitAUTOINC+91b354a9b7-r0 do_populate_sysroot: 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: enigma2-plugin-extensions-xmltvimport-1.0+gitAUTOINC+91b354a9b7-r0 do_populate_sysroot: Function failed: sstate_task_postfunc ERROR: Logfile of failure stored in: /home/willy/openpli40/openpli-oe-core/build/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-xmltvimport/1.0+gitAUTOINC+91b354a9b7-r0/temp/log.do_populate_sysroot.4066 ERROR: Task (/home/willy/openpli40/openpli-oe-core/meta-openpli/recipes-openpli/enigma2-plugins/enigma2-plugin-extensions-xmltvimport.bb:do_populate_sysroot) failed with exit code '1' NOTE: Tasks Summary: Attempted 825 tasks of which 815 didn't need to be rerun and 1 failed. NOTE: Writing buildhistorySummary: 1 task failed: /home/willy/openpli40/openpli-oe-core/meta-openpli/recipes-openpli/enigma2-plugins/enigma2-plugin-extensions-xmltvimport.bb:do_populate_sysroot Summary: There were 3 ERROR messages shown, returning a non-zero exit code. willy@willy-AMILO-Si-2636:~/openpli40/openpli-oe-core/build$
Previous versions such build normally.
This message is a bit too complicated for my minimalistic knowledge of the building process.
Can somebody help?
Willy
WanWizard 14 Aug 2017
MACHINE=et6x00 bitbake -c cleanall enigma2-plugin-extensions-xmltvimport
might fix it.
MiLo 14 Aug 2017
Apparently you've had a plugin called "epgimport" (not xmltvimport) that distributed the same files. The "what now" tip is in the message:
If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine).
Basically, an "rm -rf tmp" in your build dir and then starting a new build will fix things. The new build should only take a few minutes, as it can restore everything from cache.
doglover 15 Aug 2017
OK. That worked.
And indeed I tried to build the epgimport from the OE-Alliance, to test out some things.
Did not know this caused problems.
Learned something.
Willy
Abu Baniaz 15 Aug 2017
Erik Slagter 20 Aug 2017
Also please note the rest of the error message. There is a possibility that you can manage to fix the problem without clearing out tmp, but if you don't really know what you're doing, it may and will get back to you.