PDA

View Full Version : oe-alliance error?



SatSearching
10-09-12, 17:30
I am trying to compile from the oe-alliance git but get errors.

I start off with

MACHINE=dm800se DISTRO=openpli make -f Makefile

This runs fine, but when I get to...


MACHINE=dm800se DISTRO=openpli make image

OR Trying

cd builds/openpli/dm800se ; source env.source ; bitbake openpli-image

I get the below error.




Pseudo is not present but is required, building this first before the main build
NOTE: Error expanding variable S## | ETA: 00:03:58
NOTE: Error during finalise of /home/ss/oe-alliance/meta-openpli/recipes-openpli/enigma2/enigma2.bb
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/ss/oe-alliance/bitbake/lib/bb/command.py", line 84, in runAsyncCommand
self.cooker.updateCache()
File "/home/ss/oe-alliance/bitbake/lib/bb/cooker.py", line 1202, in updateCache
if not self.parser.parse_next():
File "/home/ss/oe-alliance/bitbake/lib/bb/cooker.py", line 1663, in parse_next
logger.error('Unable to parse %s', value.recipe,
AttributeError: 'exceptions.TypeError' object has no attribute 'recipe'


Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Am I doing something wrong, or is there a bug?

Regards
SS

captain
10-09-12, 19:53
please check this

Set your shell to /bin/bash.

sudo dpkg-reconfigure dash

When asked: Install dash as /bin/sh?

select "NO"

Install the required packages.

sudo apt-get install -y autoconf automake bison bzip2 cvs diffstat flex g++ gawk gcc gettext git-core gzip help2man ncurses-bin ncurses-dev libc6-dev libtool make texinfo patch perl pkg-config subversion tar texi2html wget zlib1g-dev

Install more required packages not yet mentioned in the odin. (previous attempts failed or gave error’s on missing packages. In following order: chrpath, libxml2-utils, xsltproc, libglib2.0-dev and python-setuptools)

sudo apt-get install -y chrpath libxml2-utils xsltproc libglib2.0-dev python-setuptools zip

andyblac
10-09-12, 20:00
I am trying to compile from the oe-alliance git but get errors.

I start off with

MACHINE=dm800se DISTRO=openpli make -f Makefile

This runs fine, but when I get to...


MACHINE=dm800se DISTRO=openpli make image

OR Trying

cd builds/openpli/dm800se ; source env.source ; bitbake openpli-image

I get the below error.




Pseudo is not present but is required, building this first before the main build
NOTE: Error expanding variable S## | ETA: 00:03:58
NOTE: Error during finalise of /home/ss/oe-alliance/meta-openpli/recipes-openpli/enigma2/enigma2.bb
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/ss/oe-alliance/bitbake/lib/bb/command.py", line 84, in runAsyncCommand
self.cooker.updateCache()
File "/home/ss/oe-alliance/bitbake/lib/bb/cooker.py", line 1202, in updateCache
if not self.parser.parse_next():
File "/home/ss/oe-alliance/bitbake/lib/bb/cooker.py", line 1663, in parse_next
logger.error('Unable to parse %s', value.recipe,
AttributeError: 'exceptions.TypeError' object has no attribute 'recipe'


Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Am I doing something wrong, or is there a bug?

Regards
SS

there is no distro for openpli, they are not part of oe-alliance

and we have a gui script for building please find attached. unzip it and set privileges to 755

and run
with


./oe-alliance-build

SatSearching
10-09-12, 20:29
Ok, thanks, (to expand) basically I am trying to do summat very different, that is to build a Neutrino image for DM800se using the enclosed zip file and below instructions.




Prepare:
dpkg-reconfigure dash

# Answer with no to use bash as shell

apt-get install g++ gcc make
apt-get install cvs git subversion chrpath
apt-get install diffstat texi2html texinfo gawk
apt-get install imagemagick mjpegtools


Checkout and Image:
mkdir ~/oe-alliance
cd ~/oe-alliance
git clone git://github.com/oe-alliance/build-enviroment.git .

DISTRO=opennhd2 MACHINE=dm800se make -f Makefile
DISTRO=opennhd2 MACHINE=dm800se make -f Makefile image

Build NHD2:
cd ~/oe-alliance
unzip oe-neutrinohd2-r9.zip
tar xzvf oe-neutrinohd2.tar.gz

cd builds/opennhd2/dm800se
. ./env.source

bitbake nhd2-exp


I do get an image from it (.nfi) just that it doesn't fully boot, yweb and telnet works, but it isn't happy about the below (boot log).



CFrontend:: CFrontend(0, 0)
/dev/dvb/adapter0/frontend0: No such file or directory
CFrontend:: CFrontend(0, 1)
/dev/dvb/adapter0/frontend1: No such file or directory
CFrontend:: CFrontend(0, 2)
/dev/dvb/adapter0/frontend2: No such file or directory
CFrontend:: CFrontend(0, 3)
/dev/dvb/adapter0/frontend3: No such file or directory
CFrontend:: CFrontend(1, 0)
/dev/dvb/adapter1/frontend0: No such file or directory
CFrontend:: CFrontend(1, 1)
/dev/dvb/adapter1/frontend1: No such file or directory
CFrontend:: CFrontend(1, 2)
/dev/dvb/adapter1/frontend2: No such file or directory
CFrontend:: CFrontend(1, 3)
/dev/dvb/adapter1/frontend3: No such file or directory
found 0 frontends
zapit: loadFrontendConfig
[ConfigFile] Unable to open file /var/tuxbox/config/zapit/frontend.conf for reading.
[zapit.cpp:loadFrontendConfig:391] /var/tuxbox/config/zapit/frontend.conf not found
[video_cs.cpp]:cVideo
[video_cs.cpp]:SetVideoSystem - video_system=VIDEO_STD_PAL
[audio_cs.cpp]:cAudio
cVideo::Open /dev/dvb/adapter0/video0
cAudio::Open /dev/dvb/adapter0/audio0
dvb-ci.cpp:getInstance
dvb-ci.cpp:cDvbCi 2
failed to open /dev/dvb/adapter0/ci0 ->No such file or directoryIOCTL CA_RESET failed for slot 0
failed to open /dev/dvb/adapter0/ci1 ->No such file or directoryIOCTL CA_RESET failed for slot 1

So frontend is not happy

I appreciate that oe-alliance isn't setup for this and what I am trying to do is for a gigablue box (reported as working with nhd).

I thought that doing a base build for DM800se Enigma on oe-alliance may show the problem, but isn't as supported in the way I thought?

Anyway, running out of idea's, if you can advise I would appreciate it, I guess I am on a learning curve as I have only dabbled with E1 and neutrino SD in the past, this is all new to me.

Regards
SS

Sicilian
11-09-12, 07:53
Hope you get this going SS m8, would be great to see Neutrino running in the Gigablue :)

I'll create a dedicated dev section on the forum later today and move this thread into it.

renwich
11-09-12, 08:23
although this was originally for the gigablue, we are trying to get this working for the dm800se

SatSearching
11-09-12, 11:07
As far as I know, it is already working on the Gigablue and boots, to make for the gigablue just change as below.


DISTRO=opennhd2 MACHINE=gb800se

cd builds/opennhd2/gb800se

I have edited post #4 to read dm800se as this is what I am doing.

Anyway, can anyone suggest what needs doing to fix the dm frontend issue?

SS