[oe] qt4.7.0 : QA problem : Architecture did not match

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sun Oct 24 20:51:23 UTC 2010


2010/10/24 Eric Bénard <eric at eukrea.com>:
> Hi,
>
> building qt4.7.0 using angstrom 2010.x for and armv5te leads to :
> ERROR: QA Issue with qt4-embedded-tools: Architecture did not match (40 to
> 3) on
> /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.0-r25.0/packages-split/qt4-embedded-tools/usr/bin/rcc
> ERROR: QA Issue with qt4-embedded-tools: Architecture did not match (40 to
> 3) on
> /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.0-r25.0/packages-split/qt4-embedded-tools/usr/bin/moc
> ERROR: QA Issue with qt4-embedded-tools: Architecture did not match (40 to
> 3) on
> /work/armv5te-angstrom-linux-gnueabi/qt4-embedded-4.7.0-r25.0/packages-split/qt4-embedded-tools/usr/bin/uic
> ERROR: Task 498
> (/home/ebenard/OEUKREA/openembedded/recipes/qt4/qt4-embedded_4.7.0.bb,
> do_package) failed with exit code '1'
> ERROR:
> '/home/ebenard/OEUKREA/openembedded/recipes/qt4/qt4-embedded_4.7.0.bb'
> failed
>
> The patch below (not cleaned if OK, I'll clean and push it) fix this
> problem, but why these installs were added to the 4.7.0.inc file (they are
> not present in 4.6.* and the recipe builds fine without) ?
>
> thanks,
> Eric
>
> diff --git a/recipes/qt4/qt-4.7.0.inc b/recipes/qt4/qt-4.7.0.inc
> index cf4b0d8..3004b92 100644
> --- a/recipes/qt4/qt-4.7.0.inc
> +++ b/recipes/qt4/qt-4.7.0.inc
> @@ -47,10 +47,10 @@ do_compile() {
>     fi
>
>     unset CFLAGS CXXFLAGS
> -    install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc
> -    install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc
> -    install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic
> -    install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease
> +#    install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc
> +#    install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc
> +#    install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic
> +#    install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease
>
>     oe_runmake ${EXTRA_ENV}
>  }
>

Hm, I' my no means a QT expert but copying files from staging to ${S}
seems at least fishy to me.
Then again you might want to discuss this with cbrake. He added the
lines (or perhaps the complete file) on sep 22.

Frans




More information about the Openembedded-devel mailing list