首页 > 系统相关 >sstate目录改变,导致PetaLinux工程编译出现错误“dpkg-architecture: command not found”

sstate目录改变,导致PetaLinux工程编译出现错误“dpkg-architecture: command not found”

时间:2022-09-21 14:22:36浏览次数:77  
标签:hankf kr260 command architecture sstate graphviz dpkg

最近编译PetaLinux工程时,出现错误“dpkg-architecture: command not found”。
经过检查,最近移动了本地sstate目录。PetaLinux工程中的sstate的本地目录,已经不存在。
恢复本地sstate目录的位置后,清除工程,再编译,错误消失。
奇怪的是,已经有5200多个package已经编译成功。配置graphviz时,才有问题。

错误信息如下:

| /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found
| /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found
| Segmentation fault (core dumped)
| NOTE: The following config.log files may provide further information.
| NOTE: /proj/hankf/hankf/kr260/v221/kr260-221-bsp-orig-0919-peta/build/tmp/work/x86_64-linux/graphviz-native/2.44.1-r0/graphviz-2.44.1/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/proj/hankf/kr260/v221/kr260-221-bsp-orig-0919-peta/components/yocto/layers/meta-openembedded/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5272 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  virtual:native:/proj/hankf/kr260/v221/kr260-221-bsp-orig-0919-peta/components/yocto/layers/meta-openembedded/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project. Check the /proj/hankf/kr260/v221/kr260-221-bsp-orig-0919-peta/build/build.log file for more details...

标签:hankf,kr260,command,architecture,sstate,graphviz,dpkg
From: https://www.cnblogs.com/hankfu/p/16715454.html

相关文章