我正在尝试使用 yocto 生成 SDK。
硬件:x64
通用元英特尔层
图像:核心图像最小。
我在 conf 文件中启用了 multilib 以支持 32 位库。
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
当我运行以下命令时:bitbake -c populate_sdk core-image-minimal
,在最后阶段出现以下错误。
The following packages have unmet dependencies:
lib32-packagegroup-core-standalone-sdk-target : Depends: lib32-glibc-gconv-cp1252 but it is not installable
Depends: lib32-glibc-gconv-ibm850 but it is not installable
Depends: lib32-glibc-gconv-iso8859-1 but it is not installable
Depends: lib32-glibc-gconv-iso8859-15 but it is not installable
Depends: lib32-glibc-localedata-i18n but it is not installable
Depends: lib32-libatomic-dev but it is not installable
Depends: lib32-libatomic1 but it is not installable
Depends: lib32-libc6 but it is not installable
Depends: lib32-libc6-dbg but it is not installable
Depends: lib32-libc6-dev but it is not installable
Depends: lib32-libc6-thread-db but it is not installable
Depends: lib32-libc6-utils but it is not installable
Depends: lib32-libgcc-s-dev but it is not installable
Depends: lib32-libgcc1 but it is not installable
Depends: lib32-libsegfault but it is not installable
Depends: lib32-libstdc++-dev but it is not installable
Depends: lib32-libstdc++6 but it is not installable
Recommends: lib32-libssp-dev but it is not installable
Recommends: lib32-libssp0 but it is not installable
E: Unable to correct problems, you have held broken packages.
ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
我该如何解决这个错误。我在 yocto 邮件列表中看到类似的帖子..
https://lists.yoctoproject.org/pipermail/yocto/2017-October/038338.html
感谢您的宝贵时间。感谢您的努力。
最佳答案
我的一位同事通过像这样更改 conf/local.conf
解决了这个问题:
# packaging
PACKAGE_CLASSES ?= "package_ipk"
#PACKAGE_CLASSES ?= "package_deb package_ipk"
看来 package_deb 是问题的一部分。
当然,它留下的问题与它回答的问题一样多,但也许足以让您克服当前障碍。
关于linux - 启用 multilib 时 populate_sdk 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52762514/