[yocto] populate sdk fails when multilib enabled

Ferry Toth ftoth at telfort.nl
Sun Oct 8 13:37:19 PDT 2017


When I build for x86_64 I found I needed to enable multilib to be able to 
build u-boot (actually lib32_u-boot). U-boot now builds.

However 'bitbake edison-image -c populate_sdk' now errors with
Build Configuration: 
BB_VERSION        = "1.32.0" 
BUILD_SYS         = "x86_64-linux" 
NATIVELSBSTRING   = "universal" 
TARGET_SYS        = "x86_64-poky-linux" 
MACHINE           = "edison" 
DISTRO            = "poky-edison" 
DISTRO_VERSION    = "2.2.2" 
TUNE_FEATURES     = "m64 core2"

The following packages have unmet dependencies:
 lib32-packagegroup-core-standalone-sdk-target : 
	Depends: lib32-glibc but it is not installable
	Depends: lib32-glibc-dbg but it is not installable
	Depends: lib32-glibc-dev but it is not installable
	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-glibc-thread-db but it is not installable
	Depends: lib32-glibc-utils but it is not installable
	Depends: lib32-libatomic but it is not installable
	Depends: lib32-libatomic-dev but it is not installable
	Depends: lib32-libgcc but it is not installable
	Depends: lib32-libgcc-dev but it is not installable
	Depends: lib32-libsegfault but it is not installable
	Depends: lib32-libstdc++ but it is not installable
	Depends: lib32-libstdc++-dev but it is not installable
E: Unable to correct problems, you have held broken packages.


Other than u-boot I am not building any lib32- packages. In my image recipy 
I have:
EXTRA_IMAGEDEPENDS += "lib32-u-boot"

In my conf file I have:
#multilib
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "core2-32"
IMAGE_INSTALL_append = " lib32-libgcc"

Both lib32-packagegroup-core-standalone-sdk-target and packagegroup-core-
standalone-sdk-target can be found under deploy/deb/all, the packages should 
probably be under deploy/deb/core2-32. Some are there, some I don't 
recognize, but I have not idea why there are not installable.

Does anybody know what's wrong here? Is there a bug in the lib32 package 
group?

Is there a way I can prevent this package group from being installed in the 
sdk?

Thanks in advance!

-- 
Ferry Toth





More information about the yocto mailing list