[OE-core] kernel build fail after update
ChenQi
Qi.Chen at windriver.com
Wed Nov 20 04:32:32 UTC 2013
I met the same error when I inherited 'rm_work' in local.conf and
performed a world build.
This is reproducible with the latest code.
1. add in local.conf
INHERIT += "rm_work"
2. bitbake world
//Chen Qi
On 11/19/2013 07:21 AM, Yi Qingliang wrote:
> after update poky, I got error when compile my own kernel, it looks like there
> is no directory '/mnt/src/kl360-build/tmp/work/kl360-jilong-linux-
> gnueabi/linux-jilong/3.9.4-gitAUTOINC+5dbff4f559/image'.
>
> in my bb file, I only inherit kernel.
>
> I found one patch 'Use hardlinks for do_populate_sysroot for speed' may be
> related with this error.
>
>
>
>
>
> ERROR: Error executing a python function in /mnt/src/optimus/poky/../meta-
> jilong/recipes-kernel/linux/linux-jilong.bb:
>
> The stack trace of python calls that resulted in this exception/failure was:
> File: 'sysroot_stage_all', lineno: 6, function: <module>
> 0002:def sysroot_stage_all(d):
> 0003: oe.path.copyhardlinktree(d.expand("/mnt/src/kl360-
> build/tmp/work/kl360-jilong-linux-gnueabi/linux-jilong/3.9.4-
> gitAUTOINC+5dbff4f559/image/usr/src/kernel"), d.expand("/mnt/src/kl360-
> build/tmp/work/kl360-jilong-linux-gnueabi/linux-jilong/3.9.4-
> gitAUTOINC+5dbff4f559/sysroot-destdir//usr/src/kernel"))
> 0004:
> 0005:
> *** 0006:sysroot_stage_all(d)
> 0007:
> File: 'sysroot_stage_all', lineno: 3, function: sysroot_stage_all
> 0001:
> 0002:def sysroot_stage_all(d):
> *** 0003: oe.path.copyhardlinktree(d.expand("/mnt/src/kl360-
> build/tmp/work/kl360-jilong-linux-gnueabi/linux-jilong/3.9.4-
> gitAUTOINC+5dbff4f559/image/usr/src/kernel"), d.expand("/mnt/src/kl360-
> build/tmp/work/kl360-jilong-linux-gnueabi/linux-jilong/3.9.4-
> gitAUTOINC+5dbff4f559/sysroot-destdir//usr/src/kernel"))
> 0004:
> 0005:
> 0006:sysroot_stage_all(d)
> 0007:
> File: '/mnt/src/optimus/poky/meta/lib/oe/path.py', lineno: 93, function:
> copyhardlinktree
> 0089: bb.utils.mkdirhier(dst)
> 0090: if os.path.isdir(src) and not len(os.listdir(src)):
> 0091: return
> 0092:
> *** 0093: if (os.stat(src).st_dev == os.stat(dst).st_dev):
> 0094: # Need to copy directories only with tar first since cp will
> error if two
> 0095: # writers try and create a directory at the same time
> 0096: cmd = 'cd %s; find . -type d -print | tar -cf - -C %s -p --
> files-from - --no-recursion | tar -xf - -C %s' % (src, src, dst)
> 0097: check_output(cmd, shell=True, stderr=subprocess.STDOUT)
> Exception: OSError: [Errno 2] No such file or directory: '/mnt/src/kl360-
> build/tmp/work/kl360-jilong-linux-gnueabi/linux-jilong/3.9.4-
> gitAUTOINC+5dbff4f559/image/usr/src/kernel'
>
> ERROR: Function failed: sysroot_stage_all
> ERROR: Logfile of failure stored in: /mnt/src/kl360-build/tmp/work/kl360-
> jilong-linux-gnueabi/linux-jilong/3.9.4-
> gitAUTOINC+5dbff4f559/temp/log.do_populate_sysroot.5146
> ERROR: Task 3 (/mnt/src/optimus/poky/../meta-jilong/recipes-
> kernel/linux/linux-jilong.bb, do_populate_sysroot) failed with exit code '1'
>
>
More information about the Openembedded-core
mailing list