All of lore.kernel.org
 help / color / mirror / Atom feed
* qt4.7.0 : QA problem : Architecture did not match
@ 2010-10-24 20:42 Eric Bénard
  2010-10-24 20:51 ` Frans Meulenbroeks
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Eric Bénard @ 2010-10-24 20:42 UTC (permalink / raw)
  To: openembedded-devel

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}
  }



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: qt4.7.0 : QA problem : Architecture did not match
  2010-10-24 20:42 qt4.7.0 : QA problem : Architecture did not match Eric Bénard
@ 2010-10-24 20:51 ` Frans Meulenbroeks
  2010-10-25  0:10 ` Khem Raj
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Frans Meulenbroeks @ 2010-10-24 20:51 UTC (permalink / raw)
  To: openembedded-devel

2010/10/24 Eric Bénard <eric@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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: qt4.7.0 : QA problem : Architecture did not match
  2010-10-24 20:42 qt4.7.0 : QA problem : Architecture did not match Eric Bénard
  2010-10-24 20:51 ` Frans Meulenbroeks
@ 2010-10-25  0:10 ` Khem Raj
  2010-10-25  7:06 ` Holger Freyther
  2010-10-28  9:24 ` Eric Bénard
  3 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2010-10-25  0:10 UTC (permalink / raw)
  To: openembedded-devel

On Sun, Oct 24, 2010 at 1:42 PM, Eric Bénard <eric@eukrea.com> wrote:
> 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}
>  }

well may be a -native recipe should be written to package those bits.
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: qt4.7.0 : QA problem : Architecture did not match
  2010-10-24 20:42 qt4.7.0 : QA problem : Architecture did not match Eric Bénard
  2010-10-24 20:51 ` Frans Meulenbroeks
  2010-10-25  0:10 ` Khem Raj
@ 2010-10-25  7:06 ` Holger Freyther
  2010-10-25  7:54   ` Eric Bénard
  2010-10-28  9:24 ` Eric Bénard
  3 siblings, 1 reply; 6+ messages in thread
From: Holger Freyther @ 2010-10-25  7:06 UTC (permalink / raw)
  To: openembedded-devel

On 10/24/2010 10:42 PM, Eric Bénard wrote:
> 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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: qt4.7.0 : QA problem : Architecture did not match
  2010-10-25  7:06 ` Holger Freyther
@ 2010-10-25  7:54   ` Eric Bénard
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Bénard @ 2010-10-25  7:54 UTC (permalink / raw)
  To: openembedded-devel

Hi Holger,

Le 25/10/2010 09:06, Holger Freyther a écrit :
> On 10/24/2010 10:42 PM, Eric Bénard wrote:
>> 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've rebuilt it and it builds fine this way.

> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: qt4.7.0 : QA problem : Architecture did not match
  2010-10-24 20:42 qt4.7.0 : QA problem : Architecture did not match Eric Bénard
                   ` (2 preceding siblings ...)
  2010-10-25  7:06 ` Holger Freyther
@ 2010-10-28  9:24 ` Eric Bénard
  3 siblings, 0 replies; 6+ messages in thread
From: Eric Bénard @ 2010-10-28  9:24 UTC (permalink / raw)
  To: holger+oe; +Cc: openembedded-devel

Hi Holger,

Le 24/10/2010 22:42, Eric Bénard a écrit :
> 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) ?
>
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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-28  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-24 20:42 qt4.7.0 : QA problem : Architecture did not match Eric Bénard
2010-10-24 20:51 ` Frans Meulenbroeks
2010-10-25  0:10 ` Khem Raj
2010-10-25  7:06 ` Holger Freyther
2010-10-25  7:54   ` Eric Bénard
2010-10-28  9:24 ` Eric Bénard

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.