From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.analogue-micro.com (mail.analogue-micro.com [217.144.149.242]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 09C8AE0155B for ; Tue, 18 Jun 2013 07:12:14 -0700 (PDT) Received: by mail.analogue-micro.com (Postfix, from userid 999) id 569DA68A01A; Tue, 18 Jun 2013 15:12:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on loki.analogue-micro-ltd.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.12.145] (unknown [192.168.12.145]) by mail.analogue-micro.com (Postfix) with ESMTP id EBE2168A019; Tue, 18 Jun 2013 15:12:10 +0100 (BST) Message-ID: <51C06ABA.1070404@mlbassoc.com> Date: Tue, 18 Jun 2013 15:12:10 +0100 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: In-Reply-To: Subject: Re: compile error X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 14:12:16 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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@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 > : > 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 > 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: ] > 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 , > 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 , do_populate_sysroot > Summary: There were 43 ERROR messages shown, returning a non-zero exit code. > > > > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------