This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/AM3358:构建 Yocto 使 do-rootfs 失败

Guru**** 2007970 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/577042/linux-am3358-build-yocto-fails-do-rootfs

器件型号:AM3358

工具/软件:Linux

我正在尝试在原生 Ubuntu 14.04上构建新映像

克隆了 git repo

已将其克隆到另一个(git 克隆) 以进行更改

编译以下列内容结束:

(删除了大量内容)

|配置 packagegroup-arago-base。
|配置 openssl 引擎。
|配置 packagegroup-arago-tisdk-crypto。
|
|注:安装辅助软件包...
|注意:运行['/home/dig/ti/myrsdk/sources/oe-core/scripts/oe-pkgdata-util、'-p、'/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/pkgdata、'glob'、'/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/installed_pkgs.txt、 ''
|注意:运行 intercept 脚本:
|注:>正在执行 update_font_cache intercept ...
| FC_debug=1
|[/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/rootfs /usr/share/fonts:跳过、现有高速缓存有效:0种字体、1种方向
|[/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/rootfs /usr/share/fonts/ttf:跳过、现有高速缓存有效:12种字体、0种方向
|重新扫描[/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/rootfs /usr/share/fonts:缓存、新缓存内容:0种字体、1种方向
|/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/rootfs /var/cache/fontconfig:清理缓存目录
|/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/rootfs/usr/bin/fc-cache:成功
|注意:>正在执行 update_gio_module_cache 截取...
|注意:正在执行 WRITE_PACKAGE_NOST...
|调试:执行 python 函数 write_package_manifest
|调试:Python 函数 WRITE_PACKAGE_F清单 已完成
|注意:正在执行 license_create_manifest ...
|调试:执行 python 函数 license_create_manifest
|警告:所列的 GPLv3+许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:中列出的许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:所列 GCC 的许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:列出的 RLE 许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:所列的 GPLv3+许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:中列出的许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:所列 GCC 的许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:列出的 RLE 许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:所列的 GPLv3+许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:中列出的许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:所列 GCC 的许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:列出的 RLE 许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:所列的 GPLv3+许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:中列出的许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:所列 GCC 的许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|警告:列出的 RLE 许可证不在为配方 extern-linaro-toolchain 收集的许可证中
|调试:Python 函数 license_create_manifest 已完成
|注意:正在执行 make_bootfiles_symlinks_relative ...
|调试:执行 shell 函数 make_bootfiles_symlinks_relative
|/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/temp/run.make_bootfiles_symlinks_relative.4160:114:/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/temp/run.make_bootfiles_symlinks_relative.4160:错误替代
|警告:从 shell 命令中退出代码2。
|调试:Python 函数 do_rootfs 已完成
|错误:函数失败:make_bootfiles_symlinks_relative (日志文件位于/home/dig/ti/myrsdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/tisdk-rootfs-image/1.0-r0.tisdk1/temp/log.do_rootfs.4160)
错误:任务10 (/home/dig/ti/myrsdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb、do_rootfs)失败、退出代码为"1"
注:任务摘要:已尝试6243个任务、其中6242不需要重新运行、1个任务失败。
当前无正在运行的任务(5205,共6249个)

这是否由副本引起?

此操作占用100GB 磁盘空间。 我的分区上没有剩余的此数量,无法在原始源代码中再次尝试。

数字

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 Dig:

    请将 Ubuntu 的默认终端更改为 bash。

    $ sudo dpkg-reconfigure dash
    (提示时选择"no"(否))

    此致、
    Kemal
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好、Kemal

    Bash 已经是我的终端 shell。

    数字

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您能否发布此命令的反馈?
    $ readlink -f $(该 sh)
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你(们)好、Kemal
    您建议与以下人会面:

    请将 Ubuntu 的默认终端更改为 bash。

    $ sudo dpkg-reconfigure dash
    由于我从未听说过破折号(除了作为洗涤粉),我执行了$ sudo dpkg-reconfigure bash:获得未知命令。 “echo $0”:获得了 bash。 readlink 命令还提供了 bash。 后来我尝试了$ sudo dpkg-reconfigure dash:获得了 promt!。 但 readlink 仍然提供 bash 而不是 dash。 ?? 我应该得到破折号而不是 bash 吗? 尝试了另一个版本:工作正常! 所以我认为这种糟糕的 Linux 是为了混淆俄罗斯人。
    但不管怎样工作。 谢谢!