[yocto] external-sourcery-toolchain: ERROR: Function failed: do_install
Elvis Dowson
elvis.dowson at gmail.com
Fri Aug 10 08:37:24 PDT 2012
Hi,
I cloned the meta-sourcery repo, added it to my bblayers.conf
$ cd /tool/yocto
$ git clone git://github.com/MentorEmbedded/meta-sourcery.git
I specified the following variables in my local.conf:
# Set the toolchain.
TCMODE = "external-csl"
EXTERNAL_TOOLCHAIN = "/tool/mentor/csl-2011.03-39"
CSL_TARGET_SYS_powerpc = "powerpc-eabi"
I get the following error, when I try to run bitbake core-image-minimal:
ERROR: Function failed: do_install (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/external-sourcery-toolchain-2011.03-39-r12/temp/log.do_install.31646 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/external-sourcery-toolchain-2011.03-39-r12/temp/log.do_install.31646
Log data follows:
| DEBUG: Executing shell function do_install
| cp: target `/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/external-sourcery-toolchain-2011.03-39-r12/image/lib' is not a directory
| ERROR: Function failed: do_install (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/external-sourcery-toolchain-2011.03-39-r12/temp/log.do_install.31646 for further information)
NOTE: package external-sourcery-toolchain-2011.03-39-r12: task do_install: Failed
ERROR: Task 41 (/tool/yocto/meta-sourcery/recipes/meta/external-sourcery-toolchain.bb, do_install) failed with exit code '1'
Waiting for 3 running tasks to finish:
0: ncurses-native-5.9-r10.1 do_configure (pid 31329)
1: openssl-native-1.0.0j-r15.3 do_unpack (pid 31503)
2: zlib-native-1.2.7-r0 do_compile (pid 31632)
NOTE: package attr-native-2.4.46-r4: task do_fetch: Started
Waiting for 4 running tasks to finish:
0: ncurses-native-5.9-r10.1 do_configure (pid 31329)
1: openssl-native-1.0.0j-r15.3 do_unpack (pid 31503)
2: zlib-native-1.2.7-r0 do_compile (pid 31632)
3: attr-native-2.4.46-r4 do_fetch (pid 31843)
NOTE: package attr-native-2.4.46-r4: task do_fetch: Succeeded
Waiting for 3 running tasks to finish:
0: ncurses-native-5.9-r10.1 do_configure (pid 31329)
1: openssl-native-1.0.0j-r15.3 do_unpack (pid 31503)
2: zlib-native-1.2.7-r0 do_compile (pid 31632)
NOTE: package openssl-native-1.0.0j-r15.3: task do_unpack: Succeeded
Waiting for 2 running tasks to finish:
0: ncurses-native-5.9-r10.1 do_configure (pid 31329)
1: zlib-native-1.2.7-r0 do_compile (pid 31632)
NOTE: package zlib-native-1.2.7-r0: task do_compile: Succeeded
Waiting for 1 running tasks to finish:
0: ncurses-native-5.9-r10.1 do_configure (pid 31329)
NOTE: package ncurses-native-5.9-r10.1: task do_configure: Succeeded
NOTE: Tasks Summary: Attempted 97 tasks of which 63 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/tool/yocto/meta-sourcery/recipes/meta/external-sourcery-toolchain.bb, do_install
Summary: There were 5 ERROR messages shown, returning a non-zero exit code.
How can I resolve this error?
Best regards,
Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120810/c09e9fc9/attachment.html>
More information about the yocto
mailing list