[poky] The problem of MULTILIB in poky

Paul Eggleton paul.eggleton at linux.intel.com
Fri Aug 10 10:47:01 PDT 2012


On Friday 10 August 2012 06:59:12 Wangdawei wrote:
> Hi
>          I have faced a problem about the MULTILIB in poky , that is I
> enable the MULTILIB in the local.conf like this: require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
> IMAGE_INSTALL = "lib32-connman"
> 
> And I have my own layer name meta-rtos. I set the layer.conf like this:
> # We have a conf and classes directory, add to BBPATH
> BBPATH := "${BBPATH}:${LAYERDIR}"
> 
> # We have a packages directory, add to BBFILES
> BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
>                                ${LAYERDIR}/recipes-*/*/*.bbappend"
> 
> BBFILE_COLLECTIONS += "rtos"
> BBFILE_PATTERN_rtos := "^${LAYERDIR}/"
> BBFILE_PRIORITY_rtos = "8"
> 
>          The problem is that I compile a package "bitbake lib32-ncurses" ,
> poky find the sourcecode from meta not from meta-rtos , because the version
> in meta-rtos is 5.7 the version in meta is 5.9 . So I want to know why the
> problem occur? Why the priority have no effect in MULTILIB ? Is there any
> problem of my configure file ?

It seems to me this is a bug - you can see it even with native/nativesdk 
versions of ncurses, so I suspect it applies to anything using BBCLASSEXTEND. 
I've filed a bug for this:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=2933

As a workaround you should be able to do the following:

PREFERRED_VERSION_lib32-ncurses = "5.7"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the poky mailing list