OpenEmbedded Bitbake Build

242 views
Skip to first unread message

Bevan

unread,
Nov 19, 2008, 10:59:37 AM11/19/08
to Beagle Board
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$

Koen Kooi

unread,
Nov 19, 2008, 11:10:45 AM11/19/08
to beagl...@googlegroups.com

Op 19 nov 2008, om 16:59 heeft Bevan het volgende geschreven:

>
> 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

never, ever run bitbake as root

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "Beagle Board" group.
> To post to this group, send email to discu...@beagleboard.org.
> To unsubscribe from this group, send email to beagleboard...@beagleboard.org
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en
> -~----------~----~----~----~------~----~------~--~---
>

PGP.sig

Philip Balister

unread,
Nov 19, 2008, 11:30:26 AM11/19/08
to beagl...@googlegroups.com
On Wed, Nov 19, 2008 at 8:59 AM, Bevan
<bthistl...@integralbiosensors.com> wrote:
>
> 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.

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

Bevan

unread,
Nov 19, 2008, 8:30:25 PM11/19/08
to Beagle Board
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

On Nov 20, 2:30 am, "Philip Balister" <philip.balis...@gmail.com>
wrote:
> On Wed, Nov 19, 2008 at 8:59 AM, Bevan
>
Reply all
Reply to author
Forward
0 new messages