Jump to content


Photo

devel: samba rebuilds


  • Please log in to reply
33 replies to this topic

#1 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 15 August 2021 - 23:01

in my little tests samba is rebuilt 3 times for each arch.

 

The do_configure diffsigs point to krb5 and e2fsprogs package

 

https://pastebin.com/YZ3nLT4e

 

 

P.S. samba from hardknott is okay with python2

 

A.A.


Edited by A.A., 15 August 2021 - 23:02.


Re: devel: samba rebuilds #2 rantanplan

  • PLi® Contributor
  • 1,857 posts

+87
Good

Posted 16 August 2021 - 01:32

libtalloc and libtdb stop configure with

Testing pyembed configuration                                                                   : Could not build a python embedded interpreter 
Testing pyembed configuration                                                                   : Could not build a python embedded interpreter 
The configuration failed

don't know

djmount seems an ld conflict

 

(hardknott)
 


Edited by rantanplan, 16 August 2021 - 01:33.


Re: devel: samba rebuilds #3 WanWizard

  • PLi® Core member
  • 70,361 posts

+1,807
Excellent

Posted 16 August 2021 - 02:29

in my little tests samba is rebuilt 3 times for each arch.

 

Never see that here.

 

In the currently running build (at 89% of all images at the moment):

/openpli/oe/develop  (develop)
[build@buildserver3] $ grep do_compile build/log/output | grep Running | grep kodi | wc -l
646

/openpli/oe/develop  (develop)
[build@buildserver3] $ grep do_compile build/log/output | grep Running | grep samba | wc -l
0

 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: devel: samba rebuilds #4 WanWizard

  • PLi® Core member
  • 70,361 posts

+1,807
Excellent

Posted 16 August 2021 - 02:31

These return for every box too:

NOTE: Running task 6075 of 6099 (/openpli/oe/develop/meta-openpli/recipes-openpli/enigma2/enigma2-plugin-systemplugins-servicemp3.bb:do_compile)
NOTE: Running task 9334 of 9364 (/openpli/oe/develop/meta-openpli/recipes-openpli/enigma2-plugins/enigma2-plugin-systemplugins-serviceapp.bb:do_compile)
NOTE: Running task 9335 of 9364 (/openpli/oe/develop/meta-openpli/recipes-openpli/enigma2-plugins/enigma2-plugin-systemplugins-autobouquetsmaker.bb:do_compile)
NOTE: Running task 9336 of 9364 (/openpli/oe/develop/meta-openpli/recipes-openpli/enigma2-plugins/enigma2-plugin-systemplugins-misplslcnscan.bb:do_compile)

all 4 have an enigma2 dependency. For servicemp3 I understand that, but for the plugins I'm not so sure it is needed (but haven't checked yet).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: devel: samba rebuilds #5 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 September 2021 - 12:32

I am back on this and I think the culprit is:

 

https://github.com/O...s_%.bbappend#L1

 

Why PACKAGE_ARCH = "${MACHINE_ARCH}" ?

This goes in krb5 then samba....so SSTATE_MANMACH changes.

 

 

I'll do some tests before sending PR.

 

A.A.


Edited by A.A., 13 September 2021 - 12:33.


Re: devel: samba rebuilds #6 WanWizard

  • PLi® Core member
  • 70,361 posts

+1,807
Excellent

Posted 13 September 2021 - 12:41

Hmm... Wonder why that was added?

 

Probably because due to the patch, which is only for the DM8000, it can't be put in the MIPSel feed?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: devel: samba rebuilds #7 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 September 2021 - 13:00

It's always bad diverging from OE.

 

In this case we have two options to keep the right arch:

 

1) apply the patch to all devices

2) remove the patch for all devices

 

If we need a custom version, well let's create a e2fsprogs-dm8000.bb and restrict it to machine arch. Put it in the BSP possibly.

 

Cheers

A.A.



Re: devel: samba rebuilds #8 WanWizard

  • PLi® Core member
  • 70,361 posts

+1,807
Excellent

Posted 13 September 2021 - 15:01

Afaik the patch is DM8000 specific, I think because of the ancient kernel version.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: devel: samba rebuilds #9 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 15 September 2021 - 11:39

I have removed the bbappend and am doing kodi rebuild for all supported machines.

samba does not rebuild anymore for the same arch.

 

Instead, I see a strange failure with libcec.

Pin it on to-do

 

Cheers

A.A.



Re: devel: samba rebuilds #10 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 30 September 2021 - 21:27

please do not forget this



Re: devel: samba rebuilds #11 WanWizard

  • PLi® Core member
  • 70,361 posts

+1,807
Excellent

Posted 30 September 2021 - 21:40

Is directed to whom?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: devel: samba rebuilds #12 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 30 September 2021 - 21:46

to you, did you decide about reverting

 

https://github.com/O...5144a9f90be3d27

 

and / or replacing with a machine-specific recipe?

 

cheers

A.A.



Re: devel: samba rebuilds #13 WanWizard

  • PLi® Core member
  • 70,361 posts

+1,807
Excellent

Posted 30 September 2021 - 21:47

I didn't do anything, my todo list stretches from here to Tokio... :(

 

If I can remember everything, which is difficult (or near to impossible) without a proper issue tracker.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: devel: samba rebuilds #14 WanWizard

  • PLi® Core member
  • 70,361 posts

+1,807
Excellent

Posted 30 September 2021 - 22:42

I've removed the patch, it seems to build fine without. We'll see if and when we get complaints from all those DM8000 users...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: devel: samba rebuilds #15 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 2 October 2021 - 07:49

I've removed the patch, it seems to build fine without. We'll see if and when we get complaints from all those DM8000 users...

As long as they don't initializing a HDD, USB stick or SD/CF card, they won't complain.

 

This patch fixing -time out- error after initializing.

 

See e.g.

https://forums.openp...0-73-gaat-goed/


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: devel: samba rebuilds #16 WanWizard

  • PLi® Core member
  • 70,361 posts

+1,807
Excellent

Posted 2 October 2021 - 15:16

If it is really needed, we'll need to find a way to apply is without it changing the TUNE_ARCH to MACHINE (which also changes dependent packages like samba).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: devel: samba rebuilds #17 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 2 October 2021 - 15:22

If needed let's create    e2fsprogs-dm8000.bb   and restrict it to machine arch / compatible machine dm8000



Re: devel: samba rebuilds #18 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 2 October 2021 - 15:53

If needed let's create    e2fsprogs-dm8000.bb   and restrict it to machine arch / compatible machine dm8000

 

Then you need a bb.utils.contain to use e2fsprogs-dm8000 as DEPEND/RDEPEND , which will make Samba machine arch and other packages which depend on e2fsprogs.

 

It's harmless to apply patch to all boxes, but you can apply it to mipsel only.

SRC_URI_mipsel_append = file:// revert-......patch"

Edited by Beeker, 2 October 2021 - 15:54.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: devel: samba rebuilds #19 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 2 October 2021 - 16:00

Nope,

I would not do that.

 

You could add it here

https://github.com/n...dreambox.inc#L9.

 

and maybe add BAD_RECOMMENDATIONS for e2fsprogs ?


Edited by A.A., 2 October 2021 - 16:03.


Re: devel: samba rebuilds #20 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 2 October 2021 - 16:03

So we need a Samba-dm8000 etc as well.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users