Building 7025 Image

despdan

Inactive User
Joined
Nov 19, 2007
Messages
529
Reaction score
19
Location
Ireland
Hi All
trying to make my own image for 7025
Can anyone point me in the right direction?:comp1:

after i
make -f Makefile-opendreambox image
contents of Makefile-opendreambox
# user config
MACHINE=dm7025
DISTRO=opendreambox-1.4

# defaults, which should fit.
DISABLE_UPDATE=0
OE_MTN_SERVER=monotone.openembedded.org
SVN_BITBAKE_PARENT="svn://svn.berlios.de/bitbake/"
SVN=svn
BB_VERSION=1.4.2

MTN=/usr/bin/mtn
OE_BRANCH=org.openembedded.dreambox

USE_MTN=1

RSYNC_HOME=rsync://dreamboxupdate.com/openembedded

PWD:=$(shell pwd)

all: initialize
@echo
@echo "Openembedded for the Dreambox environment has been initialized"
@echo "properly. Now you can either:"
@echo
@echo " - make the 'image'-target to build an image, or"
@echo " - go into build/, source env.source and start on your own!"
@echo

initialize: cache sources build build/conf openembedded build/conf/local.conf build/env.source bb

cache sources build/conf build:
mkdir -p $@

bb:
${SVN} checkout ${SVN_BITBAKE_PARENT}/tags/bitbake-${BB_VERSION} bb

ifeq ($(METHOD),rsync)
openembedded openembedded-update:
rsync -avz rsync://dreamboxupdate.com/openembedded/${OE_BRANCH}/ openembedded
else
openembedded openembedded-update: oe.mtn
[ ! -e openembedded ] && ${MTN} checkout --db=oe.mtn --branch=${OE_BRANCH} openembedded || echo "Already checked out, ok."
cd openembedded; ${MTN} --db=../oe.mtn update
endif

build/conf/local.conf:
echo 'DL_DIR = "${PWD}/sources"' > build/conf/local.conf
echo 'OE_BASE = "${PWD}"' >> build/conf/local.conf
echo 'BBFILES = "$${OE_BASE}/openembedded/packages/*/*.bb"' >> build/conf/local.conf
echo 'BBMASK = "(nslu.*|.*-sdk.*)"' >> build/conf/local.conf
echo 'PREFERRED_PROVIDERS += " virtual/$${TARGET_PREFIX}gcc-initial:gcc-cross-initial"' >> build/conf/local.conf
echo 'PREFERRED_PROVIDERS += " virtual/$${TARGET_PREFIX}gcc:gcc-cross"' >> build/conf/local.conf
echo 'PREFERRED_PROVIDERS += " virtual/$${TARGET_PREFIX}g++:gcc-cross"' >> build/conf/local.conf
echo 'MACHINE = "${MACHINE}"' >> build/conf/local.conf
echo 'TARGET_OS = "linux"' >> build/conf/local.conf
echo 'DISTRO = "${DISTRO}"' >> build/conf/local.conf
echo 'CACHE = "${PWD}/cache/oe-cache.$${USER}"' >> build/conf/local.conf
echo 'CVS_TARBALL_STASH = "http://www.treke.net/oe/source/"' >> build/conf/local.conf
echo 'SOURCEFORGE_MIRROR = "http://puzzle.dl.sourceforge.net/sourceforge"' >> build/conf/local.conf

@echo "WARNING: in case you have a 64bit system with 32bit userspace, you"
@echo "probably need to specify your BUILD_ARCH in conf/local.conf, for"
@echo "example BUILD_ARCH = \"i686\"! Otherwise the build will fail!"

build/env.source:
echo 'OE_BASE=${PWD}' > build/env.source
echo 'export BBPATH="$${OE_BASE}/openembedded/:$${OE_BASE}/bb/:$${OE_BASE}/build/"' >> build/env.source
echo 'PATH=$${PATH}:$${OE_BASE}/bb/bin:$${OE_BASE}/build/tmp/cross/bin' >> build/env.source
echo 'export PATH' >> build/env.source
echo 'export LD_LIBRARY_PATH=' >> build/env.source
echo 'export LANG=C' >> build/env.source
cat build/env.source

image: initialize openembedded-update
cd build; . ./env.source; bitbake dreambox-image

mtn-version:
@${MTN} --version > /dev/null || { echo "Did not find a usable mtn (monotone 0.26+) binary"; exit 1; }

oe.mtn: mtn-version
@[ ! -e oe.mtn ] && rsync -avz ${RSYNC_HOME}/oe.mtn . || echo "Initial database already existing, ok."
ifeq (${DISABLE_UPDATE},0)
@echo "Trying to pull the newest revision of the meta database. you can"
@echo "disable this by setting DISABLE_UPDATE=1 in the Makefile-opendreambox"
${MTN} pull --db=oe.mtn ${OE_MTN_SERVER} ${OE_BRANCH}
endif

update-self:
@echo "Trying to update this makefile. A backup called Makefile-opendreambox-old will be created."
cp Makefile-opendreambox Makefile-opendreambox-old
wget "http://schwerkraft.elitedvb.net/plugins/scmcvs/cvsweb.php/~checkout~/Makefile-opendreambox?content-type=text%2Fplain;cvsroot=opendreambox" -O Makefile-opendreambox
every thing goes well untill

tony@tony-laptop:~$ cd Desktop
tony@tony-laptop:~/Desktop$ cd projects
tony@tony-laptop:~/Desktop/projects$ cd 7025
tony@tony-laptop:~/Desktop/projects/7025$ make -f Makefile-opendreambox image
Initial database already existing, ok.
Trying to pull the newest revision of the meta database. you can
disable this by setting DISABLE_UPDATE=1 in the Makefile-opendreambox
/usr/bin/mtn pull --db=oe.mtn monotone.openembedded.org org.openembedded.dreambox
mtn: doing anonymous pull; use -kKEYNAME if you need authentication
mtn: connecting to monotone.openembedded.org
mtn: finding items to synchronize:
mtn: certificates | keys | revisions
mtn: 27,507 | 35 | 9,075
mtn: bytes in | bytes out | certs in | revs in
mtn: 1.2 k | 1.4 k | 0/0 | 0/0
mtn: successful exchange with monotone.openembedded.org
[ ! -e openembedded ] && /usr/bin/mtn checkout --db=oe.mtn --branch=org.openembedded.dreambox openembedded || echo "Already checked out, ok."
Already checked out, ok.
cd openembedded; /usr/bin/mtn --db=../oe.mtn update
mtn: misuse: workspace required but not found
make: *** [openembedded] Error 1
tony@tony-laptop:~/Desktop/projects/7025$
 
slowly getting there

hi All
when i do this everything goes well
tony@tony-laptop:~/Desktop/pro/7025$ make -f Makefile-opendreambox
mkdir -p cache
mkdir -p sources
mkdir -p build
mkdir -p build/conf
NEWS:


Checked out revision 1060.

Openembedded for the Dreambox environment has been initialized
properly. Now you can either:

- make the 'image'-target to build an image, or
- go into build/, source env.source and start on your own!

then the shite hits the fan when i try
Makefile-opendreambox image
i get this error message
b' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/ziq_1.1ern.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/pipeman_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/checkers_1.0.5ern.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/aliens-qt_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/tron_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/shisensho_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/mahjongg_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/zsubhunt_1.0.0ern.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/crossword_0.0.3.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/win4_1.0.1.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/nmm_0.0.2.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/hexatrolic_1.0beta3.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/icebloxx_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/ztappy_0.9.3ern.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/zrev7_1.0.1.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/pdamaze_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/fish_1.1.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/glider_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/sokoban_1.3.8ern.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/pairs_1.1.1.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/maki_1.0.4ern.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/atomic_1.0.1.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/qpe-games/labyrinth_0.7.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/opie-tonleiter/opie-tonleiter_cvs.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/opie-tonleiter/opie-tonleiter_1.2.2.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/zddice/zddice_1.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/fortune-mod/fortune-mod_1.99.1.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/fltk/fltk_1.2+cvs20040806.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/panoramixext/panoramixext_1.1.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/panoramixext/panoramixext_cvs.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/libpcl/libpcl_1.4.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/whois/whois_4.5.25.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/lemon/lemon_3.3.5.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/lemon/lemon-native_3.3.5.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/r/r-native_2.0.0.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/iproute2/iproute2_2.6.8.bb
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR: 0001:def __anonfunc():
ERROR: 0002: import exceptions
ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR: 0004: if need_host:
ERROR: 0005: import re
ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR: 0007: if not re.match(need_host, this_host):
ERROR: local variable 'bb' referenced before assignment while parsing /home/tony/Desktop/pro/7025/openembedded/packages/iproute2/iproute2_2.6.16.bb
ERROR: Error Method already seen: get_glibc_fpu_setting in' glibc_2.2.5.bb' now in 'glibc-package.bbclass'
ERROR: Error in compiling:
ERROR: The lines resulting into this error were:
ERROR: 46:IndentationError:' import bb, re'
ERROR: Printing the environment of the function
ERROR: 0042:# bb.note("overriding PACKAGE_ARCH from %s to %s" % (old_arch, mach_arch))
ERROR: 0043: bb.data.setVar('PACKAGE_ARCH', mach_arch, d)
ERROR: 0044: return
ERROR: 0045:
ERROR: 0046: import bb, re
ERROR: 0047: uc_os = (re.match('.*uclibc$', bb.data.getVar('TARGET_OS', d, 1)) != None)
ERROR: 0048: if uc_os:
ERROR: 0049: raise bb.parse.SkipPackage("incompatible with target %s" %
ERROR: 0050: bb.data.getVar('TARGET_OS', d, 1))
make: *** [image] Error 1
tony@tony-laptop:~/Desktop/pro/7025$
 
Anybody Out There???

HI
have now got it going to the next stage but run into this
I have quilt 0.45.1

tony@tony-desktop:~/Desktop/pro/7025$ make -f Makefile-opendreambox image
Initial database already existing, ok.
Trying to pull the newest revision of the meta database. you can
disable this by setting DISABLE_UPDATE=1 in the Makefile-opendreambox
/usr/bin/mtn pull --db=oe.mtn monotone.openembedded.org org.openembedded.dreambox
mtn: doing anonymous pull; use -kKEYNAME if you need authentication
mtn: connecting to monotone.openembedded.org
mtn: finding items to synchronize:
mtn: certificates | keys | revisions
mtn: 27,507 | 35 | 9,075
mtn: bytes in | bytes out | certs in | revs in
mtn: 1.2 k | 1.4 k | 0/0 | 0/0
mtn: successful exchange with monotone.openembedded.org
[ ! -e openembedded ] && /usr/bin/mtn checkout --db=oe.mtn --branch=org.openembedded.dreambox openembedded || echo "Already checked out, ok."
Already checked out, ok.
cd openembedded; /usr/bin/mtn --db=../oe.mtn update
mtn: updating along branch 'org.openembedded.dreambox'
mtn: already up to date at 2c83d2b44d679133b97b706eb976c2e60de48fba
cd build; . ./env.source; bitbake dreambox-image
NOTE: Using cache in '/home/tony/Desktop/pro/7025/cache/oe-cache.tony'
NOTE: Parsing finished. 3884 cached, 0 parsed, 160 skipped, 28 masked.
NOTE: package quilt-native-0.45: started
NOTE: package quilt-native-0.45-r0: task do_fetch: started
NOTE: fetch http://download.savannah.gnu.org/releases/quilt/quilt-0.45.tar.gz
Error parsing proxy URL http://:8080/: Invalid host name.
NOTE: fetch http://www.oesources.org/source/current/quilt-0.45.tar.gz
Error parsing proxy URL http://:8080/: Invalid host name.
NOTE: fetch http://dreamboxupdate.com/sources-mirror/quilt-0.45.tar.gz
Error parsing proxy URL http://:8080/: Invalid host name.
NOTE: Task failed: Fetch failed: http://download.savannah.gnu.org/releases/quilt/quilt-0.45.tar.gz
NOTE: package quilt-native-0.45-r0: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package quilt-native-0.45: failed
ERROR: Build of dreambox-image failed
make: *** [image] Error 1
tony@tony-desktop:~/Desktop/pro/7025$
 
Back
Top