NXP MCU 技术论坛
直播中

张敏

8年用户 1664经验值
私信 关注
[问答]

7ulp imx-yocto-L5.10.52_2.1.0构建失败的原因?怎么解决?

我正在用 7ulp evk 移植 imx-yocto-L5.10.52_2.1.0。
从上周五开始,在构建yocto时,出现如下错误提示,构建失败。
5.10.52_2.1.0 中 yocto 用户指南文档的链接也是如此。

  • 如果您知道解决方案,请分享。
看里面的内容,都是qt5相关的。

================================================ ===============
警告:qtbase-native-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch:无法获取 URL git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.15.2;protocol=git , 如果可用则尝试 MIRRORS
警告:qtdeclarative-native-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch:无法获取 URL git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.15。 2;协议=git,如果可用则尝试镜像
错误:qtdeclarative-native-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch:Fetcher 失败:即使来自上游 ERR,也无法在分支 5.15.2 中找到修订版 104eae5b17b0ec700391e9539ee3a4f638588194或者:qtdeclarative-native-
5.15 .2+gitAUTOINC+104eae5b17-r0 do_fetch:URL 的 Fetcher 失败:'git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.15.2;protocol=git'。无法从任何来源获取 URL。
错误:失败日志文件存储在:/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/buildhalo/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0 /temp/log.do_fetch.1672358
错误:任务(虚拟:本机:/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb :do_fetch) 失败,退出代码为“1”
警告:qtdeclarative-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch:无法获取 URL git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch = 5.15.2; stoloption = git,如果可用
错误,请尝试镜像:qtdeclarative-5.15.2+gitautoinc+104EAE5B17-r0 do_fetch:fetcher失败:无法找到修订104EAE5B17B17B17B0EC700391E9539EE39EE39EE3A4F63888888888888888888888888888888888888888888888888888888888888 in 5.11222.22.2222.2222.2222222522.
错误:qtdeclarative-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch:URL 的 Fetcher 失败:'git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.15.2;protocol=git '. 无法从任何来源获取 URL。
错误:失败日志文件存储在:/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/buildhalo/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/qtdeclarative/5.15.2+gitAUTOINC +104eae5b17-r0/temp/log.do_fetch.1689244
错误:任务(/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb :do_fetch) 失败,退出代码为“1”
错误:qtbase-native-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch: Fetcher failure: 甚至从上游也无法在分支 5.15.2 中找到修订版 40143c189b7c1bf3c2058b77d00ea5c4e3be8b28
错误:qtbase-native-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch:URL 的 Fetcher 失败:'git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.15.2;protocol =git'。无法从任何来源获取 URL。
错误:故障日志文件存储在:/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/buildhalo/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0 /temp/log.do_fetch.1615753
错误:任务(/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch ) 失败,退出代码为“1”
警告:qtbase-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch:无法获取 URL git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.15 .2;protocol=git,如果可用则尝试 MIRRORS
错误:qtbase-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch:Fetcher 失败:即使来自上游,也无法在分支 5.15.2 中找到修订版 40143c189b7c1bf3c2058b77d00ea5c4e3be8b28 错误:qtbase-5.15.2+gitAUTOINC +40143c189b-r0 do_fetch:URL 的提取程序
失败: 'git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.15.2;protocol=git'。无法从任何来源获取 URL。
错误:故障日志文件存储在:/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/buildhalo/tmp/work/cortexa7t2hf-neon-mx7ulp-poky-linux-gnueabi/qtbase/5.15.2 +gitAUTOINC+40143c189b-r0/temp/log.do_fetch.1630035
错误:任务(/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/sources/meta-qt5/recipes-qt/qt5/qtbase_git .bb:do_fetch) 失败,退出代码为“1”
注意:任务摘要:尝试了 1576 个任务,其中 0 个不需要重新运行,4 个失败。














































回帖(1)

王磊

2024-1-8 11:25:47
根据错误提示,构建失败是因为无法拉取git仓库中的qt5相关软件包。这可能是由于网络连接不稳定或镜像源配置错误导致的。可以尝试以下解决方法:

1. 确认网络连接正常,尝试重新运行构建命令。

2. 检查yocto构建环境的镜像源配置是否正确,如果有问题,可以修改为稳定可靠的镜像源。

3. 尝试手动下载qt5相关软件包并将其复制到yocto构建环境中,然后重新运行构建命令。具体步骤如下:

   a. 打开一个浏览器,访问git仓库的网址,手动下载软件包。

   b. 将下载的软件包复制到yocto构建环境中的downloads文件夹中。

   c. 运行bitbake命令重新构建。

4. 如果以上方法都不能解决问题,可以尝试使用其他版本的qt5软件包进行构建。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分