bitbake x11-image failed (Debian lenny: bitbake version 1.8.12; stuck two days.)

I try to compile x11-image under Angstrom using bitbake.
my system is debian lenny. and I did according to
http://elinux.org/BeagleBoardAndOpenEmbeddedGit

After setup environment and create profile.sh and local.conf
just follow steps
1.git checkout origin/stable/2009 -b stable/2009
2.git pull
3.bitbake x11-image

it compile serveral hours, but error appears.
And I tried serveral time . It take me a long time to rebuild it. But
every time ,the same error appear.

Any one could help with it ?

Thanks

Regards

alex

error info:

OE:beagleboard yl@bogon:~/oe/openembedded$ bitbake x11-image
NOTE: Handling BitBake files: \ (6972/6972) [100 %]
NOTE: Parsing finished. 6690 cached, 0 parsed, 282 skipped, 2 masked.
NOTE: Cache is clean, not saving.
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)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 3580 of 4447 (ID: 1868, /home/yl/oe/openembedded/
recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb, do_package_write_ipk)
ERROR: Error in executing: /home/yl/oe/openembedded/recipes/e2fsprogs-
libs/e2fsprogs-libs_1.41.5.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such
file or directory: '/home/yl/oe/tmp/work/armv7a-angstrom-linux-gnueabi/
util-linux-ng-2.15-r6/install/e2fsprogs-libs-dbg'
ERROR: Printing the environment of the function
ERROR: 0048: basedir = os.path.join(os.path.dirname(root))
ERROR: 0049: arch = bb.data.getVar('PACKAGE_ARCH', localdata, 1)
ERROR: 0050: pkgoutdir = "%s/%s" % (outdir, arch)
ERROR: 0051: bb.mkdirhier(pkgoutdir)
ERROR: 0052: os.chdir(root)
ERROR: 0053: from glob import glob
ERROR: 0054: g = glob('*') + glob('.[!.]*')
ERROR: 0055: try:
ERROR: 0056: del g[g.index('CONTROL')]
ERROR: Error in executing: /home/yl/oe/openembedded/recipes/e2fsprogs-
libs/e2fsprogs-libs_1.41.5.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such
file or directory: '/home/yl/oe/tmp/work/armv7a-angstrom-linux-gnueabi/
util-linux-ng-2.15-r6/install/e2fsprogs-libs-dbg'
ERROR: Printing the environment of the function
ERROR: Build of /home/yl/oe/openembedded/recipes/e2fsprogs-libs/
e2fsprogs-libs_1.41.5.bb do_package_write_ipk failed
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 143, in <module>
    main()
  File "/usr/bin/bitbake", line 140, in main
    cooker.cook()
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 643, in
cook
    return self.buildTargets(pkgs_to_build)
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 550, in
buildTargets
    failures = rq.execute_runqueue()
  File "/var/lib/python-support/python2.5/bb/runqueue.py", line 841,
in execute_runqueue
    self.execute_runqueue_internal()
  File "/var/lib/python-support/python2.5/bb/runqueue.py", line 950,
in execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 136, in
tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd,
the_data)
  File "/var/lib/python-support/python2.5/bb/cooker.py", line 110, in
tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/var/lib/python-support/python2.5/bb/build.py", line 278, in
exec_task
    exec_func(task, localdata)
  File "/var/lib/python-support/python2.5/bb/build.py", line 113, in
exec_func
    exec_func_python(func, d)
  File "/var/lib/python-support/python2.5/bb/build.py", line 136, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/var/lib/python-support/python2.5/bb/utils.py", line 171, in
better_exec
    exec code in context
  File "do_package_write_ipk", line 11, in <module>
  File "do_package_write_ipk", line 9, in do_package_write_ipk
  File "/var/lib/python-support/python2.5/bb/build.py", line 113, in
exec_func
    exec_func_python(func, d)
  File "/var/lib/python-support/python2.5/bb/build.py", line 136, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/var/lib/python-support/python2.5/bb/utils.py", line 171, in
better_exec
    exec code in context
  File "do_package_ipk", line 174, in <module>
  File "do_package_ipk", line 52, in do_package_ipk
OSError: [Errno 2] No such file or directory: '/home/yl/oe/tmp/work/
armv7a-angstrom-linux-gnueabi/util-linux-ng-2.15-r6/install/e2fsprogs-
libs-dbg'
ERROR: Task 1868 (/home/yl/oe/openembedded/recipes/e2fsprogs-libs/
e2fsprogs-libs_1.41.5.bb, do_package_write_ipk) failed
NOTE: Tasks Summary: Attempted 3579 tasks of which 3579 didn't need to
be rerun and 1 failed.
ERROR: '/home/yl/oe/openembedded/recipes/e2fsprogs-libs/e2fsprogs-
libs_1.41.5.bb' failed

Why do people keep using that wiki instead of the official, supported instructions: http://www.angstrom-distribution.org/building-angstrom ?

sorry for late response. I took a vacation for a week.

Now I try to compile according to http://www.angstrom-distribution.org/building-angstrom

  1. After finishing environment setup, then git pull
  2. bitbake x11-image

I try several times ,but there is always a MD5 checksum fail everytime.

it is weird. Is it right to git clone git://git.openembedded.org/openembedded.git openembedded ?

Any one could help with it ?

Thanks

Regards

alex

error info:

yl@bogon:/OE/openembedded$ bitbake x11-image
NOTE: Handling BitBake files: \ (6657/6657) [100 %]
NOTE: Parsing finished. 6375 cached, 0 parsed, 282 skipped, 0 masked.
NOTE: Cache is clean, not saving.
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)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 164 of 6132 (ID: 2619, /OE/openembedded/recipes/gettext/gettext-native_0.17.bb, do_fetch)
NOTE: The MD5Sums did not match. Wanted: ‘58a2bc6d39c0ba57823034d55d65d606’ and Got: ‘d41d8cd98f00b204e9800998ecf8427e’
NOTE: Task failed: Checksum of ‘ftp://ftp.gnu.org/gnu/gettext/gettext-0.17.tar.gz’ failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /OE/openembedded/recipes/gettext/gettext-native_0.17.bb do_fetch failed
NOTE: Running task 294 of 6132 (ID: 3866, /OE/openembedded/recipes/libsdl/libsdl-native_1.2.11.bb, do_build)
NOTE: Running task 301 of 6132 (ID: 534, /OE/openembedded/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb, do_compile)
NOTE: Running task 305 of 6132 (ID: 1325, /OE/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_unpack)
NOTE: Unpacking …/downloads/qemu-0.10.3.tar.gz to …/angstrom-dev/work/i686-linux/qemu-native-0.10.3-r1/
NOTE: Running task 306 of 6132 (ID: 3880, /OE/openembedded/recipes/libsdl/libsdl-native_1.2.11.bb, do_rm_work)
ERROR: Task 2619 (/OE/openembedded/recipes/gettext/gettext-native_0.17.bb, do_fetch) failed
NOTE: Waiting for 3 active tasks to finish
NOTE: 1: /OE/openembedded/recipes/libsdl/libsdl-native_1.2.11.bb, do_rm_work (3866)
NOTE: 2: /OE/openembedded/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb, do_compile (3862)
NOTE: 3: /OE/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_unpack (3863)
NOTE: Waiting for 2 active tasks to finish
NOTE: 1: /OE/openembedded/recipes/libsdl/libsdl-native_1.2.11.bb, do_rm_work (3866)
NOTE: 2: /OE/openembedded/recipes/qemu/qemu-native_0.10.3.bb, do_unpack (3863)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /OE/openembedded/recipes/libsdl/libsdl-native_1.2.11.bb, do_rm_work (3866)
NOTE: Tasks Summary: Attempted 302 tasks of which 301 didn’t need to be rerun and 1 failed.
ERROR: ‘/OE/openembedded/recipes/gettext/gettext-native_0.17.bb’ failed

If every md5 check fails the following might have happened:

1) bad ram
2) bad disk
3) overzealous firewall that uncompresses the data, inspects it and recompresses it.

I've seen reports of all of the above, especially 3 was hard to track down.

regards,

Koen

yes,bad disk
there is something wrong with the disk.
I move the angstrom development environment to another new partition.
bitbake x11-image succeed.
thanks very much.:slight_smile:

regards

alex