qemu_fslgit.bb do_install failed Error!

cancel
Showing results for 
Search instead for 
Did you mean: 

qemu_fslgit.bb do_install failed Error!

2,082 Views
lahar
Contributor II

Hello All,

I am currently using Freescale P4080DS board. I just downloaded installed SDK v1.4. I was able to build fsl-image-minimal just fine but whenever I try to do bitbake fsl-image-full I receive an error - ERROR: Task 674 (/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/meta-fsl-ppc/recipes-devtools/qemu/qemu_fslgit.bb, do_install) failed with exit code '1'

I have pasted the full error here - http://pastebin.com/MsNvXkM1 . Please help!

I have tried talking to yocto community on freenode webchat. They directed me here.

Thank you very much for your help in advance!

Regards

Lahar

Labels (1)
6 Replies

222 Views
lunminliang
NXP Employee
NXP Employee

Suggestion from technical support:

1. Use a supported host PC Linux distribution.

2. In addition to the source SDK DVD, install the cache DVD for the target

core. Download links can be found here:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=SDKLINUX&fpsp=1&tab=Design_Tools_Tab

3. For some packages, the SDK accesses git.freescale.com. Allow the

building host to access Internet to fetch necessary files.


0 Kudos

222 Views
yipingwang
NXP TechSupport
NXP TechSupport

I have installed SDK 1.4 and verified "do_install" task of qemu without any problem. It seems the link provided by you is not accessible, would you please attach the log file build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/temp/log.do_install.* to us?

0 Kudos

222 Views
lahar
Contributor II

Hello Yiping,

I tried again and I am still getting the error.

I couldn't figure out how to attach the file here. This is why I am copy pasting it.

***********************************************************************************************

DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common']

DEBUG: Executing shell function do_install

NOTE: make -j 12 DESTDIR=/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image install

install -d -m 0755 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/doc/qemu"

install -d -m 0755 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/qemu"

install -d -m 0755 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/etc/qemu"

install -c -m 0644 /home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/git/sysconfigs/target/target-x86_64.conf "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/etc/qemu"

install -c -m 0644 qemu-doc.html  qemu-tech.html "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/doc/qemu"

install -c -m 0644 QMP/qmp-commands.txt "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/doc/qemu"

install -d -m 0755 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/man/man1"

install -c -m 0644 qemu.1 qemu-img.1 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/man/man1"

install -d -m 0755 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/man/man8"

install -c -m 0644 qemu-nbd.8 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/man/man8"

install -d -m 0755 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/man/man1"

install -c -m 0644 fsdev/virtfs-proxy-helper.1 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/share/man/man1"

install -d -m 0755 "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/bin"

powerpc-fsl_networking-linux-libtool --quiet --mode=install install -c -m 0755  qemu-ga qemu-nbd qemu-img qemu-io  fsdev/virtfs-proxy-helper "/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/image/usr/bin"

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 1661: preserve_args+= --quiet: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: install_prog+=install: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: install_prog+= -c: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: install_shared_prog+= -c: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: install_prog+= -m: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: install_shared_prog+= -m: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: install_prog+= 0755: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: install_shared_prog+= 0755: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: files+= qemu-ga: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: files+= qemu-nbd: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: files+= qemu-img: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: files+= qemu-io: not found

/home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/sysroots/p4080ds/usr/bin/crossscripts/powerpc-fsl_networking-linux-libtool: 3677: files+= fsdev/virtfs-proxy-helper: not found

powerpc-fsl_networking-linux-libtool: install: you must specify an install program

powerpc-fsl_networking-linux-libtool: install: Try `powerpc-fsl_networking-linux-libtool --help --mode=install' for more information.

make: *** [install] Error 1

ERROR: oe_runmake failed

ERROR: Function failed: do_install (see /home/lahar/QorIQ-SDK-V1.4-20130625-yocto/build_p4080ds_release/tmp/work/ppce500mc-fsl_networking-linux/qemu/1.4+fsl-r0/temp/log.do_install.1990 for further information)

*************************************************************************************************

Thank you very much for your help!


0 Kudos

222 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please check whether "/bin/sh" links to "Dash" in your system, if so please configure "/bin/sh" linking to "bash", it seems that some sentences in the install script cannot be parsed by Dash.

222 Views
jamestodd
Contributor I

hey -

  i too suffered the /bin/sh -> /bin/dash issue. so thx for the information to fix that issue :smileyhappy:

  that said, i am still not able to build an image (noting much of this is new to me at this point in time).

  console snippet included below.

  any/all help is appreciated.

  thx,

- james

    ...

    % . ./fsl-setup-env -m ls1012afrdm

    % bitbake fsl-toolchain

    ...

| cp: preserving permissions for '/LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/work/x86_64-linux/db-native/6.0.30-r0/image/LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/sysroots/x86_64-linux/usr/docs/license': Invalid argument

| cp: preserving permissions for '/LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/work/x86_64-linux/db-native/6.0.30-r0/image/LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/sysroots/x86_64-linux/usr/docs/porting': Invalid argument

| cp: preserving permissions for '/LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/work/x86_64-linux/db-native/6.0.30-r0/image/LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/sysroots/x86_64-linux/usr/docs/programmer_reference': Invalid argument

| cp: preserving permissions for '/LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/work/x86_64-linux/db-native/6.0.30-r0/image/LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/sysroots/x86_64-linux/usr/docs/upgrading': Invalid argument

| Makefile:1171: recipe for target 'install_docs' failed

| make: *** [install_docs] Error 1

| ERROR: oe_runmake failed

| ERROR: Function failed: do_install (log file is located at /LS1012A-SDK-20161230-yocto/build_ls1012afrdm/tmp/work/x86_64-linux/db-native/6.0.30-r0/temp/log.do_install.12756)

ERROR: Task 380 (virtual:native:/LS1012A-SDK-20161230-yocto/sources/poky/meta/recipes-support/db/db_6.0.30.bb, do_install) failed with exit code '1'

NOTE: Tasks Summary: Attempted 469 tasks of which 0 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

Summary: 1 task failed:

  virtual:native:/LS1012A-SDK-20161230-yocto/sources/poky/meta/recipes-support/db/db_6.0.30.bb, do_install

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 Kudos

222 Views
lahar
Contributor II

Thanks for your help Yiping. I answered no when it asks me Install dash as /bin/sh and it worked. I was able to build fsl-image-full.

Thanks again!

0 Kudos