All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: meta-freescale@yoctoproject.org
Subject: Re: compile error
Date: Tue, 18 Jun 2013 15:12:10 +0100	[thread overview]
Message-ID: <51C06ABA.1070404@mlbassoc.com> (raw)
In-Reply-To: <CAHuguRpEfX_KTFspnbfKdVYX1mO0kwYzGqC4KnSfZb7+vqc5Rg@mail.gmail.com>

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
> <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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>

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


  reply	other threads:[~2013-06-18 14:12 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18 13:14 compile error Fikret Alim
2013-06-18 14:12 ` Gary Thomas [this message]
2013-06-18 14:17   ` Luo Zhenhua-B19537
  -- strict thread matches above, loose matches on Subject: below --
2025-08-05  2:39 刘杨
2025-08-05 10:56 ` Jan Kiszka
2023-06-05  5:30 Chan Kim
2023-06-12 21:17 ` Simon Glass
2023-06-04 14:41 Chan Kim
2023-06-12 21:17 ` Simon Glass
2017-10-24  2:17 liupan1234
2009-12-18  2:00 Compile Error 陈洁丹
2009-12-18 14:35 ` Steve Grubb
2009-12-17  6:22 陈洁丹
2009-12-17 11:42 ` Steve Grubb
2009-08-04  5:25 Compile error Marko Saukko
2009-08-04 16:22 ` Shane Bryan
2009-08-04 20:20   ` Denis Kenzior
2009-08-04 20:57     ` Shane Bryan
2009-03-18  1:17 compile error Dennis Kavadas
2009-03-18  1:24 ` Julian Calaby
2009-03-18  1:29   ` Dennis Kavadas
2009-03-18  1:32     ` Julian Calaby
2009-03-18  1:34       ` Dennis Kavadas
2008-02-18  2:38 Zhao, Yunfeng
2008-02-18 10:16 ` Avi Kivity
2008-02-18 13:15   ` Zhao, Yunfeng
2008-02-18 14:51     ` Avi Kivity
2008-01-09  2:37 Zhao, Yunfeng
     [not found] ` <10EA09EFD8728347A513008B6B0DA77A029F4E20-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2008-01-09  8:39   ` Avi Kivity
     [not found]     ` <4784882F.9000103-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-09 17:03       ` Hollis Blanchard
2008-01-10  9:56         ` Avi Kivity
2007-09-10  3:03 VictorLai
2007-07-09  1:13 Compile error Zhao, Yunfeng
     [not found] ` <10EA09EFD8728347A513008B6B0DA77A01B8F5C9-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-09  7:02   ` Avi Kivity
2007-06-28  3:26 debug and breakpoint interrupts handling? Jun Koi
     [not found] ` <fdaac4d50706272026r33a09fe5gf96d1e2827e3fa30-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-29  6:12   ` Compile error Dong, Eddie
     [not found]     ` <10EA09EFD8728347A513008B6B0DA77A01AE9AD9-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-07-01  9:35       ` Dor Laor
2007-06-01  5:22 compile error Zhao, Yunfeng
     [not found] ` <10EA09EFD8728347A513008B6B0DA77A01888A23-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-01  6:29   ` Avi Kivity
2006-09-05 18:20 Compile Error wei.li4
2005-10-12 11:28 compile error Stephan Böni
2005-08-27 11:29 James Harper
2005-08-27 11:51 ` Keir Fraser
2005-08-27 10:44 James Harper
2005-04-14 10:47 Jiang Jun-A21079
2004-07-24 15:55 Compile error Don Hughes
2004-07-25 15:27 ` Mark E. Donaldson
2004-03-18 12:29 compile error Mauro Stettler
2004-03-02  9:42 liu zixing
2004-03-02  9:52 ` David Woodhouse
2002-11-09  0:24 Compile error Indy500

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C06ABA.1070404@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.