[meta-freescale] compile error

Gary Thomas gary at mlbassoc.com
Tue Jun 18 07:12:10 PDT 2013


On 2013-06-18 14:14, Fikret Alim wrote:
> Hello,
>
> I got the following error during compile process. What can be the reason, how can I solve it?

I believe this is because you have dash, not bash, as your shell.
Try this:
   # sudo dpkg-reconfigure dash

> ubuntu at ubuntu:~/projects/fsl-community-bsp/fsl-community-bsp/build$ bitbake fsl-image-test
> Pseudo is not present but is required, building this first before the main build
> Loading cache: 100% |###############################################################################################################| ETA:  00:00:00
> Loaded 1645 entries from dependency cache.
>
> Build Configuration:
> BB_VERSION        = "1.18.0"
> BUILD_SYS         = "i686-linux"
> NATIVELSBSTRING   = "Ubuntu-12.04"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "imx6qsabrelite"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.4.1"
> TUNE_FEATURES     = "armv7a vfp neon"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto        = "(nobranch):e4a0a4c5e419154a34710a1b6c28d4180c6304c3"
> meta-oe           = "(nobranch):13ae5105ee30410136beeae66ec41ee4a8a2e2b0"
> meta-fsl-arm      = "(nobranch):d31a4e85673874dbc6b42bb5d1e8496810c574cc"
> meta-fsl-arm-extra = "(nobranch):5f5a9cfcad223f5a1c623346780510ffcdc012ab"
> meta-fsl-demos    = "(nobranch):724cfb929748f47782dea3b1dc412b028f6f3515"
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Error executing a python function in /home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb
> <http://quilt-native_0.60.bb>:
> CalledProcessError: Command 'cp -al
> /home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/build/tmp/work/i686-linux/quilt-native/0.60-r0/sysroot-destdir/home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/build/tmp/sysroots/i686-linux/*
> /home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/build/tmp/work/i686-linux/quilt-native/0.60-r0/sstate-build-populate-sysroot/i686-linux' returned non-zero exit status 1
> with output cp: cannot create hard link
> `/home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/build/tmp/work/i686-linux/quilt-native/0.60-r0/sstate-build-populate-sysroot/i686-linux/usr/share/quilt/compat/awk' to
> `/home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/build/tmp/work/i686-linux/quilt-native/0.60-r0/sysroot-destdir/home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/share/quilt/compat/awk':
> Operation not permitted
>
>
> ERROR: The stack trace of python calls that resulted in this exception/failure was:
> ERROR:   File "sstate_task_postfunc", line 10, in <module>
> ERROR:
> ERROR:   File "sstate_task_postfunc", line 7, in sstate_task_postfunc
> ERROR:
> ERROR:   File "sstate.bbclass", line 45, in sstate_package
> ERROR:
> ERROR:   File "/home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/sources/poky/meta/lib/oe/path.py", line 94, in copyhardlinktree
> ERROR:     check_output(cmd, shell=True, stderr=subprocess.STDOUT)
> ERROR:
> ERROR:   File "/home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/sources/poky/meta/lib/oe/path.py", line 155, in check_output
> ERROR:     raise CalledProcessError(retcode, cmd, output=output)
> ERROR:
> ERROR: The code that was being executed was:
> ERROR:      0006:        bb.build.exec_func(intercept, d)
> ERROR:      0007:    sstate_package(shared_state, d)
> ERROR:      0008:
> ERROR:      0009:
> ERROR:  *** 0010:sstate_task_postfunc(d)
> ERROR:      0011:
> ERROR: [From file: 'sstate_task_postfunc', lineno: 10, function: <module>]
> ERROR:      0003:    shared_state = sstate_state_fromvars(d)
> ERROR:      0004:    sstate_install(shared_state, d)
> ERROR:      0005:    for intercept in shared_state['interceptfuncs']:
> ERROR:      0006:        bb.build.exec_func(intercept, d)
> ERROR:  *** 0007:    sstate_package(shared_state, d)
> ERROR:      0008:
> ERROR:      0009:
> ERROR:      0010:sstate_task_postfunc(d)
> ERROR:      0011:
> ERROR: [From file: 'sstate_task_postfunc', lineno: 7, function: sstate_task_postfunc]
> ERROR:      0041:                srcpath = os.path.join(walkroot, dir)
> ERROR:      0042:                dstpath = srcpath.replace(state[1], sstatebuild + state[0])
> ERROR:      0043:                make_relative_symlink(srcpath, dstpath, d)
> ERROR:      0044:        bb.debug(2, "Preparing tree %s for packaging at %s" % (state[1], sstatebuild + state[0]))
> ERROR:  *** 0045:        oe.path.copyhardlinktree(state[1], sstatebuild + state[0])
> ERROR:      0046:
> ERROR:      0047:    workdir = d.getVar('WORKDIR', True)
> ERROR:      0048:    for plain in ss['plaindirs']:
> ERROR:      0049:        pdir = plain.replace(workdir, sstatebuild)
> ERROR: [From file: 'sstate.bbclass', lineno: 45, function: sstate_package]
> ERROR: Function failed: sstate_task_postfunc
> ERROR: Logfile of failure stored in: /home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/build/tmp/work/i686-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.13142
> ERROR: Task 10 (/home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb <http://quilt-native_0.60.bb>,
> do_populate_sysroot) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 23 tasks of which 22 didn't need to be rerun and 1 failed.
> No currently running tasks (7 of 63)
>
> Summary: 1 task failed:
>    /home/ubuntu/projects/fsl-community-bsp/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb <http://quilt-native_0.60.bb>, do_populate_sysroot
> Summary: There were 43 ERROR messages shown, returning a non-zero exit code.
>
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the meta-freescale mailing list