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

Looks like qemu-native also needs patching, I'm seeing this in the stb-kodi-vuultimo4k failure log

Code:
  CC      mips64el-linux-user/trace/control-target.o
  LINK    mips-linux-user/qemu-mips
  CC      ppc-linux-user/gdbstub-xml.o
  CC      mips64el-linux-user/trace/generated-helpers.o
  CC      ppc-linux-user/trace/generated-helpers.o
  LINK    mips64el-linux-user/qemu-mips64el
  CC      aarch64-linux-user/trace/generated-helpers.o
/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/vuultimo4k/tmp/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/vuultimo4k/tmp/work/x86_64-linux/qemu-native/qemu-native-4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:209: qemu-mips] Error 1
make: *** [Makefile:472: mips-linux-user/all] Error 2
  LINK    mips64-linux-user/qemu-mips64
  LINK    ppc-linux-user/qemu-ppc
/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/vuultimo4k/tmp/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/vuultimo4k/tmp/work/x86_64-linux/qemu-native/qemu-native-4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:209: qemu-ppc] Error 1
make: *** [Makefile:472: ppc-linux-user/all] Error 2

I've tried adding the same patch to qemu-native.inc but it fails
 
I've built a release build for the H7 successfully (openvix-5.4.000.release-zgemmah7_usb)

Me too.
Using build-enviroment 4.4 on Debian 10.4 in a VirtualBox VM with 4GB RAM and an 80GB virtual hard drive.

Haven't worked out what one can do about the the lack of feeds for 5.4.
But it loaded everything somehow, except for the picons.
 
Me too.
Using build-enviroment 4.4 on Debian 10.4 in a VirtualBox VM with 4GB RAM and an 80GB virtual hard drive.

Haven't worked out what one can do about the the lack of feeds for 5.4.
But it loaded everything somehow, except for the picons.

In the builds directory you can find 2 sub directories - images and ipk (the feeds). So you can change the feeds url in /meta-oe/conf/distro/openvix to point to this directory and when you build the image it will pick them up
 
Thanks again, I'm not see the filestore structure you're describing......
If you're saying that you have no conf directory under conf, that's correct. There isn't one.

But if you run strace on a build to find out where it actually looks for local.conf you will find that that is where it actually looks.
 
The config for qemu-native includes qemu.inc, so it shouldn't need separate handling.

I had a look at the syscall.c file and it had been patched, so don't know why that error keeps appearing. I've tried deleting the patch so it doesn't try to apply it again and it appears to have got passed that stage now
 
I'll try again when time/the weather permits.

Spoke too soon.......
Code:
ERROR: enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0 do_install: oe_runmake failed
ERROR: enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0 do_install: Execution of '/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/et10000/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-yahooweather/enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0/temp/run.do_install.3110726' failed with exit code 1:
Making install in po
make[1]: Entering directory '/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/et10000/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-yahooweather/enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0/git/po'
make[2]: Entering directory '/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/et10000/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-yahooweather/enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0/git/po'
make[2]: Nothing to be done for 'install-exec-am'.
xgettext -L python --add-comments="TRANSLATORS:" -d YahooWeather -s -o YahooWeather.pot ../*.py
for lang in de it tr; do \
	msgmerge --no-location -s -N -U $lang.po YahooWeather.pot; \
done
msgfmt -o de.mo de.po
msgfmt -o it.mo it.po
../xml2po.py ../ >> YahooWeather.pot
........ done.
/bin/sh: ../xml2po.py: /usr/bin/python: bad interpreter: No such file or directory
make[2]: *** [Makefile:478: YahooWeather.pot] Error 126
make[2]: *** Waiting for unfinished jobs....
........ done.
........ done.
make[2]: Leaving directory '/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/et10000/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-yahooweather/enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0/git/po'
make[1]: *** [Makefile:357: install-am] Error 2
make[1]: Leaving directory '/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/et10000/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-yahooweather/enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0/git/po'
make: *** [Makefile:388: install-recursive] Error 1
WARNING: /home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/et10000/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-yahooweather/enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0/temp/run.do_install.3110726:1 exit 1 from 'exit 1'

ERROR: Logfile of failure stored in: /home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/et10000/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-yahooweather/enigma2-plugin-extensions-yahooweather-1.2.+gitAUTOINC+f04f398ad7-r0/temp/log.do_install.3110726
 
Me too.
Using build-enviroment 4.4 on Debian 10.4 in a VirtualBox VM with 4GB RAM and an 80GB virtual hard drive.

Haven't worked out what one can do about the the lack of feeds for 5.4.
But it loaded everything somehow, except for the picons.

I noticed the 5.4 developer feeds seem to be in place already so I tried setting DISTRO_TYPE=developer but it failed saying something was missing.
Maybe it just ran out of disk space.
 
Regarding post #188, do I need to create a hard/soft link for /usr/lib/python. If so, what does it point to??

Code:
ls -ld /usr/lib/py*
drwxr-xr-x 26 root root 20480 Jul 31 17:33 /usr/lib/python2.7
drwxr-xr-x  3 root root  4096 Apr 23 08:32 /usr/lib/python3
drwxr-xr-x 30 root root 20480 Jul 31 17:12 /usr/lib/python3.8
 
Maybe that should have been bin .....

Code:
ccs@Unix:~$ ls -ld /usr/bin/pyt*
lrwxrwxrwx 1 root root       9 Mar 13 12:31 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 3694632 Apr  7 13:05 /usr/bin/python2.7
lrwxrwxrwx 1 root root       9 Jul 31 16:44 /usr/bin/python3 -> python3.8
-rwxr-xr-x 1 root root 5453504 Jul 16 15:00 /usr/bin/python3.8
lrwxrwxrwx 1 root root      33 Jul 16 15:00 /usr/bin/python3.8-config -> x86_64-linux-gnu-python3.8-config
lrwxrwxrwx 1 root root      16 Mar 13 12:20 /usr/bin/python3-config -> python3.8-config
-rwxr-xr-x 1 root root     384 Mar 28 02:39 /usr/bin/python3-futurize
-rwxr-xr-x 1 root root     388 Mar 28 02:39 /usr/bin/python3-pasteurize
ccs@Unix:~$
 
Regarding post #188, do I need to create a hard/soft link for /usr/lib/python. [/code]
As I recall, yes.
If this is Ubuntu install the python-is-python2 package.
(There is also a python-is-python3 package - they just create the symlink...).
 
Last edited:
I had a look at the syscall.c file and it had been patched, so don't know why that error keeps appearing. I've tried deleting the patch so it doesn't try to apply it again and it appears to have got passed that stage now

Success - the builds now complete, I have ZGemmaH7 and Vuultimo4k images for openvix-5.4.000.release and openvix-5.4.000.005.developer
 
I noticed the 5.4 developer feeds seem to be in place already so I tried setting DISTRO_TYPE=developer but it failed saying something was missing.
Maybe it just ran out of disk space.

I tried again with the virtual disk expanded to 100GB and it worked.
But I don't think it really needed the extra space.
Something else must have stopped it working before.
 
Not my day today, yahoo!!

Is it easy to remove this plugin completely?

(Or run interactively and answer "y" when prompted.)

Code:
xgettext -L python --add-comments="TRANSLATORS:" -d YahooWeather -s -o YahooWeather.pot ../*.py
for lang in de it tr; do \
	msgmerge --no-location -s -N -U $lang.po YahooWeather.pot; \
done
../xml2po.py ../ >> YahooWeather.pot
........ done.
........ done.
........ done.
  File "../xml2po.py", line 55
    print '#: ' + arg
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('#: ' + arg)?
make[2]: *** [Makefile:478: YahooWeather.pot] Error 1
 
https://github.com/oe-alliance/oe-alliance-core/tree/4.4/meta-oe/recipes-oe-alliance/enigma2-plugins —- remove the .bb
https://github.com/oe-alliance/oe-a...ecipes-oe-alliance/image/oe-alliance-feeds.bb - remove the dependency

You might find the build blows out because of some other dependency - just remove it.

Although this is a bit like a permanent self destruct - something is wrong with your build environment

Sorry, no idea what you're suggesting here. Are you saying I should edit the relevant source files, I've so far found it impossible to find such files in the build setup I'm running.

All I'm doing is following the basic steps highlighted in this thread, I'm getting errors which are already known about, and now a syntax error in the source of a plugin.

I haven't the slightest idea why my build environment could now be wrong.
 
Me too.
Using build-enviroment 4.4 on Debian 10.4 in a VirtualBox VM with 4GB RAM and an 80GB virtual hard drive.

Haven't worked out what one can do about the the lack of feeds for 5.4.
But it loaded everything somehow, except for the picons.
You need a webserver running on your build server.

So let's say the root folder of the webserver is /var/www ...

Create a folder for feeds... /var/www/feeds

In site.conf add the domain name of your feeds (and your enigma repo if you want). e.g...
Code:
SCONF_VERSION = "1"
BB_NUMBER_THREADS = "32"
PARALLEL_MAKE = "-j 16"
BUILD_OPTIMIZATION = "-O2 -pipe"
DL_DIR = "/home/openvix/sources"
INHERIT += "rm_work"
ENIGMA2_URI = "git://github.com/yourRepo/enigma2.git;protocol=git;branch=Dev"
DISTRO_FEED_URI = "http://your.feeds.domain/feeds/${DISTRO_NAME}/${DISTRO_TYPE}/${DISTRO_VERSION}/${MACHINE}"

Note: in the above file my sources folder is not in the build folder. So if I trash a build I retain all the sources files for other build envs.

Now build your image.

Once you image is built, symlink the webserver to the IPK folder. e.g...
Code:
mkdir -p /var/www/feeds/openvix/developer/5.4/h7
ln -s /home/openvix/5.4/builds/openvix/developer/h7/tmp/deploy/ipk/* /var/www/feeds/openvix/experimental/5.4/h7
 
Last edited:
Sorry, no idea what you're suggesting here. Are you saying I should edit the relevant source files, I've so far found it impossible to find such files in the build setup I'm running.

All I'm doing is following the basic steps highlighted in this thread, I'm getting errors which are already known about, and now a syntax error in the source of a plugin.

I haven't the slightest idea why my build environment could now be wrong.

of course edit your local files - you should have a meta-oe directory and inside that a recipes-oe-alliance directory - inside that you have the files I was highlighting
 
of course edit your local files - you should have a meta-oe directory and inside that a recipes-oe-alliance directory - inside that you have the files I was highlighting

Eventually found the .bb files but the build got worse, so starting again from scratch.

Found the files around about here....
Code:
 /home/openvixbuilder/openvix/build-enviroment/meta-oe-alliance/meta-oe/recipes-oe-alliance/enigma2-plugins

I couldn't find the .py files, any clues much appreciated.
 
Last edited:

OpenViX Feeds Status

Back
Top