Jump to content


Photo

Build issues


  • Please log in to reply
97 replies to this topic

Re: Build issues #41 levi45@

  • Senior Member
  • 45 posts

+3
Neutral

Posted 17 September 2024 - 17:06

Why is it building rpm stuff?

Not sure why building it this is the command

 

MACHINE=pulse4k make image



Re: Build issues #42 WanWizard

  • PLi® Core member
  • 70,590 posts

+1,819
Excellent

Posted 17 September 2024 - 18:04

Maybe someone else can chip in, I don't build that way, so my environment isn't comparable with yours.


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: Build issues #43 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,960 posts

+191
Excellent

Posted 18 September 2024 - 15:44

I build that way, but don't use Ubuntu, but Debian


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

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

Note: I do not provide support via PM !.


Re: Build issues #44 Tech

  • Forum Moderator
    PLi® Core member
  • 14,928 posts

+486
Excellent

Posted 18 September 2024 - 20:04

I use Ubuntu 2024LTS as the operating system, but my building environment is just like that of Wanwizard, so I can't really help you on your way.


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....

Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam

Press the Posted Image button on the buttom right of this message ;)

Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: Build issues #45 levi45@

  • Senior Member
  • 45 posts

+3
Neutral

Posted 19 September 2024 - 18:12

Could you please share your ways if you can ?

 

I use Ubuntu 2024LTS as the operating system, but my building environment is just like that of Wanwizard, so I can't really help you on your way.

 



Re: Build issues #46 Tech

  • Forum Moderator
    PLi® Core member
  • 14,928 posts

+486
Excellent

Posted 19 September 2024 - 18:48

I use the same method we use on our build servers, which I can't really share because it's of no use to you.
 
Furthermore, I have installed all the packages as listed in the wiki on my machine, otherwise I did not have to do any special things at all.
 
sudo apt install sed wget cvs subversion git-core git-lfs \
coreutils unzip texi2html texinfo docbook-utils \
gawk python3-distutils diffstat help2man make gcc build-essential g++ \
desktop-file-utils chrpath default-jre gettext zip libssl-dev

Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....

Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam

Press the Posted Image button on the buttom right of this message ;)

Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: Build issues #47 WanWizard

  • PLi® Core member
  • 70,590 posts

+1,819
Excellent

Posted 19 September 2024 - 18:52

Could you please share your ways if you can ?

 

That is very difficult, we use automated build pipelines with all sorts of custom configuration and scripting, specific to our build server system.

 

Given the fact that building on Ubuntu 2024 LTS works ( I know Tech builds both develop and scarthgap images ) and the standard make file works fine on Debian ( also develop and scarthgap ), I don't think that is how the issue can be solved.

 

The issue must be related to your local configuration, if OE suddenly starts building RPM packages, that is outside of meta-openpli, and therefore outside our influence.


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: Build issues #48 Tech

  • Forum Moderator
    PLi® Core member
  • 14,928 posts

+486
Excellent

Posted 19 September 2024 - 19:01

The fact that RPM packages are being built is indeed strange, especially because Ubuntu uses deb packages


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....

Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam

Press the Posted Image button on the buttom right of this message ;)

Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: Build issues #49 WanWizard

  • PLi® Core member
  • 70,590 posts

+1,819
Excellent

Posted 19 September 2024 - 19:19

It's not related to the host, you can configure OE to use rpm or deb instead of opkg, and perhaps there are specific packages that force that switch?


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: Build issues #50 WanWizard

  • PLi® Core member
  • 70,590 posts

+1,819
Excellent

Posted 19 September 2024 - 19:31

update-rc.d has rpm as a dependency, which needs rpm-native. Appearently even when it isn't used as package manager.

 

Do you have rpm tools installed on the host?

 

I build on Redhat, so I have everything available and am not representative.


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: Build issues #51 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 19 September 2024 - 22:37

Ubuntu 24.04 seems to have many errors for me when trying to build a PLi image. Ubuntu 24.04 is installed on a separate partition of my computer to see if it is something I want to migrate to later. Right now though, 24.04 is not a distribution I am interested in using for image building until it matures a bit.
 

Ubuntu 20.04.6 LTS  is what I currently use to build PLi and OE type images. You should not have any problems with 20.04 Ubuntu if you setup correctly to build images.

Pretty much anyone can setup a compatible Ubuntu distro and image build with it using the command: MACHINE=<your machine here>  make image or make image feed. It will take somewhere between 7000 and roughly 20,000 steps to complete the image build. 
 

Build errors are common due to the number of steps involved for a successful build.  Being able to solve the errors is the difference between someone just building an image and someone knowing how to build an image.
 

As for rpm, a search shows many things being built in scarthgap with rpm somewhere in the path. Scarthgap builds but is not usable for the Octagon SF8008. The Scarthgap SF8008 image boots, but the resolution of the menus are way off. I am certain this will be corrected at some point.



Re: Build issues #52 WanWizard

  • PLi® Core member
  • 70,590 posts

+1,819
Excellent

Posted 20 September 2024 - 13:04

Scartghgap is still a long way from ready, we're doing one box at the time.


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: Build issues #53 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 20 September 2024 - 16:39

Thanks to everyone working on Scarthgap! It will be a nice image once finished.

But for anyone trying Home builds, I would suggest trying the default branch, develop until Scarthgap matures a bit.



Re: Build issues #54 WanWizard

  • PLi® Core member
  • 70,590 posts

+1,819
Excellent

Posted 20 September 2024 - 16:42

As said, it depends on the box, I've been running Scarthgap on my Solo 4K for months now.


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: Build issues #55 Tech

  • Forum Moderator
    PLi® Core member
  • 14,928 posts

+486
Excellent

Posted 22 September 2024 - 08:48

As said, it depends on the box, I've been running Scarthgap on my Solo 4K for months now.

So I do that on my Ultimo4k and Duo4kSE


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....

Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam

Press the Posted Image button on the buttom right of this message ;)

Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: Build issues #56 Beeker

  • PLi® Contributor
  • 1,607 posts

+203
Excellent

Posted 22 September 2024 - 09:44

 

Scarthgap builds but is not usable for the Octagon SF8008. The Scarthgap SF8008 image boots, but the resolution of the menus are way off. I am certain this will be corrected at some point.

I noticed something similar with my Uclan Ustym4kpro. The OSD was magnified by 4 and I only could see the left upper corner.

That was a driver issue (a driver from the year 2022) which required an enigma2 change(?) I recall.


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


Re: Build issues #57 Beeker

  • PLi® Contributor
  • 1,607 posts

+203
Excellent

Posted 22 September 2024 - 10:12

FYI

 

 

Im getting this error now :(

 

ERROR: update-rc.d-0.8-r0 do_package: Fatal errors occurred in subprocesses:
Command '['/home/mypc/openpli-oe-core/build/tmp/work/all-oe-linux/update-rc.d/0.8-r0/recipe-sysroot-native/usr/lib/rpm/rpmdeps', '--alldeps', '--define', '__font_provides %{nil}', '/home/mypc/openpli-oe-core/build/tmp/work/all-oe-linux/update-rc.d/0.8-r0/packages-split/update-rc.d/usr/sbin/update-rc.d']' returned non-zero exit status 1.
Subprocess output:error: No file attributes configured

 

 

That problem is a tar command problem here:

https://github.com/o...ge.bbclass#L824

 

When I put the line in a try/except block

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 5e51b89184..f0ad1e836c 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -820,7 +820,10 @@ python perform_packagecopy () {
     # Start by package population by taking a copy of the installed
     # files to operate on
     # Preserve sparse files and hard links
-    cmd = 'tar -cf - -C %s -p -S . | tar -xf - -C %s' % (dest, dvar)
+    try:
+        cmd = 'tar -cf - -C %s -p -S . | tar -xf - -C %s' % (dest, dvar)
+    except:
+        pass
     subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
 
     # replace RPATHs for the nativesdk binaries, to make them relocatable

Or remove the tar extract code

iff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 5e51b89184..a92f620858 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -820,7 +820,7 @@ python perform_packagecopy () {
     # Start by package population by taking a copy of the installed
     # files to operate on
     # Preserve sparse files and hard links
-    cmd = 'tar -cf - -C %s -p -S . | tar -xf - -C %s' % (dest, dvar)
+    cmd = 'tar -cf - -C %s -p -S .' % dest
     subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
 
     # replace RPATHs for the nativesdk binaries, to make them relocatable

Then update-rc, base-files, initscript and linux-libc-headers do build.

But glibc and kernel do_package() stage are broken.

 

Tar is a hosttool, so that might explain the distro differences.

 

Kirkstone branch and up doesn't have that problem, because the code has been removed.

https://github.com/o...afa7f60ed6ad952

And the new code has no subprocess with 'tar' command.

 

And I noticed a compile error with gcc-runtime, and configure error with libxcrypt (not sure?).

 

So with Ubuntu 24.04, use Scarthgap (for now?).


Edited by Beeker, 22 September 2024 - 10:15.

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


Re: Build issues #58 rantanplan

  • PLi® Contributor
  • 1,861 posts

+87
Good

Posted 23 September 2024 - 10:01

I wouldn't recommend anyone to use the current Ubuntu (LTS) version to create images.

My recommendation regarding switching to the next higher version LTS Ubuntu would be at least a year after the release.

It cannot adhere to the timeline that Ubuntu sets for itself seriously and without errors.

Even with LTS 22.04, kernel updates from Ubuntu keep coming out which lead to system errors.
In particular, energy management and processor utilization are completely ruined.

After upgrading to a higher version, many errors are relatively easy to fix.
Based on the assumption that it is a normal PC or laptop in the home area, you will have to keep a close eye on the memory usage.
Nodejs
QT
Kodi
All things that can very quickly escalate the required RAM outside of the standard available ranges.



Re: Build issues #59 levi45@

  • Senior Member
  • 45 posts

+3
Neutral

Posted 10 October 2024 - 17:55

Hi to all thanks for all your answers. I got one more question , What is the best way to include wget to image on building with develop branch thanks.



Re: Build issues #60 WanWizard

  • PLi® Core member
  • 70,590 posts

+1,819
Excellent

Posted 10 October 2024 - 18:15

You mean so you don't have to install it afterwards?

 

Create an openpli-enigma2-image.bbappend in your meta_local, and add it to IMAGE_INSTALL ?


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.



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users