qt4.7.0 : QA problem : Architecture did not match
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
recipes/qt4/qt-4.7.0.inc +4 -4
@@ -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} }
2010/10/24 Eric Bénard <[email protected]>:
Quoted 43 lines
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'
failedThe 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,
Ericrecipes/qt4/qt-4.7.0.inc +0
-0@@ -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/lreleaserecipes/qt4/qt-4.7.0.inc +4
-0+# 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
Quoted 3 lines
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
Quoted 43 lines · Eric Bénard
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'
failedThe 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,
Ericrecipes/qt4/qt-4.7.0.inc +0
-0@@ -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/lreleaserecipes/qt4/qt-4.7.0.inc +4
-0+# 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
Quoted 2 lines
oe_runmake${EXTRA_ENV}
}
well may be a -native recipe should be written to package those bits.
Quoted 6 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 9 lines · Eric Bénard
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)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)?
I can only speculate right now. Maybe Qt insisted to builds its own version or didn't find the tools. You will need to rebuild qt4-embedded to see if it builds properly.
I can also take a look at this step later today.
Hi Holger,
Quoted 7 lines · Holger Freyther
Quoted 6 lines · Eric Bénard
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)
Quoted 8 lines
Quoted 3 lines
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)?
I can only speculate right now. Maybe Qt insisted to builds its own version or didn't find the tools. You will need to rebuild qt4-embedded to see if it builds properly.
I've rebuilt it and it builds fine this way.
Quoted 2 lines
I can also take a look at this step later today.
that would be greate, I won't be able to spend time on this today.
Thanks,
Eric
Hi Holger,
Quoted 19 lines · Eric Bénard
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/rccERROR: 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/mocERROR: 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/uicERROR: 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
Quoted 4 lines
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) ?
forget this problem, rebuilding from scratch don't show the issue so this problem was certainly coming from my tmp being in a bad state.
Eric