The same error happens, unfortunately. It seems to be recipe
glibc-initial whose sysroot is populated twice.
This is the full error message:
ERROR: test-swu-image-1.0-r0 do_populate_sysroot: 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:
'/home/florian/devel/test-os/build_a/../poky/meta/classes/staging.bbclass',
lineno: 623, function: extend_recipe_sysroot
0619: dest = newmanifest[l]
0620: if l.endswith("/"):
0621: staging_copydir(l, targetdir, dest,
seendirs)
0622: continue
*** 0623: staging_copyfile(l, targetdir, dest,
postinsts, seendirs)
0624:
0625: for f in fixme:
0626: if f == '':
0627: staging_processfixme(fixme[f], recipesysroot,
recipesysroot, recipesysrootnative, d)
File:
'/home/florian/devel/test-os/build_a/../poky/meta/classes/staging.bbclass',
lineno: 269, function: staging_copyfile
0265: os.symlink(linkto, dest)
0266: #bb.warn(c)
0267: else:
0268: try:
*** 0269: os.link(c, dest)
0270: except OSError as err:
0271: if err.errno == errno.EXDEV:
0272: bb.utils.copyfile(c, dest)
0273: else:
Exception: FileExistsError: [Errno 17] File exists:
'/home/florian/devel/test-os/build_a/tmp-glibc/sysroots-components/corei7-64/glibc-initial/usr/include/pthread.h'
->
'/home/florian/devel/test-os/build_a/tmp-glibc/work/a-oe-linux/test-swu-image/1.0-r0/recipe-sysroot/usr/include/pthread.h'
ERROR: test-swu-image-1.0-r0 do_populate_sysroot: Function failed:
extend_recipe_sysroot
ERROR: Logfile of failure stored in:
/home/florian/devel/test-os/build_a/tmp-glibc/work/a-oe-linux/test-swu-image/1.0-r0/temp/log.do_populate_sysroot.14673
ERROR: Task
(/home/florian/devel/test-os/build_a/../meta-javox/meta-test/recipes-extended/images/test-swu-image.bb:do_populate_sysroot)
failed with exit code '1'
Regards,
Florian