OpenEmbedded Bitbake Build

Hi,

I am getting the following error messages when I try the build the
console-image as per the instructions on : http://elinux.org/BeagleBoardAndOpenEmbeddedGit

I am at a loss. What do I have to do to get this to work.

Thanks,
Bevan

OE:beagleboard bevan@ubuntu-server-64b:~/Projects/oe$ sudo bitbake
console-image
ERROR: Please set the 'CACHE' variable.
OE:beagleboard bevan@ubuntu-server-64b:~/Projects/oe$ bitbake console-
image
sh: /dev/null: Permission denied
NOTE: Handling BitBake files: - (6220/6220) [100 %][[1;2D
NOTE: Parsing finished. 69 cached, 5884 parsed, 267 skipped, 0 masked.
NOTE: build 200811200147: started

OE Build Configuration:
BB_VERSION = "1.8.11"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "aa0f5104221adf6145993a1976f97d77310cf5a1"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "2008.1-test-20081119"
TARGET_FPU = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version git of u-boot not available (for item u-boot)
NOTE: preferred version git of u-boot not available (for item u-boot)
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime
entity 'openzaurus-sa' but it wasn't found in any PACKAGE or RPROVIDES
variables
NOTE: Runtime target 'openzaurus-sa' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['openzaurus-sa']
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1 of 2093 (ID: 17, /home/bevan/Projects/oe/
openembedded/packages/shasum/shasum-native.bb, do_setscene)
Traceback (most recent call last):
  File "/home/bevan/Projects/oe/opt/bitbake/bin/bitbake", line 146, in
<module>
    main()
  File "/home/bevan/Projects/oe/opt/bitbake/bin/bitbake", line 143, in
main
    cooker.cook()
  File "/home/bevan/Projects/oe/opt/bitbake/lib/bb/cooker.py", line
641, in cook
    return self.buildTargets(pkgs_to_build)
  File "/home/bevan/Projects/oe/opt/bitbake/lib/bb/cooker.py", line
551, in buildTargets
    failures = rq.execute_runqueue()
  File "/home/bevan/Projects/oe/opt/bitbake/lib/bb/runqueue.py", line
842, in execute_runqueue
    self.execute_runqueue_internal()
  File "/home/bevan/Projects/oe/opt/bitbake/lib/bb/runqueue.py", line
946, in execute_runqueue_internal
    newsi = os.open('/dev/null', os.O_RDWR)
OSError: [Errno 13] Permission denied: '/dev/null'
ERROR: Task 17 (/home/bevan/Projects/oe/openembedded/packages/shasum/
shasum-native.bb, do_setscene) failed
NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR: '/home/bevan/Projects/oe/openembedded/packages/shasum/shasum-
native.bb' failed
NOTE: build 200811200147: completed
OE:beagleboard bevan@ubuntu-server-64b:~/Projects/oe$

Hi,

I am getting the following error messages when I try the build the
console-image as per the instructions on : BeagleBoardAndOpenEmbeddedGit - eLinux.org

I am at a loss. What do I have to do to get this to work.

Thanks,
Bevan

OE:beagleboard bevan@ubuntu-server-64b:~/Projects/oe$ sudo bitbake
console-image

never, ever run bitbake as root

Hi,

I am getting the following error messages when I try the build the
console-image as per the instructions on : BeagleBoardAndOpenEmbeddedGit - eLinux.org

I am at a loss. What do I have to do to get this to work.

My /dev/null is 666, what is yours?

[balister@localhost ~]$ ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 2008-11-01 11:58 /dev/null

Philip

Thanks Philip & Koen.

Ubuntu had set the default file permissions for /dev/null as 0600.

Changing the permissions to 0666 solved the problem.

Thanks again,
Bevan