查看: 3831|回复: 2

[求助] imx8 mini yocto构建fsl-image-qt5时报错

[复制链接]

该用户从未签到

1

主题

2

帖子

0

新手上路

Rank: 1

积分
13
最后登录
2020-1-14
发表于 2020-1-13 13:50:14 | 显示全部楼层 |阅读模式
具体报错信息如下:
ERROR gstreamer1.0-plugins-base-1.14.4.imx-r0 do_prepare_recipe_sysroot Error executing a python function in exec_python_func() autogenerated

The stack trace of python calls that resulted in this exceptionfailure was
File 'exec_python_func() autogenerated', lineno 2, function module
     0001
  0002extend_recipe_sysroot(d)
     0003
File 'homezhiweiMYD-C8MMX-develMYIR-Yocto-i.MX8MMsourcespokymetaclassesstaging.bbclass', lineno 545, function extend_recipe_sysroot
     0541                    dest = newmanifest[l]
     0542                    if l.endswith()
     0543                        staging_copydir(l, targetdir, dest, seendirs)
     0544                        continue
  0545                    staging_copyfile(l, targetdir, dest, postinsts, seendirs)
     0546
     0547    bb.note(Installed into sysroot %s % str(msg_adding))
     0548    bb.note(Skipping as already exists in sysroot %s % str(msg_exists))
     0549
File 'homezhiweiMYD-C8MMX-develMYIR-Yocto-i.MX8MMsourcespokymetaclassesstaging.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 'homezhiweiMYD-C8MMX-develMYIR-Yocto-i.MX8MMbuild_8m_minitmpsysroots-componentsalliso-codessysroot-providersiso-codes' - 'homezhiweiMYD-C8MMX-develMYIR-Yocto-i.MX8MMbuild_8m_minitmpworkaarch64-mx8mm-poky-linuxgstreamer1.0-plugins-base1.14.4.imx-r0recipe-sysrootsysroot-providersiso-codes'

ERROR gstreamer1.0-plugins-base-1.14.4.imx-r0 do_prepare_recipe_sysroot Function failed extend_recipe_sysroot
ERROR Logfile of failure stored in homezhiweiMYD-C8MMX-develMYIR-Yocto-i.MX8MMbuild_8m_minitmpworkaarch64-mx8mm-poky-linuxgstreamer1.0-plugins-base1.14.4.imx-r0templog.do_prepare_recipe_sysroot.3550
ERROR Task (homezhiweiMYD-C8MMX-develMYIR-Yocto-i.MX8MMsourcesmeta-myirmeta-myir-bsprecipes-multimediagstreamergstreamer1.0-plugins-base_1.14.imx.bbdo_prepare_recipe_sysroot) failed with exit code '1'


我本以为是Python版本不对,尝试替换/usr/bin下的python未能解决,请大佬们协助一下。谢谢。
我知道答案 目前已有2人回答
回复

使用道具 举报

该用户从未签到

20

主题

809

帖子

1

超级版主

Rank: 8Rank: 8

积分
1566
最后登录
2023-1-17
发表于 2020-1-15 10:47:51 | 显示全部楼层
本帖最后由 小智MM 于 2020-2-11 10:54 编辑

请问你这里使用的是哪块板子?哪个版本的BSP?
回复 支持 反对

使用道具 举报

该用户从未签到

2

主题

108

帖子

0

中级会员

Rank: 3Rank: 3

积分
281
最后登录
2020-9-10
发表于 2020-1-15 18:02:24 | 显示全部楼层
你构建的yocto是那个版本?有按照对应的yocto project配置Ubuntu环境吗?替换的Python有达到该yocto对应的最低Python版本要求吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-7-21 03:59 , Processed in 0.088103 second(s), 23 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表