Hi there,
I try to build i.MX release L4.19.35_1.0.0 yocto project for multiple times and alway met below issues.
can you pls help point out the resason ? thanks a lot.
build cmd: bitbake fsl-image-validation-imx
there are lots of do_package issue:
ERROR: freetype-2.9.1-r0 do_package: 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: '/data/cloud.fu/3/sources/poky/meta/classes/staging.bbclass', lineno: 553, function: extend_recipe_sysroot
0549: dest = newmanifest[l]
0550: if l.endswith("/"):
0551: staging_copydir(l, targetdir, dest, seendirs)
0552: continue
*** 0553: staging_copyfile(l, targetdir, dest, postinsts, seendirs)
0554:
0555: bb.note("Installed into sysroot: %s" % str(msg_adding))
0556: bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
0557:
File: '/data/cloud.fu/3/sources/poky/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: OSError: [Errno 31] Too many links: '/data/cloud.fu/3/build-wayland/tmp/sysroots-components/x86_64/ncurses-native/usr/share/terminfo/6/6053-dg' -> '/data/cloud.fu/3/build-wayland/tmp/work/aarch64-poky-linux/freetype/2.9.1-r0/recipe-sysroot-native/usr/share/terminfo/6/6053-dg'
ERROR: libpng-1.6.36-r0 do_package: 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: '/data/cloud.fu/3/sources/poky/meta/classes/staging.bbclass', lineno: 553, function: extend_recipe_sysroot
0549: dest = newmanifest[l]
0550: if l.endswith("/"):
0551: staging_copydir(l, targetdir, dest, seendirs)
0552: continue
*** 0553: staging_copyfile(l, targetdir, dest, postinsts, seendirs)
0554:
0555: bb.note("Installed into sysroot: %s" % str(msg_adding))
0556: bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
0557:
File: '/data/cloud.fu/3/sources/poky/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: OSError: [Errno 31] Too many links: '/data/cloud.fu/3/build-wayland/tmp/sysroots-components/x86_64/ncurses-native/usr/share/terminfo/6/6053-dg' -> '/data/cloud.fu/3/build-wayland/tmp/work/aarch64-poky-linux/libpng/1.6.36-r0/recipe-sysroot-native/usr/share/terminfo/6/6053-dg'
........
Hello cloudfu,
Appears that you host does not have the python version the yocto need, please download python.
Regards