Oliver,
after rereading the Angstrom and OE wiki I installed bitbake on my Thinkpad running Ubuntu (Hardy Heron). And in principle it works -- after installing and configuring bitbake like described here
http://wiki.openembedded.net/index.php/Getting_Started a "bitbake opie-image" created a new image and "bitbake portabase" created a portabase package file.
Perfect...
Then I created a new directory to create the image for angstrom-2007.1 and a Portabase package for my current Opie environment on the Zaurus like it's described here
http://www.angstrom-distribution.org/building-angstrom.
In this directory bitbake does not work as expected; I always get the error message
[angstrom-2007.1] xtrnaw7@t61p:/data/develop/oe/angstrom-2007.1/org.openembedded.stable$ bitbake opie-image
NOTE: Out of date cache found, rebuilding...
NOTE: Handling BitBake files: | (4976/4976) [100 %]
NOTE: Parsing finished. 0 cached, 4751 parsed, 225 skipped, 0 masked.
NOTE: build 200901262327: started
OE Build Configuration:
BB_VERSION = "1.8.12"
OE_REVISION = "<unknown>"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "c7x0"
DISTRO = "angstrom"
DISTRO_VERSION = "2007.12-r19"
TARGET_FPU = "soft"
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'virtual/arm-angstrom-linux-gnueabi-gcc-2.95' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'virtual/arm-angstrom-linux-gnueabi-gcc-2.95' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['virtual/arm-angstrom-linux-gnueabi-gcc-2.95']
(and some other error messages which are follow-up errors I think).
My local.conf file is
DL_DIR = "/data/develop/oe/angstrom-2007.1/sources"
BBFILES = "/data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/*/*.bb"
BBMASK = ""
CCACHE=""
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
TMPDIR = "/data/develop/oe/angstrom-2007.1/oetmp"
MACHINE = "c7x0"
DISTRO = "angstrom-2007.1"
IMAGE_FSTYPES = "jffs2 tar.gz"
BBINCLUDELOGS = "yes"
and BBPATH is
[angstrom-2007.1] xtrnaw7@t61p:/data/develop/oe/angstrom-2007.1/org.openembedded.stable$ echo $BBPATH
/data/develop/oe/angstrom-2007.1/build:/data/develop/oe/angstrom-2007.1/org.openembedded.stable
Unfortunately the documentation for bitbake is not that good so I'm lost here .. Any clues?
regards
Bernd
Update:
Just read in a message that this message can be ignored ... therefor I add all messages I get:
[angstrom-2007.1] xtrnaw7@t61p:/data/develop/oe/angstrom-2007.1/build$ bitbake opie-image
NOTE: Handling BitBake files: | (4976/4976) [100 %]
NOTE: Parsing finished. 4750 cached, 1 parsed, 225 skipped, 0 masked.
NOTE: build 200901270958: started
OE Build Configuration:
BB_VERSION = "1.8.12"
OE_REVISION = "<unknown>"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "c7x0"
DISTRO = "angstrom"
DISTRO_VERSION = "2007.12-r19"
TARGET_FPU = "soft"
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'virtual/arm-angstrom-linux-gnueabi-gcc-2.95' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'virtual/arm-angstrom-linux-gnueabi-gcc-2.95' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['virtual/arm-angstrom-linux-gnueabi-gcc-2.95']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-64-0' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-64-0' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-64-0']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-24-8' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-24-8' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-24-8']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-32-0' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-32-0' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-32-0']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-32-32' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-32-32' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-32-32']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-40-24' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-40-24' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-40-24']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-48-16' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-48-16' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-48-16']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-58-6' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-58-6' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-58-6']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'pango-directfb' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'pango-directfb' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['pango-directfb']
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 6 of 2467 (ID: 19, /data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/shasum/shasum-native.bb, do_compile)
NOTE: package shasum-native-1.0: started
NOTE: package shasum-native-1.0-r1: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/data/develop/oe/angstrom-2007.1/oetmp/work/x86_64-linux/shasum-native-1.0-r1/temp/log.do_compile.16666)
| collect2: cannot find 'ld'
NOTE: Task failed: /data/develop/oe/angstrom-2007.1/oetmp/work/x86_64-linux/shasum-native-1.0-r1/temp/log.do_compile.16666
NOTE: package shasum-native-1.0-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package shasum-native-1.0: failed
ERROR: Build of /data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/shasum/shasum-native.bb do_compile failed
ERROR: Task 19 (/data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/shasum/shasum-native.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 5 tasks of which 5 didn't need to be rerun and 1 failed.
ERROR: '/data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/shasum/shasum-native.bb' failed
NOTE: build 200901270958: completed
[angstrom-2007.1] xtrnaw7@t61p:/data/develop/oe/angstrom-2007.1/build$