[oe] qa_staging failed with recipe which inherit sdk.bbclass

Julian julian_chu at openmoko.com
Fri May 2 10:31:29 UTC 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20080502/316c0da3/attachment-0002.sig>


More information about the Openembedded-devel mailing list