Jump to content


Photo

Build issues


  • Please log in to reply
87 replies to this topic

Re: Build issues #61 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 10 October 2024 - 18:54

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 ?

Yes so what it will be the exactly code to add .

Edited by levi45@, 10 October 2024 - 18:57.


Re: Build issues #62 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 10 October 2024 - 19:05

Something like

IMAGE_INSTALL += " wget"

?


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 #63 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 10 October 2024 - 19:22

Thank you will try and let you know the out come.



Re: Build issues #64 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 11 October 2024 - 17:30

Something like

IMAGE_INSTALL += " wget"

?

Unfortunately didn't install wget on build , my file name and direction like this  "openpli-oe-core/meta-local/openpli-enigma2-image.bbappend"

Attached Files


Edited by levi45@, 11 October 2024 - 17:33.


Re: Build issues #65 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 October 2024 - 17:43

Where you have to put it depends on what is defined in your layer.conf, in meta-local.

 

By default, it uses

BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"

which means it should be something like "openpli-oe-core/meta-local/recipes-<something>/<something>/openpli-enigma2-image.bbappend".

 

Using OE standards, I would suggest "openpli-oe-core/meta-local/recipes-openpli/images/openpli-enigma2-image.bbappend", as that is where the bb you are going to append to is, in meta-openpli.


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 #66 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 11 October 2024 - 18:39

Ok thanks, now is build with wget but then i loose image feeds. If uninstall wget then all feeds comes back .

Attached File  1.jpg   80.53KB   0 downloads



Re: Build issues #67 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 October 2024 - 18:44

I have no clue what you mean. There is no relation between adding a package to the image and feeds (which are files that are downloaded from your feed server).

 

I assume you haven't patched or otherwise changed wget, as opkg uses wget to download feed index and package files, so you can't fiddle with it.

 

What happens if you do an "opkg update" on the commandline?


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 #68 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 11 October 2024 - 18:50

I have no clue what you mean. There is no relation between adding a package to the image and feeds (which are files that are downloaded from your feed server).

 

I assume you haven't patched or otherwise changed wget, as opkg uses wget to download feed index and package files, so you can't fiddle with it.

 

What happens if you do an "opkg update" on the commandline?

So what i try to say is if i not include wget to image on build all feeds working fine . But if i build image with wget then i cant access to my feeds , only small amount feeds shows like screenshots above post. This screen shots on this post i have removed wget via telnet then all my feeds are back .
Attached File  1.jpg   70.5KB   1 downloads



Re: Build issues #69 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 October 2024 - 19:00

... as opkg uses wget to download feed index and package files, so you can't fiddle with it.

 

What happens if you do an "opkg update" on the commandline?

 

If wget doesn't work for whatever reason, opkg can't download the feed index files.


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 #70 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 11 October 2024 - 19:02

 

... as opkg uses wget to download feed index and package files, so you can't fiddle with it.

 

What happens if you do an "opkg update" on the commandline?

 

with wget installed on image then i get  

this is from my feeds

opkg_download_backend: Failed to download myfeed/Packages.gz, wget returned 8.

but no issue with openpli feeds, only my feeds not showing or giving error

 

this from openpli feeds

Downloading http://downloads.ope...ons/Packages.gz.
Updated source 'openpli-picons'.

 


Edited by levi45@, 11 October 2024 - 19:07.


Re: Build issues #71 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 11 October 2024 - 19:30

Is this normal ? Is in it just /usr/bin/wget ?

mybox:~# opkg install wget
Installing wget (1.21.1) on root
Configuring wget.
update-alternatives: Linking /usr/bin/wget to /usr/bin/wget.wget

 

mybox:~# opkg remove wget

linking /usr/bin/wget to /bin/busybox.nosuid



Re: Build issues #72 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 11 October 2024 - 19:46

Yes,

 

Normally, wget is supplied by busybox, which provides a subset of wget functionality with a small footprint. The wget package contains the full GNU wget, and when you install it, it replaces the busybox version (which is what update-alternatives does).

 

opkg_download_backend: Failed to download myfeed/Packages.gz, wget returned 8.

 

an exit status of 8 means "Server issued an error response".

 

This could be a 403 or 404 in case of server issues, but I've also seen it when you use https, and the box can't verify the certificate (old ca-certificates file, or CA not supported in ca-certificates, which can happen with lets encrypt or cheap SSL providers).

 

Also, I would expect a full URL in that error, not only "myfeed/Packages.gz". Unless you've edited the response, your feed config is wrong.


Edited by WanWizard, 11 October 2024 - 19:48.

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 #73 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 11 October 2024 - 22:06

I have only edited feed url just to protect my feed  link . I don't know why but this is wrong update-alternatives: Linking /usr/bin/wget to /usr/bin/wget.wget . When i change /usr/bin/wget.wget to /usr/bin/wget everything works perfect.



Re: Build issues #74 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 12 October 2024 - 09:48

Nothing wrong with update-alternatives. You install wget, and it replaces the internal wget when you do.

 

I told you how you what could be a potential issuie and how you could debug it, haven't seen you do that 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: Build issues #75 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 12 October 2024 - 12:12

Nothing wrong with update-alternatives. You install wget, and it replaces the internal wget when you do.

 

I told you how you what could be a potential issuie and how you could debug it, haven't seen you do that yet.

Hi thanks for your posts and advice ,  now i have find the issue . Its it was a cheap dns provider . So nothing was wrong with OpenPli image team or files. :) :) :)



Re: Build issues #76 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 12 October 2024 - 13:59

Good you've got it sorted, and thanks for the feedback.


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 #77 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 11 November 2024 - 22:13

Also seams like https://source.mynon...20190429.tar.gz   off line too.



Re: Build issues #78 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 12 November 2024 - 02:53

That is OE-A's ftp server, and they've decided to delete those files as they no longer use them. Not really interested in the impact on others...

 

I have sorted that out for our scarthgap build, I still have to do it for our develop build, but it is not going to be easy to change that for release images as in most cases, the BSP can't be updated without introducing compatibility issues.

 

You might have to change the submodule locally, see https://github.com/O...b3455ab30f3abeb for the required changes.


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 #79 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 12 November 2024 - 18:12

That is OE-A's ftp server, and they've decided to delete those files as they no longer use them. Not really interested in the impact on others...

 

I have sorted that out for our scarthgap build, I still have to do it for our develop build, but it is not going to be easy to change that for release images as in most cases, the BSP can't be updated without introducing compatibility issues.

 

You might have to change the submodule locally, see https://github.com/O...b3455ab30f3abeb for the required changes.

Thank you for the solution now i have bypass this issue  :)



Re: Build issues #80 levi45@

  • Senior Member
  • 42 posts

+3
Neutral

Posted 13 November 2024 - 17:13

@WanWizard Hi  i get error on building image for h11 log attached 

 

ERROR: openpli-enigma2-image-1.0-r0 do_image_zgemmafastboot8gb: ExecutionError('/home/mypc/openpli-oe-core/build/tmp/work/h11-oe-linux-gnueabi/openpli-enigma2-image/1.0-r0/temp/run.do_image_zgemmafastboot8gb.4009443', 1, None, None)
 

 

 

 

Attached Files

  • Attached File  log.txt   6.92KB   1 downloads



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users