Fixed
Created: Oct 23, 2017
Updated: Mar 4, 2019
Resolved Date: Apr 11, 2018
Found In Version: 10.17.41.1
Fix Version: 10.17.41.5
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config
$...wrlinux-x/setup.sh --machines=qemux86-64 --kernel=standard --dl-layers
$source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
Set multilib to lib32
$ bitbake lib32-wrlinux-image-glibc-std-sato
$ bitbake lib32-wrlinux-image-glibc-std-sato -c populate_sdk_ext
The failure appeared while building esdk with lib32 image.
Maybe could refer to LIN10-2116, but this error is the different one.
... ...
ERROR: lib32-wrlinux-image-glibc-std-sato-1.0-r1 do_sdk_depends: 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: '/tools/10231312-eSDK/qemux86-64-standard-glibc-std-sato-lib32-OE/layers/oe-core/meta/classes/staging.bbclass', lineno: 575, function: extend_recipe_sysroot
0571: dest = newmanifest[l]
0572: if l.endswith("/"):
0573: staging_copydir(l, targetdir, dest, seendirs)
0574: continue
*** 0575: staging_copyfile(l, targetdir, dest, postinsts, seendirs)
0576:
0577: bb.note("Installed into sysroot: %s" % str(msg_adding))
0578: bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
0579:
File: '/tools/10231312-eSDK/qemux86-64-standard-glibc-std-sato-lib32-OE/layers/oe-core/meta/classes/staging.bbclass', lineno: 151, function: staging_copyfile
0147: os.symlink(linkto, dest)
0148: #bb.warn(c)
0149: else:
0150: try:
*** 0151: os.link(c, dest)
0152: except OSError as err:
0153: if err.errno == errno.EXDEV:
0154: bb.utils.copyfile(c, dest)
0155: else:
Exception: FileExistsError: [Errno 17] File exists: '/tools/10231312-eSDK/qemux86-64-standard-glibc-std-sato-lib32-OE/build/tmp-glibc/sysroots-components/core2-64/libfastjson/usr/lib64/libfastjson.so.4.0.0' -> '/tools/10231312-eSDK/qemux86-64-standard-glibc-std-sato-lib32-OE/build/tmp-glibc/work/qemux86_64-wrsmllib32-linux/lib32-wrlinux-image-glibc-std-sato/1.0-r1/lib32-recipe-sysroot/usr/lib64/libfastjson.so.4.0.0'
$...wrlinux-x/setup.sh --machines=qemux86-64 --kernel=standard --dl-layers
$source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
Set multilib to lib32
$ bitbake lib32-wrlinux-image-glibc-std-sato
$ bitbake lib32-wrlinux-image-glibc-std-sato -c populate_sdk_ext