[oe] Error building busybox_1.13.2

Alan Carvalho de Assis acassis at gmail.com
Thu Jun 18 00:01:14 UTC 2009


Hi list,

I am updating mx27ads as suggested by Tom Rini, but I found an issue.

The busybox_1.13.2 is broking during the do_install phase.

It is looking for:
tmp/work/armv5te-angstrom-linux-gnueabi/busybox-1.13.2-r22.1/simple.script

instead:
tmp/work/armv5te-angstrom-linux-gnueabi/busybox-1.13.2-r22.1/busybox-1.13.2/examples/udhcp/simple.script
(see error log below for further information)

I fixed it editing "openembedded/recipes/busybox/busybox.inc" and replacing:

install -m 0755 ${WORKDIR}/simple.script ${D}${sysconfdir}/udhcpc.d/50default

by this one:

install -m 0755 ${S}/examples/udhcp/simple.script
${D}${sysconfdir}/udhcpc.d/50default


Is this fix right? Or would be better to create a specific
busybox_1.13.2.bb to solve it?

Regards,

Alan

NOTE: Running task 324 of 461 (ID: 8,
/home/alan/oe/stuff/openembedded/recipes/busybox/busybox_1.13.2.bb,
do_install)
ERROR: function do_install failed
ERROR: log data follows
(/home/alan/oe/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/busybox-1.13.2-r22.1/temp/log.do_install.15786)
| NOTE: make -e MAKEFLAGS= V=1 ARCH=arm
CROSS_COMPILE=arm-angstrom-linux-gnueabi-
CROSS=arm-angstrom-linux-gnueabi- busybox.links
| make: `busybox.links' is up to date.
| CONFIG_HTTPD=y
| CONFIG_APP_UDHCPD=y
| CONFIG_HWCLOCK=y
| CONFIG_APP_UDHCPC=y
| install: cannot stat
`/home/alan/oe/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/busybox-1.13.2-r22.1/simple.script':
No such file or directory
NOTE: Task failed:
/home/alan/oe/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/busybox-1.13.2-r22.1/temp/log.do_install.15786
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/alan/oe/stuff/openembedded/recipes/busybox/busybox_1.13.2.bb
do_install failed
ERROR: Task 8 (/home/alan/oe/stuff/openembedded/recipes/busybox/busybox_1.13.2.bb,
do_install) failed
NOTE: Tasks Summary: Attempted 323 tasks of which 323 didn't need to
be rerun and 1 failed.
ERROR: '/home/alan/oe/stuff/openembedded/recipes/busybox/busybox_1.13.2.bb'
failed
BB>> exit
alan at metropolis:~/oe/stuff$ cd
/home/alan/oe/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/busybox-1.13.2-r22.1/
alan at metropolis:~/oe/stuff/tmp/work/armv5te-angstrom-linux-gnueabi/busybox-1.13.2-r22.1$
find . -name simple.script
./busybox-1.13.2/examples/udhcp/simple.script
./busybox-1.13.2/.pc/udhcpscript.patch/examples/udhcp/simple.script
./busybox-1.13.2/.pc/udhcpc-fix-nfsroot.patch/examples/udhcp/simple.script




More information about the Openembedded-devel mailing list