我正在尝试使用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 - 启用多重库后populate_sdk失败,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/52762514/

10-13 09:25