This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x rootfs fails to build using MACHINE=am335x-evm bitbake tisdk-roofs-image

I have tried to build the tisdk-rootfs-image recipe and have the following error, I looked at the directory /home/hirst689/arago-2011.09/armv7a/arm-arago-linux-gnueabi/lib/

and found ld* and lib* files. But the error message states that the cp cannot stat them. Could this be a problem with the destination rather than the source for the cp

Any help would be appreciated

hirst689@hirst689-laptop:~/oe/oe-layersetup/build$ MACHINE=am335x-evm bitbake tisdk-rootfs-image
Loading cache: 100% |##################################################################################################################################################################################| ETA:  00:00:00
Loaded 1724 entries from dependency cache.
Parsing recipes: 100% |################################################################################################################################################################################| Time: 00:00:01
Parsing of 1358 .bb files complete (1357 cached, 1 parsed). 1724 targets, 132 skipped, 8 masked, 0 errors.

OE Build Configuration:
BB_VERSION        = "1.15.2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "am335x-evm"
DISTRO            = "arago"
DISTRO_VERSION    = "2012.10"
TUNE_FEATURES     = "armv7a vfp neon cortexa8"
TARGET_FPU        = "vfp-neon"
meta-arago-distro
meta-arago-extras = "(nobranch):f1bf5e0788fa7b361d0899cd6cd0f1d95d8fe86e"
toolchain-layer   
meta-oe           = "(nobranch):e77646bc2cf905fd671fc5c19ab6fd17f9b94b3f"
meta-ti           = "(nobranch):d8f257b275bbf2d573d66d823a118c765f7a26f9"
meta              = "(nobranch):c15fae372cf75403facc28cf76f973b1279425dd"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.6.31 of linux-libc-headers not available (for item linux-libc-headers)
NOTE: versions of linux-libc-headers available: 3.0.8 3.2
NOTE: preferred version 2.6.31 of linux-libc-headers not available (for item linux-libc-headers-dev)
NOTE: versions of linux-libc-headers available: 3.0.8 3.2
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 150 of 3742 (ID: 590, /home/hirst689/oe/oe-layersetup/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-arago-toolchain.bb, do_install)
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
NOTE: package external-arago-toolchain-1.0-r3: task do_install: Started
ERROR: Function failed: do_install (see /home/hirst689/oe/oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/external-arago-toolchain-1.0-r3/temp/log.do_install.28223 for further information)
ERROR: Logfile of failure stored in: /home/hirst689/oe/oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/external-arago-toolchain-1.0-r3/temp/log.do_install.28223
Log data follows:
| ERROR: Function failed: do_install (see /home/hirst689/oe/oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/external-arago-toolchain-1.0-r3/temp/log.do_install.28223 for further information)
| cp: cannot stat `/home/hirst689/arago-2011.09/armv7a/arm-arago-linux-gnueabi/lib/{lib*,ld*}': No such file or directory
NOTE: package external-arago-toolchain-1.0-r3: task do_install: Failed
ERROR: Task 590 (/home/hirst689/oe/oe-layersetup/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-arago-toolchain.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 150 tasks of which 149 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/hirst689/oe/oe-layersetup/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-arago-toolchain.bb, do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

  • Also if I issue the same command maually it works just fine, it copies all the file to the current directory.

    cp -a  /home/hirst689/arago-2011.09/armv7a/arm-arago-linux-gnueabi/lib/{lib*,ld*}  .

  •  if  I change the line  cp -a  /home/hirst689/arago-2011.09/armv7a/arm-arago-linux-gnueabi/lib/{lib*,ld*} 

    to the two line

         cp -a  /home/hirst689/arago-2011.09/armv7a/arm-arago-linux-gnueabi/lib/lib*

        cp -a  /home/hirst689/arago-2011.09/armv7a/arm-arago-linux-gnueabi/lib/ld*

    it seems to be the interpretation of the {} for multiple variable, this is handled ok by bash which is what I am running as the default script outside this .dd file