Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

Build my own Vix image

I don't understand what you are trying to say fully. Are you saying it is fine to clone 4.4 and 5.0 branches into the openvix directory? Or are you saying that the instructions have been copied to the Vix repo too?
This thread is about building OpenViX Py3 image. The instructions for that are on OpenViX enigma2 repo, not OpenATV.

Considering the amount of work that has gone into this it is pretty insulting to suggest the work is just being copied from OpenATV.
 
I've attempted a python 3 build which keeps failing with the following error:
Not sure which log I need to attach?

Code:
| make: *** [Makefile:104: node] Error 2
| WARNING: /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591:184 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| 	#1: bbfatal_log, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 184
| 	#2: die, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 159
| 	#3: oe_runmake, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 154
| 	#4: do_compile, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 149
| 	#5: main, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 188
| 
| Backtrace (metadata-relative locations):
| 	#1: bbfatal_log, /media/willo/openvix/vix-5.5/build-enviroment/openembedded-core/meta/classes/logging.bbclass, line 72
| 	#2: die, /media/willo/openvix/vix-5.5/build-enviroment/openembedded-core/meta/classes/base.bbclass, line 56
| 	#3: oe_runmake, /media/willo/openvix/vix-5.5/build-enviroment/openembedded-core/meta/classes/base.bbclass, line 65
| 	#4: do_compile, /media/willo/openvix/vix-5.5/build-enviroment/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb, line 151
ERROR: Task (/media/willo/openvix/vix-5.5/build-enviroment/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 16090 tasks of which 15600 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /media/willo/openvix/vix-5.5/build-enviroment/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
make: *** [Makefile:1055: image] Error 1
 
I've attempted a python 3 build which keeps failing with the following error:
Not sure which log I need to attach?

Code:
| make: *** [Makefile:104: node] Error 2
| WARNING: /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591:184 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| 	#1: bbfatal_log, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 184
| 	#2: die, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 159
| 	#3: oe_runmake, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 154
| 	#4: do_compile, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 149
| 	#5: main, /media/willo/openvix/vix-5.5/build-enviroment/builds/openvix/release/et8500/tmp/work/mips32el-oe-linux/nodejs/nodejs-14.17.1-r0/temp/run.do_compile.2022591, line 188
| 
| Backtrace (metadata-relative locations):
| 	#1: bbfatal_log, /media/willo/openvix/vix-5.5/build-enviroment/openembedded-core/meta/classes/logging.bbclass, line 72
| 	#2: die, /media/willo/openvix/vix-5.5/build-enviroment/openembedded-core/meta/classes/base.bbclass, line 56
| 	#3: oe_runmake, /media/willo/openvix/vix-5.5/build-enviroment/openembedded-core/meta/classes/base.bbclass, line 65
| 	#4: do_compile, /media/willo/openvix/vix-5.5/build-enviroment/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb, line 151
ERROR: Task (/media/willo/openvix/vix-5.5/build-enviroment/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 16090 tasks of which 15600 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /media/willo/openvix/vix-5.5/build-enviroment/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
make: *** [Makefile:1055: image] Error 1

Maybe not the answer you are looking for, but...

I take that stuff out of the build on my server.

Create a file called "oe-alliance-feeds.bbappend". Goes in "meta-local/recipes-local". Mine looks like this...
Code:
RDEPENDS_${PN}_remove = " \
    channelsettings-enigma2-meta \
    kodi-addons-meta \
    enigma2-plugin-extensions-kodi \
    enigma2-plugin-extensions-hbbtv-qt \
    enigma2-plugin-extensions-stalker-qt \
    enigma2-plugin-extensions-webkithbbtv \
    enigma2-plugin-extensions-hbbtv-webkit \
    enigma2-plugin-extensions-hbbtv-gb \
    enigma2-plugin-extensions-openhbbtvbrowser \
    enigma2-plugin-extensions-chromium \
    enigma2-plugin-extensions-libvupldemo \
    enigma2-plugin-extensions-stalkerclient \
    ${@bb.utils.contains("DEFAULTTUNE", "sh4", "" , "nodejs", d)} \
    "
 
Maybe not the answer you are looking for, but...

I take that stuff out of the build on my server.

Create a file called "oe-alliance-feeds.bbappend". Goes in "meta-local/recipes-local". Mine looks like this...
Code:
RDEPENDS_${PN}_remove = " \
    channelsettings-enigma2-meta \
    kodi-addons-meta \
    enigma2-plugin-extensions-kodi \
    enigma2-plugin-extensions-hbbtv-qt \
    enigma2-plugin-extensions-stalker-qt \
    enigma2-plugin-extensions-webkithbbtv \
    enigma2-plugin-extensions-hbbtv-webkit \
    enigma2-plugin-extensions-hbbtv-gb \
    enigma2-plugin-extensions-openhbbtvbrowser \
    enigma2-plugin-extensions-chromium \
    enigma2-plugin-extensions-libvupldemo \
    enigma2-plugin-extensions-stalkerclient \
    ${@bb.utils.contains("DEFAULTTUNE", "sh4", "" , "nodejs", d)} \
    "

Thank you. Trying that now :thumbsup:
 
32Gb ram. Can't see a swap partition. I just let Ubuntu do it's own thing when I installed it. Unless there's a swap file like on Windows?
You can create a swap file if you don't have a swap partition (and need swap).
 
You can create a swap file if you don't have a swap partition (and need swap).

I've just checked and there seems to have been a swap set up by the system:

Code:
willo@willo-OptiPlex-7010:~/Desktop$ free
              total        used        free      shared  buff/cache   available
Mem:       12152124     1075520     1309908      170216     9766696    10586624
Swap:       2097148           8     2097140
 
I've just checked and there seems to have been a swap set up by the system:

Code:
willo@willo-OptiPlex-7010:~/Desktop$ free
              total        used        free      shared  buff/cache   available
Mem:       12152124     1075520     1309908      170216     9766696    10586624
Swap:       2097148           8     2097140
How much RAM did you say you have? That is showing just 12 GB.

And I would set up at least 32 GB swap.

Mine looks like this:
Code:
openvix@ubuntu01:~$ free
              total        used        free      shared  buff/cache   available
Mem:        8149428      405812      168388        2504     7575228     7357200
Swap:      82731000      322752    82408248
openvix@ubuntu01:~$
openvix@ubuntu01:~$ cat /proc/meminfo
MemTotal:        8149428 kB
MemFree:          169824 kB
MemAvailable:    7359100 kB
Buffers:         5603596 kB
Cached:           764232 kB
SwapCached:         4812 kB
Active:          3276660 kB
Inactive:        3126072 kB
Active(anon):      20580 kB
Inactive(anon):    16840 kB
Active(file):    3256080 kB
Inactive(file):  3109232 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:      82731000 kB
SwapFree:       82408248 kB
Dirty:               208 kB
Writeback:             0 kB
AnonPages:         33500 kB
Mapped:            86172 kB
Shmem:              2504 kB
KReclaimable:    1207844 kB
Slab:            1441752 kB
SReclaimable:    1207844 kB
SUnreclaim:       233908 kB
KernelStack:        4704 kB
PageTables:         5372 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    86805712 kB
Committed_AS:    1058680 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       48516 kB
VmallocChunk:          0 kB
Percpu:            22656 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:     8121456 kB
DirectMap2M:      256000 kB
DirectMap1G:     2097152 kB
openvix@ubuntu01:~$
 
Sorry, it's the other box that has 32gb of ram. This one does have 12gb.
I managed a 5.5 build on it anyway.
 
I've just tried a 5.5 build and it failed on the linux-airdigital_4.10.12.bb:do_compile

I think I've attached the correct logfile, any suggestions how to fix this?
 

Attachments

I posted the problem on the OE Alliance Git and got the suggestion to use the yylloc multiple defs patch from
Code:
https://github.com/oe-alliance/oe-alliance-core/tree/5.0/meta-brands/meta-octagon/recipes-linux
I'll give that a try later
 
How much RAM did you say you have? That is showing just 12 GB.

And I would set up at least 32 GB swap.

Mine looks like this:
Code:
openvix@ubuntu01:~$ free
              total        used        free      shared  buff/cache   available
Mem:        8149428      405812      168388        2504     7575228     7357200
Swap:      82731000      322752    82408248
openvix@ubuntu01:~$
openvix@ubuntu01:~$ cat /proc/meminfo
MemTotal:        8149428 kB
MemFree:          169824 kB
MemAvailable:    7359100 kB
Buffers:         5603596 kB
Cached:           764232 kB
SwapCached:         4812 kB
Active:          3276660 kB
Inactive:        3126072 kB
Active(anon):      20580 kB
Inactive(anon):    16840 kB
Active(file):    3256080 kB
Inactive(file):  3109232 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:      82731000 kB
SwapFree:       82408248 kB
Dirty:               208 kB
Writeback:             0 kB
AnonPages:         33500 kB
Mapped:            86172 kB
Shmem:              2504 kB
KReclaimable:    1207844 kB
Slab:            1441752 kB
SReclaimable:    1207844 kB
SUnreclaim:       233908 kB
KernelStack:        4704 kB
PageTables:         5372 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    86805712 kB
Committed_AS:    1058680 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       48516 kB
VmallocChunk:          0 kB
Percpu:            22656 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:     8121456 kB
DirectMap2M:      256000 kB
DirectMap1G:     2097152 kB
openvix@ubuntu01:~$
Look at you guys showing off with your BIG ram and processors, and yet builds are still crashing running out of RAM :D

What actually are the bare MINIMUM RAM AND PC SPECS required???

Minimum PC requirements are not really that much to build 5.5 in my case.. the trade off is just build time.

My 10+ year old AthonII PC with just 7 gig ram simultanious runs both windows 10 and a VMware virtual machine building 5.5 in the background at the same time :)

The VMware virtal machine is set up with only 4 gig ram and 2 gig swap and set to use just 2 of my 4 cores. This leaves 2 core and 3 gig for win10 normal use.

99% of the 5.5 build is done with just 4 gig ram and 2 threads in two days build time in the background.
BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"

It is nodejs that is the big ram stress point in the build, this stress point requires me to build nodejs on its own once the virtual machine runs out of memory at this build stage.
It is the ld linker during nodejs build that is it problem here, the ld linker ram usage jumps up to use up to 7 gig in its own thread.

Once my build fails at nodejs, i temporary edit the site.conf and drop the threads down to a single thread and up the ram a little to 5.3 gig and 2 gig swap as this is the extreme minimum required ram for the ld linker at this point in the build.
BB_NUMBER_THREADS = "1"
PARALLEL_MAKE = "-j 1"

At this point i just build nodejs with bitbake on its own.
bitbake nodejs

Then i go back to 2 threads again in site.conf and re-run the build image command once more to finish off the build as normal.

Maybe its nearly time for a new PC?
 
I tried building a Py3 image with Huevos' oe-alliance-feeds.bbappend file:
Code:
RDEPENDS_${PN}_remove = " \
    channelsettings-enigma2-meta \
    kodi-addons-meta \
    enigma2-plugin-extensions-kodi \
    enigma2-plugin-extensions-hbbtv-qt \
    enigma2-plugin-extensions-stalker-qt \
    enigma2-plugin-extensions-webkithbbtv \
    enigma2-plugin-extensions-hbbtv-webkit \
    enigma2-plugin-extensions-hbbtv-gb \
    enigma2-plugin-extensions-openhbbtvbrowser \
    enigma2-plugin-extensions-chromium \
    enigma2-plugin-extensions-libvupldemo \
    enigma2-plugin-extensions-stalkerclient \
    ${@bb.utils.contains("DEFAULTTUNE", "sh4", "" , "nodejs", d)} \
    "
and with
Code:
BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j 4"
and it seemed okay with 8 GB RAM and no swap.

Presumably that last line in his file tells it something along the lines of not to bother with nodejs and anything that needs it?
 
Create a file called "oe-alliance-feeds.bbappend". Goes in "meta-local/recipes-local". Mine looks like this...
Code:
RDEPENDS_${PN}_remove = " \
    channelsettings-enigma2-meta \
    kodi-addons-meta \
    enigma2-plugin-extensions-kodi \
    enigma2-plugin-extensions-hbbtv-qt \
    enigma2-plugin-extensions-stalker-qt \
    enigma2-plugin-extensions-webkithbbtv \
    enigma2-plugin-extensions-hbbtv-webkit \
    enigma2-plugin-extensions-hbbtv-gb \
    enigma2-plugin-extensions-openhbbtvbrowser \
    enigma2-plugin-extensions-chromium \
    enigma2-plugin-extensions-libvupldemo \
    enigma2-plugin-extensions-stalkerclient \
    ${@bb.utils.contains("DEFAULTTUNE", "sh4", "" , "nodejs", d)} \
    "

This doesn't seem to work anymore.
I get some cryptic message about RDEPENDS_${PN}_remove containing something that's now incompatible with the current bb version or ??.
 
Correct.
Variable RDEPENDS_${PN}_remove contains an operation using the old override syntax

I cannot tell you what the new override syntax is, but maybe Huevos or someone else can.
 

OpenViX Feeds Status

Back
Top