* The problem of MULTILIB in poky
@ 2012-08-10 6:59 Wangdawei
2012-08-10 17:47 ` Paul Eggleton
0 siblings, 1 reply; 2+ messages in thread
From: Wangdawei @ 2012-08-10 6:59 UTC (permalink / raw)
To: poky
[-- Attachment #1.1: Type: text/plain, Size: 1254 bytes --]
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 ?
Best Regards
kyle sivan
Huawei Technologies Co., Ltd.
cell phone: +86-18665326540
(Office) 755-28384495
sivan.wang@huawei.com<mailto:sivan.wang@huawei.com>
[cid:image003.png@01CD7708.B1D08950]
[-- Attachment #1.2: Type: text/html, Size: 8370 bytes --]
[-- Attachment #2: image003.png --]
[-- Type: image/png, Size: 6069 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The problem of MULTILIB in poky
2012-08-10 6:59 The problem of MULTILIB in poky Wangdawei
@ 2012-08-10 17:47 ` Paul Eggleton
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2012-08-10 17:47 UTC (permalink / raw)
To: Wangdawei; +Cc: poky
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-10 17:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-10 6:59 The problem of MULTILIB in poky Wangdawei
2012-08-10 17:47 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.