[OE-core] [dylan] 2 backports from master

Martin Jansa martin.jansa at gmail.com
Thu Jun 27 14:45:29 UTC 2013


Hi,

we talked about this one on IRC already, now I've also discussed them
with RP and he confirmed that the issue was there earlier, using it in
more places just made it more visible.

in this order:
http://git.openembedded.org/openembedded-core/commit?id=5853e0f482b22258c909268fe71673a29e31989b
http://git.openembedded.org/openembedded-core/commit?id=2f954a9a6932f1e6c564e7e7aacaac628a75eed7

I did couple of clean builds with them and haven't found any issue.
And with them backported I wasn't able to reproduce following issue anymore.

We're seeing it with Dylan release on host with very fast IO, so that's
probably why we're reporting it first.

If you want to backport only 2nd patch without 1st one, let me know and I'll
prepare and test such commit.

DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_populate_sysroot
DEBUG: Executing shell function sysroot_stage_all
DEBUG: Shell function sysroot_stage_all finished
DEBUG: Python function do_populate_sysroot finished
DEBUG: Executing python function do_qa_staging
NOTE: QA checking staging
DEBUG: Python function do_qa_staging finished
DEBUG: Executing python function sstate_task_postfunc
DEBUG: Staging files from /OE//work/armv7a-vfp-neon-oe-linux-gnueabi/sysvinit/2.88dsf-r11/sysroot-destdir to /OE//sysroots/MACHINE
DEBUG: Preparing tree /OE//work/armv7a-vfp-neon-oe-linux-gnueabi/sysvinit/2.88dsf-r11/sysroot-destdir for packaging at /OE//work/armv7a-vfp-neon-oe-linux-gnueabi/sysvinit/2.88dsf-r11/sstate-build-populate-sysroot/sysroot-destdir
ERROR: Error executing a python function in /OE//oe-core/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb:
CalledProcessError: Command 'cp -al /OE//work/armv7a-vfp-neon-oe-linux-gnueabi/sysvinit/2.88dsf-r11/sysroot-destdir/* /OE//work/armv7a-vfp-neon-oe-linux-gnueabi/sysvinit/2.88dsf-r11/sstate-build-populate-sysroot/sysroot-destdir' returned non-zero exit status 1 with output cp: cannot create directory `/OE//work/armv7a-vfp-neon-oe-linux-gnueabi/sysvinit/2.88dsf-r11/sstate-build-populate-sysroot/sysroot-destdir/usr/share': File exists
cp: cannot create directory `/OE//work/armv7a-vfp-neon-oe-linux-gnueabi/sysvinit/2.88dsf-r11/sstate-build-populate-sysroot/sysroot-destdir/usr/include': File exists
 
 
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 "/OE//oe-core/meta/lib/oe/path.py", line 94, in copyhardlinktree
ERROR:     check_output(cmd, shell=True, stderr=subprocess.STDOUT)
ERROR:
ERROR:   File "/OE//oe-core/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]
DEBUG: Python function sstate_task_postfunc finished
ERROR: Function failed: sstate_task_postfunc

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130627/4744d5c6/attachment-0002.sig>


More information about the Openembedded-core mailing list