| Summary: |
do_image_wic: fails when rm_work is active |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
brian avery <brian.avery> |
| Component: |
Scripts and Tools | Assignee: |
Ed Bartosh <eduard.bartosh> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium+
|
CC: |
randy.macleod, ross.burton
|
| Version: |
2.4 | |
|
| Target Milestone: |
2.3 M4 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
add the following to local.conf: IMAGE_FSTYPES+= " wic tar.bz2 " INHERIT += " rm_work " get error like: ERROR: core-image-minimal-1.0-r0 do_image_wic: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: <module> 0001: *** 0002:extend_recipe_sysroot(d) 0003: File: '/big/src/myBugs/poky/meta/classes/staging.bbclass', lineno: 592, function: extend_recipe_sysroo$ 0588: dest = newmanifest[l] 0589: if l.endswith("/"): 0590: staging_copydir(l, targetdir, dest, seendirs) 0591: continue *** 0592: staging_copyfile(l, targetdir, dest, postinsts, seendirs) 0593: 0594: for f in fixme: 0595: if f == '': 0596: staging_processfixme(fixme[f], recipesysroot, recipesysroot, recipesysrootnative$ d) File: '/big/src/myBugs/poky/meta/classes/staging.bbclass', lineno: 233, function: staging_copyfile 0229: os.symlink(linkto, dest) 0230: #bb.warn(c) 0231: else: 0232: try: *** 0233: os.link(c, dest) 0234: except OSError as err: 0235: if err.errno == errno.EXDEV: 0236: bb.utils.copyfile(c, dest) 0237: else: Exception: FileExistsError: [Errno 17] File exists: '/big/src/myBugs/RUN/PSEUDO-NATIVE/build/tmp/sysro$ ts-components/i586/glibc-initial/usr/lib/crtn.o' -> '/big/src/myBugs/RUN/PSEUDO-NATIVE/build/tmp/work/$ emux86-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/usr/lib/crtn.o' ERROR: core-image-minimal-1.0-r0 do_image_wic: Function failed: extend_recipe_sysroot ERROR: Logfile of failure stored in: /big/src/myBugs/RUN/PSEUDO-NATIVE/build/tmp/work/qemux86-poky-linu x/core-image-minimal/1.0-r0/temp/log.do_image_wic.33444 ERROR: Task (/big/src/myBugs/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_wic) failed w ith exit code '1' NOTE: Tasks Summary: Attempted 3186 tasks of which 2487 didn't need to be rerun and 1 failed.