我正在尝试使用yocto生成SDK。
硬件:x64
通用元知识层
图像:core-image-minimal。
我在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是问题的一部分。
当然,它会留下尽可能多的问题,但也许足以让你超越当前的阻止。