Openhbbtvbrowser for Vu Duo 4K
hw9258 15 Apr 2023
Good evening.
I have tried to build an image and feed for Vu Duo 4K including openhbbtvbrowser using the instructions from rantanplan here: https://forums.openp...dpost&p=1531095
First I run a build of the image thanks to the well written instructions on the wiki: https://wiki.openpli..._for_Developers
MACHINE=vuduo4k make image
and then a build of the feed
MACHINE=vuduo4k make feed
both of which were successful.
Then openhbbtvbrowser was added to https://github.com/O...vuxxo4k.inc#L70
OPENPLI_FEATURES += "kodi openhbbtvbrowser"
The image builds but the feed build returns the following:
$ MACHINE=vuduo4k make feed Building feed for vuduo4k Loading cache: 100% |############################################| Time: 0:00:02 Loaded 5152 entries from dependency cache. Parsing recipes: 100% |##########################################| Time: 0:01:28 Parsing of 3889 .bb files complete (3575 cached, 314 parsed). 5466 targets, 1072 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'libgles' (but /openpli/oe/develop/meta-qt5/recipes-qt/qt5/qtbase_git.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'libgles' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libgles'] NOTE: Runtime target 'openhbbtvbrowser' is unbuildable, removing... Missing or unbuildable dependency chain was: ['openhbbtvbrowser', 'qtwebengine', 'qtbase', 'libgles'] ERROR: Required build target 'openpli-enigma2-feed' has no buildable providers. Missing or unbuildable dependency chain was: ['openpli-enigma2-feed', 'enigma2-plugin-extensions-openhbbtvbrowser', 'openhbbtvbrowser', 'qtwebengine', 'qtbase', 'libgles'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. Makefile:134: recipe for target 'feed' failed make: *** [feed] Error 1 $
I have tried to debug but it is above my understanding of the whole build process, maybe a change in the local Vu Duo 4K BSP is required.
Any pointers to a possible fix would be appreciated.
Edited by hw9258, 15 April 2023 - 18:27.
neo 15 Apr 2023
I don't know what you changed locally by following "instructions", but the image and feed builds fine here, including openhbbtvbrowser, without any local changes.
rantanplan 16 Apr 2023
@hw9258
Yes, of course there will be error!
That's clear.
That's why the note:
If you want to and definitely want to invest time (a lot of time), you can try it.
The error messages are known and also logical.
There is no need to mention these error messages.
This is exactly why openhbbtv is not activated.
If you want to try build fix, then the work begins now.
Fix the error messages.
I suspect it will not lead to success, but you still learn a lot.
XRayhTec 16 Apr 2023
I would expect it is in vuplus-libgles.inc or libvugles2.inc recipe.
Regards,
hw9258 22 Apr 2023
Thank you to all for your comments.
I don't know what you changed locally by following "instructions", but the image and feed builds fine here, including openhbbtvbrowser, without any local changes.
The image for Vu Duo 4K and the feed was built successfully on the first try.
Then on the file /openpli/oe/develop/meta-vuplus/conf/machine/include/vuxxo4k.inc
the line 70 from
OPENPLI_FEATURES += "kodi"
was changed to
OPENPLI_FEATURES += "kodi openhbbtvbrowser"
and the build failed with the error message in the first post.
Neo, does it build for you for Vu Duo 4K or for some other machine?
Rantanplan, I am sorry that I posted the error messages.
XRayhTec, thank you for the pointer, it is in https://github.com/O.../libvugles2.inc
but the required SRC_URI http://code.vuplus.c...81109.r1.tar.gz is not downloaded.
In https://github.com/O...ers/libgles.inc there is the reference to
PROVIDES = "virtual/libgles2 virtual/egl" RPROVIDES_${PN} = "libEGL.so libGLESv2.so libdvb_base.so libdvb_client.so libnxpl.so libv3ddriver.so"
There was hope to have an openhbbtvbrowser package built so that I can try testing it on HbbTV services and then try to help with openhbbtvbrowser and not the build process.
It seems that I will have to find time to read up on bitbake to solve the error above which seems much more difficult for now.
XRayhTec 22 Apr 2023
PROVIDES = "virtual/libgles2 virtual/egl"
RPROVIDES_${PN} = "libEGL.so libGLESv2.so libdvb_base.so libdvb_client.so libnxpl.so libv3ddriver.so"
Add " libgles" to both lines.
Regards,
hw9258 27 Apr 2023
Thank you XRayhTec, I added as you said:
PROVIDES = "virtual/libgles2 virtual/egl libgles" RPROVIDES_${PN} = "libEGL.so libGLESv2.so libdvb_base.so libdvb_client.so libnxpl.so libv3ddriver.so libgles"
but there is still an error:
| ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android && !config.darwin && !config.win32 && !config.wasm && features.egl' failed. | WARNING: exit code 3 from a shell command. | ERROR: ExecutionError('/openpli/oe/develop/build/tmp/work/vuduo4k-oe-linux-gnueabi/qtbase/5.15.7+gitAUTOINC+358aebba72-r0/temp/run.do_configure.4126', 3, None, None) ERROR: Task (/openpli/oe/develop/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_configure) failed with exit code '1'
I tried to fix it but it is beyond my current knowledge and I don't have the time to learn about bitbake etc right now.
If someone has instructions what to edit on the develop branch to compile even a buggy enigma2-plugin-extensions-openhbbtvbrowser package for Vu Duo 4K, please send them, even in pm so that I can test enigma2-plugin-extensions-openhbbtvbrowser and try to help fix current problems.
Thank you.
XRayhTec 28 Apr 2023
I tried to fix it but it is beyond my current knowledge and I don't have the time to learn about bitbake etc right now.
Better stop now.