* qa_staging failed with recipe which inherit sdk.bbclass
@ 2008-05-02 10:31 Julian
2008-05-05 17:02 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Julian @ 2008-05-02 10:31 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
Hi all,
I found that if there is a recipe which inherit sdk.bbclass, it always
fail in qa_staging.
for example, bitbake gdb-cross-sdk, the variables are
STAGING_LIBDIR=${STAGING_DIR_HOST}${layout_libdir}
STAGING_DIR_HOST=${STAGING_DIR}/${HOST_SYS}
HOST_SYS=${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}
in sdk.bbclass, I saw
HOST_ARCH = "${BUILD_ARCH}"
in my case, qa_staging will test ${STAGING_DIR}/i686-linux
However, the .pc files placed in ${STAGING_DIR}/i686-linux were made by
another recipe which inherit native.bbclass. the .pc file contains
${TMPDIR} (ie.
prefix=/home/walkingice/OpenMoko/build/tmp/staging/i686-linux/usr)
Finally, it could not pass qa_staging.
How can I solve this problem ?
Thanks :-)
-Julian
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 265 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: qa_staging failed with recipe which inherit sdk.bbclass
2008-05-02 10:31 qa_staging failed with recipe which inherit sdk.bbclass Julian
@ 2008-05-05 17:02 ` Richard Purdie
0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2008-05-05 17:02 UTC (permalink / raw)
To: openembedded-devel
Hi,
On Fri, 2008-05-02 at 18:31 +0800, Julian wrote:
> I found that if there is a recipe which inherit sdk.bbclass, it always
> fail in qa_staging.
>
> for example, bitbake gdb-cross-sdk, the variables are
>
> STAGING_LIBDIR=${STAGING_DIR_HOST}${layout_libdir}
> STAGING_DIR_HOST=${STAGING_DIR}/${HOST_SYS}
> HOST_SYS=${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}
>
> in sdk.bbclass, I saw
>
> HOST_ARCH = "${BUILD_ARCH}"
>
> in my case, qa_staging will test ${STAGING_DIR}/i686-linux
> However, the .pc files placed in ${STAGING_DIR}/i686-linux were made by
> another recipe which inherit native.bbclass. the .pc file contains
> ${TMPDIR} (ie.
> prefix=/home/walkingice/OpenMoko/build/tmp/staging/i686-linux/usr)
>
> Finally, it could not pass qa_staging.
>
> How can I solve this problem ?
This happens when your BUILD_ARCH and your TARGET_ARCH are the same and
its a known issue. Previously Poky worked around this by setting
HOST_VENDOR to TARGET_VENDOR but that causes subtle problems with the
toolchain building (it becomes a Canadian Cross).
I made a change in Poky recently to sdk.bbclass which will probably
help, I'll sync that to OE...
Regards,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: qa_staging failed with recipe which inherit sdk.bbclass
[not found] <mailman.7.1210068010.31555.openembedded-devel@lists.openembedded.org>
@ 2008-05-07 10:39 ` Julian
0 siblings, 0 replies; 3+ messages in thread
From: Julian @ 2008-05-07 10:39 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
> Date: Mon, 05 May 2008 18:02:41 +0100
> From: Richard Purdie <rpurdie@rpsys.net>
> Subject: Re: [oe] qa_staging failed with recipe which inherit
> sdk.bbclass
> To: openembedded-devel@openembedded.org
> Message-ID: <1210006961.5113.25.camel@dax.rpnet.com>
> Content-Type: text/plain
>
> This happens when your BUILD_ARCH and your TARGET_ARCH are the same and
> its a known issue. Previously Poky worked around this by setting
> HOST_VENDOR to TARGET_VENDOR but that causes subtle problems with the
> toolchain building (it becomes a Canadian Cross).
>
> I made a change in Poky recently to sdk.bbclass which will probably
> help, I'll sync that to OE...
>
> Regards,
>
> Richard
Hi ,
I got the change and modify sdk.bbclass by hand before I propogate from oe.
Now I build gdb-cross-sdk successfully.
Thanks :-)
-Julian
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 265 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-07 10:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 10:31 qa_staging failed with recipe which inherit sdk.bbclass Julian
2008-05-05 17:02 ` Richard Purdie
[not found] <mailman.7.1210068010.31555.openembedded-devel@lists.openembedded.org>
2008-05-07 10:39 ` Julian
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.