el bandido
Forum Supporter

- Joined
- Dec 22, 2013
- Messages
- 248
- Reaction score
- 60
- Points
- 28
There seems to be some confusion as to what has happened and if an error worth fixing even exists. So let's go through it one step at a time.
The OpenVix turquoise skin exists in the OpenVix build here:
github.com
The Files/directories were installed but not shipped in any package error is set when this skin package is built. What the error means is basically what it says, files or directories that are supposed to be in this package are missing from this skin packages. Find the plugin in your built feeds, unpack it and note there are not any files in: /usr/lib/enigma2/python/Components/
So where is the problem? See line number 18 in the bitbake file:
FILES:${PN} += " ${datadir}/enigma2 ${libdir}/enigma2/python/Components/Converter/BTVInfo.pyo ${libdir}/enigma2/python/Components/Converter/BTVDevicesInfo.pyo ${libdir}/enigma2/python/Components/Converter/BTVCpuUsage.pyo ${libdir}/enigma2/python/Components/Converter/BTVRunning14Events.pyo ${libdir}/enigma2/python/Components/Renderer/DRRunningText.pyo ${libdir}/enigma2/python/Components/Renderer/poster.pyo"
But wait....We are building .pyc files and not .pyo files...So let's make a couple of edits and fix it.
The reason the error is not seen is the package has already been built wrong and stored. Clean the package and rebuild to se it. How this is done may vary. Here are my steps:
Go to the build directory: /OE-5.6/build-enviroment/builds/openvix/release/osmini4k ( ....Note there is an env.source file.) Open a terminal in this directory and enter the following commands:
source env.source
export MACHINE=osmini4k (The correct machine for this directory)
#Remove the package
bitbake enigma2-plugin-skins-vix-turquoise-hd -c cleansstate
#Rebuild the package
bitbake enigma2-plugin-skins-vix-turquoise-hd
Next install or edit the enigma2-plugin-skins-vix-turquoise-hd.bb file to fix it. Clean-remove the package again, then rebuild the packages and check it. You will then see the error disappear and the files are placed in the plugin where they belong.
Some errors in image building can be ignored while others may need attention. The task-hash error mentioned earlier in this thread is sort of self-healing as the build sees a problem, flags it, then corrects it. The Files/directories were installed but not shipped in any package error is usually worth looking at because it points to something not being built correctly.
Another error I saw in this build is with dvdauthor and it will stop the build. Same thing exist: If you already have dvdauthor built and stored then you will not see the dvdauthor error. But it is there - or was for me, and it will stop the build if it is not fixed. We will see....
The OpenVix turquoise skin exists in the OpenVix build here:
oe-alliance-core/meta-oe/recipes-distros/openvix/skins/enigma2-plugin-skins-vix-turquoise-hd.bb at 5.6 · oe-alliance/oe-alliance-core
The openembedded alliance core. Contribute to oe-alliance/oe-alliance-core development by creating an account on GitHub.
The Files/directories were installed but not shipped in any package error is set when this skin package is built. What the error means is basically what it says, files or directories that are supposed to be in this package are missing from this skin packages. Find the plugin in your built feeds, unpack it and note there are not any files in: /usr/lib/enigma2/python/Components/
So where is the problem? See line number 18 in the bitbake file:
FILES:${PN} += " ${datadir}/enigma2 ${libdir}/enigma2/python/Components/Converter/BTVInfo.pyo ${libdir}/enigma2/python/Components/Converter/BTVDevicesInfo.pyo ${libdir}/enigma2/python/Components/Converter/BTVCpuUsage.pyo ${libdir}/enigma2/python/Components/Converter/BTVRunning14Events.pyo ${libdir}/enigma2/python/Components/Renderer/DRRunningText.pyo ${libdir}/enigma2/python/Components/Renderer/poster.pyo"
But wait....We are building .pyc files and not .pyo files...So let's make a couple of edits and fix it.
Diff:
SRC_URI = "git://github.com/norhap/Turquoise-HD.git;protocol=https;branch=master"
-FILES:${PN} += " ${datadir}/enigma2 ${libdir}/enigma2/python/Components/Converter/BTVInfo.pyo ${libdir}/enigma2/python/Components/Converter/BTVDevicesInfo.pyo ${libdir}/enigma2/python/Components/Converter/BTVCpuUsage.pyo ${libdir}/enigma2/python/Components/Converter/BTVRunning14Events.pyo ${libdir}/enigma2/python/Components/Renderer/DRRunningText.pyo ${libdir}/enigma2/python/Components/Renderer/poster.pyo"
+FILES:${PN} += "${datadir}/enigma2 ${libdir}/enigma2/python/Components"
EXTRA_OECONF = "\
BUILD_SYS=${BUILD_SYS} \
@@ -25,7 +25,6 @@
"
do_install() {
- find ${S}/usr/lib/enigma2/python/Components/ -name "*.py" -exec rm -rf {} \;
install -d ${D}/usr/share
cp -r --preserve=mode,links ${S}/usr/share/* ${D}/usr/share/
chmod -R a+rX ${D}/usr/share/enigma2/
The reason the error is not seen is the package has already been built wrong and stored. Clean the package and rebuild to se it. How this is done may vary. Here are my steps:
Go to the build directory: /OE-5.6/build-enviroment/builds/openvix/release/osmini4k ( ....Note there is an env.source file.) Open a terminal in this directory and enter the following commands:
source env.source
export MACHINE=osmini4k (The correct machine for this directory)
#Remove the package
bitbake enigma2-plugin-skins-vix-turquoise-hd -c cleansstate
#Rebuild the package
bitbake enigma2-plugin-skins-vix-turquoise-hd
Next install or edit the enigma2-plugin-skins-vix-turquoise-hd.bb file to fix it. Clean-remove the package again, then rebuild the packages and check it. You will then see the error disappear and the files are placed in the plugin where they belong.
Some errors in image building can be ignored while others may need attention. The task-hash error mentioned earlier in this thread is sort of self-healing as the build sees a problem, flags it, then corrects it. The Files/directories were installed but not shipped in any package error is usually worth looking at because it points to something not being built correctly.
Another error I saw in this build is with dvdauthor and it will stop the build. Same thing exist: If you already have dvdauthor built and stored then you will not see the dvdauthor error. But it is there - or was for me, and it will stop the build if it is not fixed. We will see....


