Jump to content


Photo

kodi_18 addons-pvr


  • Please log in to reply
20 replies to this topic

#1 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 1 June 2021 - 14:35

I have tried to update kodiplatform and to get rid of our copy of p8platform but the the kodi-addons-pvr- starts to fail.

It appears these recipes (kodi and the two platforms) are the common base for most of these plugins.

 

Problem is the CMake files produced by the platforms are passed to the plugins which are then peeking in stranger's sysroot!

That's why both do have an empty rm_work() task.

I don't know in details the environment but the OE buildsystem requires to do things differently, one could think to add a shared workdir for example.

 

As for now I have redone the platform updates and I am fixing the failing recipes one-by-one with the axe.

I am really wondering if the effort is worth, I say that because for 19/Matrix most plugins in kodi-pvr github do not need p8platform/kodiplatform anymore.

 

So I should maybe forget the mess and start with the 19 release, unless unknown issues with the actual plugins arises.

 

What are the plans? For which release is kodi_19 / python3-only planned?

 

Cheers

A.A.



Re: kodi_18 addons-pvr #2 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 1 June 2021 - 15:33

Once OpenPLi 8.1 is out the door there is more room to experiment.

 

However, if you expect builds to fail, it is probably better to make a feature branch for it, so it doesn't break develop for long periods of time. We can build feature branch images for selected boxes if needed.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #3 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 1 June 2021 - 15:50

As it is now the build of these plugins fails if not from scratch, on first build, with the cruft of these platforms.

I have wiped tmpdir and the build of the plugins then failed.

 

So we don't risk anything, it is already b0rked :)

 

The new Matrix release for kodi-pvr github has promising logs: if we don't need the two platforms there are no risks of sysroot contamination.

 

Cheers

A.A.

 

 

BTW what is the use for a kodi-pvr running on a real dvb/pvr?



Re: kodi_18 addons-pvr #4 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 1 June 2021 - 16:06

As it is now the build of these plugins fails if not from scratch, on first build, with the cruft of these platforms.

I have wiped tmpdir and the build of the plugins then failed.

 

Ah, yeah, noticed that when testing the 8.1-release build.

 

BTW what is the use for a kodi-pvr running on a real dvb/pvr?

 

My guess would be "none whatsoever", but you're much more knowledgable than I am...
 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #5 Aliraza63

  • PLi® Tester
  • 250 posts

+23
Neutral

Posted 4 June 2021 - 12:49


 

 

 

BTW what is the use for a kodi-pvr running on a real dvb/pvr?

 

it was used in early stages if  the user has installed the plugin tv headend for traditional broadcast systems. according to my knowledge it was mostly used libreelec kodi versions.  


 DM-900 ,DM-520, Vu+Duo2


Re: kodi_18 addons-pvr #6 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 4 August 2021 - 13:29

A.A.

 

Does this issue ring a bell?

2021-08-04 11:31:49 ! ERRORS BITBAKE openpli-enigma2-feed for h9
2021-08-04 11:31:49 ERROR: kodi-addon-inputstream-adaptive-2.4.7+gitrAUTOINC+de8c1d6072-r0 do_prepare_recipe_sysroot: Error executing a python function in exec_python_func() autogenerated:
2021-08-04 11:31:49 ERROR: kodi-addon-inputstream-rtmp-2.0.9+gitrAUTOINC+5311e2f414-r0 do_prepare_recipe_sysroot: Error executing a python function in exec_python_func() autogenerated:
2021-08-04 11:31:49 ERROR: Logfile of failure stored in: /openpli/oe/develop/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-rtmp/2.0.9+gitrAUTOINC+5311e2f414-r0/temp/log.do_prepare_recipe_sysroot.21121
2021-08-04 11:31:49 ERROR: Logfile of failure stored in: /openpli/oe/develop/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-adaptive/2.4.7+gitrAUTOINC+de8c1d6072-r0/temp/log.do_prepare_recipe_sysroot.21119
2021-08-04 11:31:49 ERROR: Task (/openpli/oe/develop/meta-openpli/recipes-mediacenter/kodi-addons/kodi-addon-inputstream-rtmp_git.bb:do_prepare_recipe_sysroot) failed with exit code '1'
2021-08-04 11:31:49 ERROR: Task (/openpli/oe/develop/meta-openpli/recipes-mediacenter/kodi-addons/kodi-addon-inputstream-adaptive_git.bb:do_prepare_recipe_sysroot) failed with exit code '1'

It fails on

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: '/openpli/oe/develop/meta-local/classes/staging.bbclass', lineno: 556, function: extend_recipe_sysroot
     0552:                    dest = newmanifest[l]
     0553:                    if l.endswith("/"):
     0554:                        staging_copydir(l, targetdir, dest, seendirs)
     0555:                        continue
 *** 0556:                    staging_copyfile(l, targetdir, dest, postinsts, seendirs)
     0557:
     0558:    bb.note("Installed into sysroot: %s" % str(msg_adding))
     0559:    bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
     0560:
File: '/openpli/oe/develop/meta-local/classes/staging.bbclass', lineno: 153, function: staging_copyfile
     0149:        os.symlink(linkto, dest)
     0150:        #bb.warn(c)
     0151:    else:
     0152:        try:
 *** 0153:            os.link(c, dest)
     0154:        except OSError as err:
     0155:            if err.errno == errno.EXDEV:
     0156:                bb.utils.copyfile(c, dest)
     0157:            elif err.errno == errno.ENOENT:
Exception: FileExistsError: [Errno 17] File exists: '/openpli/oe/develop/build/tmp/sysroots-components/h9/zgemma-mali-3798mv200/usr/lib/libMali.so' -> '/openpli/oe/develop/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-rtmp/2.0.9+gitrAUTOINC+5311e2f414-r0/recipe-sysroot/usr/lib/libMali.so'

And they do:

[build@buildserver3] $ ls -l /openpli/oe/develop/build/tmp/sysroots-components/h9/zgemma-mali-3798mv200/usr/lib/libMali.so
-rwxr-xr-x 8 build build 1112488 Jul 30 17:14 /openpli/oe/develop/build/tmp/sysroots-components/h9/zgemma-mali-3798mv200/usr/lib/libMali.so
/ 
[build@buildserver3] $ ls -l /openpli/oe/develop/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-rtmp/2.0.9+gitrAUTOINC+5311e2f414-r0/recipe-sysroot/usr/lib/libMali.so
-rwxr-xr-x 28 build build 1212500 Aug  3 21:55 /openpli/oe/develop/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-rtmp/2.0.9+gitrAUTOINC+5311e2f414-r0/recipe-sysroot/usr/lib/libMali.so

Does Kodi gets its libMali from somewhere else, instead of from the box drivers?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #7 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 4 August 2021 - 13:30

p.s. I've got already 8 images that failed on this same error, from different brands.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #8 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 4 August 2021 - 13:39

Hmm, doesn't seem to be limited to kodi, I've got three of these too...

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: '/openpli/oe/develop/meta-local/classes/staging.bbclass', lineno: 556, function: extend_recipe_sysroot
     0552:                    dest = newmanifest[l]
     0553:                    if l.endswith("/"):
     0554:                        staging_copydir(l, targetdir, dest, seendirs)
     0555:                        continue
 *** 0556:                    staging_copyfile(l, targetdir, dest, postinsts, seendirs)
     0557:
     0558:    bb.note("Installed into sysroot: %s" % str(msg_adding))
     0559:    bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
     0560:
File: '/openpli/oe/develop/meta-local/classes/staging.bbclass', lineno: 153, function: staging_copyfile
     0149:        os.symlink(linkto, dest)
     0150:        #bb.warn(c)
     0151:    else:
     0152:        try:
 *** 0153:            os.link(c, dest)
     0154:        except OSError as err:
     0155:            if err.errno == errno.EXDEV:
     0156:                bb.utils.copyfile(c, dest)
     0157:            elif err.errno == errno.ENOENT:
Exception: FileExistsError: [Errno 17] File exists: '/openpli/oe/develop/build/tmp/sysroots-components/vusolo4k/libgles-vusolo4k/usr/include/EGL/begl_memplatform.h' -> '/openpli/oe/develop/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/cairo/1.16.0-r0/recipe-sysroot/usr/include/EGL/begl_memplatform.h'

DEBUG: Python function extend_recipe_sysroot finished

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #9 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 4 August 2021 - 13:55

No, this is new.

I have never had problems building the two inpustream plugins.

The issue is with the pvr plugins, mostly sharing the same dependencies. Only build from scratch was ok.

 

Kodi only has virtual/egl in its dependencies but all the machines supporting kodi MUST have already installed v3d/mali drivers (GLES is needed).

Then you need some patches or some extra BSP stuff temporary placed in kodi_18.inc.

 

zgemma h9 is not listed in kodi_18.inc so I don't expect kodi running flawlessly on it.

I think we should first investigate on that single BSP.



Re: kodi_18 addons-pvr #10 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 4 August 2021 - 14:34

So you now get error with every recipes having gles drivers in sysroot?

I can't imagine why, will test later.



Re: kodi_18 addons-pvr #11 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 4 August 2021 - 14:59

I don't know, I can only dive into it when the current build run is finished.

 

As to libMali, you can clearly see that the two files are of different date and size, which makes it really odd. I wonder if this means these kodi addons are MACHINE dependent, and therefore shouldn't be build for the ARCH feed?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #12 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 4 August 2021 - 15:33

Ah, this is enlightening, if two recipes both stage a file usually you'd get 

 

0558: bb.note("Installed into sysroot: %s" % str(msg_adding))
0559: bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))

 

But not if size differs afais.

 

I have not yet checked the mali BSP's but probably they provide one different blob each machine-arch or even machine.

If mixed up this could lead to your staging issues.



Re: kodi_18 addons-pvr #13 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 4 August 2021 - 15:41

Yes, that's what I thought as well.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #14 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 7 August 2021 - 16:12

Same problem with gstplayer. It builds for TUNE_ARCH, but it is dependent on libgles, which is machine specific. So gstplayer should be build per MACHINE as well I think.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #15 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 7 August 2021 - 20:26

There are more, like harfbuzz, pango, possibly cairo, and also gstreamer...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #16 rantanplan

  • PLi® Contributor
  • 1,760 posts

+81
Good

Posted 7 August 2021 - 20:33

Do I understand correctly that because of 'gles' depemds everything should be changed in the direction of 'Machine'?



Re: kodi_18 addons-pvr #17 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 7 August 2021 - 20:45

Not everything, everything that depends on libgles. This has become a problem since specific gles libraries were introduced for VU+ (instead of opengl what the others use), for Kodi.

 

But this is far from the only problem. Ideally you should be able to build box A and B (having the same TUNE ARCH), and when done, build them again and so that not a single recipe needs building again.

 

This has been annoying me for a very long time, as it means builds take much longer than needed, you get version issues, and you'll see that after you've flashed an image, there are still xxx updates (because of rebuilds of images that came later).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #18 rantanplan

  • PLi® Contributor
  • 1,760 posts

+81
Good

Posted 7 August 2021 - 20:59

The result is a significantly larger database, right?


Edited by rantanplan, 7 August 2021 - 21:03.


Re: kodi_18 addons-pvr #19 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 7 August 2021 - 21:17

Which database do you mean?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: kodi_18 addons-pvr #20 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 22 August 2021 - 13:08

Same problem with gstplayer. It builds for TUNE_ARCH, but it is dependent on libgles, which is machine specific. So gstplayer should be build per MACHINE as well I think.

 

Conceptually I think that should be the case anyway, because any receivers with the same "tune" arch can have different BSP/driver features. I think "tune" should never have been used there.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users