All of lore.kernel.org
 help / color / mirror / Atom feed
* [yocto][meta-qt5][daisy] Error during bitbake of my image
@ 2014-06-19 18:49 Kevyn-Alexandre Paré
  2014-06-19 19:26 ` Martin Jansa
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-19 18:49 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I started by adding all recipes into my image to try to test as much
as possible:

  ruby \
  qtbase \
  qtconnectivity \
  qtdeclarative \
  qtgraphicaleffects \
  qtimageformats \
  qtlocation \
  qtmultimedia \
  qtquick1 \
  qtquickcontrols \
  qtscript \
  qtsensors \
  qtserialport \
  qtsvg \
  qtsystems \
  qttools \
  qtwebkit \
  qtwebkit-examples \
  qtx11extras \
  qtxmlpatterns \
  qsiv \
  packagegroup-qt5-qtcreator-debug \
  packagegroup-qt5-toolchain-target \
  meta-toolchain-qt5 \
  maliit-framework-qt5 \
  maliit-plugins-qt5 \
  cinematicexperience \

Then start removing these with error:

ERROR: qtwebkit-examples_5.2.1.bb, do_configure) failed with exit code '1'
LOG: http://pastebin.com/qnNStaBE

Remove qtwebkit-examples
ERROR: qtgraphicaleffects not found in the base feeds
ERROR: Function failed: do_rootfs
LOG: http://pastebin.com/FTuE5xzg

Remove qtgraphicaleffects
ERROR: meta-toolchain-qt5 not found in the base feeds
ERROR: Function failed: do_rootfs
This one I was expecting it to fail since it's the toolchain...

Remove meta-toolchain-qt5
ERROR: qtwebkit not found in the base feeds
ERROR: Function failed: do_rootfs
LOG: http://pastebin.com/ZpKC5xwU

Remove qtwebkit
ERROR: qtquickcontrols not found in the base feeds
ERROR: Function failed: do_rootfs
LOG: http://pastebin.com/S2Zn1WMj

Remove qtquickcontrols
ERROR: Unable to install packages
error: Can't install qtwebkit-dev-5.2.1-r0@armv7a_vfp_neon: no package
provides qtwebkit = 5.2.1-r0
ERROR: Function failed: do_rootfs
LOG: http://pastebin.com/E7DspaJy

So I drastically remove  all these to have image that complete.
 qtx11extras
 qtxmlpatterns
 qsiv
 packagegroup-qt5-qtcreator-debug
 packagegroup-qt5-toolchain-target
 maliit-framework-qt5
 maliit-plugins-qt5
 cinematicexperience

[1] What will be the recommended recipes to enable to have an image
that contain the defaults setup settings as when we download the qt
for desktop (qt-opensource-linux-x64-1.6.0-3-online.run)?

[2] Any idea why I'm having these do_rootfs error?

[3] What I'm trying to do is replicate what QtDD13 - Andy Nichols -
Developing Embedded Linux Applications with Qt
(https://www.youtube.com/watch?v=lyQVw1RtaH4) have done with
buildroot. Any advise on how to proceed?

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-19 18:49 [yocto][meta-qt5][daisy] Error during bitbake of my image Kevyn-Alexandre Paré
@ 2014-06-19 19:26 ` Martin Jansa
  2014-06-19 20:32   ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-19 19:26 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2986 bytes --]

On Thu, Jun 19, 2014 at 02:49:59PM -0400, Kevyn-Alexandre Paré wrote:
> Hi,
> 
> I started by adding all recipes into my image to try to test as much
> as possible:
> 
>   ruby \
>   qtbase \
>   qtconnectivity \
>   qtdeclarative \
>   qtgraphicaleffects \
>   qtimageformats \
>   qtlocation \
>   qtmultimedia \
>   qtquick1 \
>   qtquickcontrols \
>   qtscript \
>   qtsensors \
>   qtserialport \
>   qtsvg \
>   qtsystems \
>   qttools \
>   qtwebkit \
>   qtwebkit-examples \
>   qtx11extras \
>   qtxmlpatterns \
>   qsiv \
>   packagegroup-qt5-qtcreator-debug \
>   packagegroup-qt5-toolchain-target \
>   meta-toolchain-qt5 \
>   maliit-framework-qt5 \
>   maliit-plugins-qt5 \
>   cinematicexperience \

recipe-name != package-name, check which packages were created by those
recipes and include those in your image.

> Then start removing these with error:
> 
> ERROR: qtwebkit-examples_5.2.1.bb, do_configure) failed with exit code '1'
> LOG: http://pastebin.com/qnNStaBE
> 
> Remove qtwebkit-examples
> ERROR: qtgraphicaleffects not found in the base feeds
> ERROR: Function failed: do_rootfs
> LOG: http://pastebin.com/FTuE5xzg
> 
> Remove qtgraphicaleffects
> ERROR: meta-toolchain-qt5 not found in the base feeds
> ERROR: Function failed: do_rootfs
> This one I was expecting it to fail since it's the toolchain...
> 
> Remove meta-toolchain-qt5
> ERROR: qtwebkit not found in the base feeds
> ERROR: Function failed: do_rootfs
> LOG: http://pastebin.com/ZpKC5xwU
> 
> Remove qtwebkit
> ERROR: qtquickcontrols not found in the base feeds
> ERROR: Function failed: do_rootfs
> LOG: http://pastebin.com/S2Zn1WMj
> 
> Remove qtquickcontrols
> ERROR: Unable to install packages
> error: Can't install qtwebkit-dev-5.2.1-r0@armv7a_vfp_neon: no package
> provides qtwebkit = 5.2.1-r0
> ERROR: Function failed: do_rootfs
> LOG: http://pastebin.com/E7DspaJy
> 
> So I drastically remove  all these to have image that complete.
>  qtx11extras
>  qtxmlpatterns
>  qsiv
>  packagegroup-qt5-qtcreator-debug
>  packagegroup-qt5-toolchain-target
>  maliit-framework-qt5
>  maliit-plugins-qt5
>  cinematicexperience
> 
> [1] What will be the recommended recipes to enable to have an image
> that contain the defaults setup settings as when we download the qt
> for desktop (qt-opensource-linux-x64-1.6.0-3-online.run)?
> 
> [2] Any idea why I'm having these do_rootfs error?
> 
> [3] What I'm trying to do is replicate what QtDD13 - Andy Nichols -
> Developing Embedded Linux Applications with Qt
> (https://www.youtube.com/watch?v=lyQVw1RtaH4) have done with
> buildroot. Any advise on how to proceed?
> 
> BR,
> 
> -KA
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-19 19:26 ` Martin Jansa
@ 2014-06-19 20:32   ` Kevyn-Alexandre Paré
  2014-06-19 21:08     ` Martin Jansa
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-19 20:32 UTC (permalink / raw)
  To: openembedded-devel

Hi Martin,

On Thu, Jun 19, 2014 at 3:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:

>>   ruby \
>>   qtbase \
>>   qtconnectivity \
>>   qtdeclarative \
>>   qtgraphicaleffects \
>>   qtimageformats \
>>   qtlocation \
>>   qtmultimedia \
>>   qtquick1 \
>>   qtquickcontrols \
>>   qtscript \
>>   qtsensors \
>>   qtserialport \
>>   qtsvg \
>>   qtsystems \
>>   qttools \
>>   qtwebkit \
>>   qtwebkit-examples \
>>   qtx11extras \
>>   qtxmlpatterns \
>>   qsiv \
>>   packagegroup-qt5-qtcreator-debug \
>>   packagegroup-qt5-toolchain-target \
>>   meta-toolchain-qt5 \
>>   maliit-framework-qt5 \
>>   maliit-plugins-qt5 \
>>   cinematicexperience \
>
> recipe-name != package-name, check which packages were created by those
> recipes and include those in your image.
>

Yes still a lot to learn...

So I could do
bitbake qtbase
ls tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/packages-split/
qtbase      qtbase-doc           qtbase-examples-dev
qtbase-fonts-pfa  qtbase-fonts-ttf-dejavu  qtbase-mkspecs
qtbase-plugins.shlibdeps  qtbase.shlibdeps  qtbase-tools-dbg
qtbase-dbg  qtbase-examples      qtbase-examples-staticdev
qtbase-fonts-pfb  qtbase-fonts-ttf-vera    qtbase-plugins
qtbase-qmlplugins         qtbase-staticdev  qtbase-tools.shlibdeps
qtbase-dev  qtbase-examples-dbg  qtbase-fonts
qtbase-fonts-qpf  qtbase-locale            qtbase-plugins-dbg
qtbase-qmlplugins-dbg     qtbase-tools

or use bitbake -e qtbase | grep PACKAGES=

Other solutions?

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-19 20:32   ` Kevyn-Alexandre Paré
@ 2014-06-19 21:08     ` Martin Jansa
  2014-06-19 21:34       ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-19 21:08 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1813 bytes --]

On Thu, Jun 19, 2014 at 04:32:17PM -0400, Kevyn-Alexandre Paré wrote:
> Hi Martin,
> 
> On Thu, Jun 19, 2014 at 3:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> >>   ruby \
> >>   qtbase \
> >>   qtconnectivity \
> >>   qtdeclarative \
> >>   qtgraphicaleffects \
> >>   qtimageformats \
> >>   qtlocation \
> >>   qtmultimedia \
> >>   qtquick1 \
> >>   qtquickcontrols \
> >>   qtscript \
> >>   qtsensors \
> >>   qtserialport \
> >>   qtsvg \
> >>   qtsystems \
> >>   qttools \
> >>   qtwebkit \
> >>   qtwebkit-examples \
> >>   qtx11extras \
> >>   qtxmlpatterns \
> >>   qsiv \
> >>   packagegroup-qt5-qtcreator-debug \
> >>   packagegroup-qt5-toolchain-target \
> >>   meta-toolchain-qt5 \
> >>   maliit-framework-qt5 \
> >>   maliit-plugins-qt5 \
> >>   cinematicexperience \
> >
> > recipe-name != package-name, check which packages were created by those
> > recipes and include those in your image.
> >
> 
> Yes still a lot to learn...
> 
> So I could do
> bitbake qtbase
> ls tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/packages-split/
> qtbase      qtbase-doc           qtbase-examples-dev
> qtbase-fonts-pfa  qtbase-fonts-ttf-dejavu  qtbase-mkspecs
> qtbase-plugins.shlibdeps  qtbase.shlibdeps  qtbase-tools-dbg
> qtbase-dbg  qtbase-examples      qtbase-examples-staticdev
> qtbase-fonts-pfb  qtbase-fonts-ttf-vera    qtbase-plugins
> qtbase-qmlplugins         qtbase-staticdev  qtbase-tools.shlibdeps
> qtbase-dev  qtbase-examples-dbg  qtbase-fonts
> qtbase-fonts-qpf  qtbase-locale            qtbase-plugins-dbg
> qtbase-qmlplugins-dbg     qtbase-tools
> 
> or use bitbake -e qtbase | grep PACKAGES=
> 
> Other solutions?

buildhistory is great tool

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-19 21:08     ` Martin Jansa
@ 2014-06-19 21:34       ` Kevyn-Alexandre Paré
  2014-06-19 23:06         ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-19 21:34 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jun 19, 2014 at 5:08 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Jun 19, 2014 at 04:32:17PM -0400, Kevyn-Alexandre Paré wrote:
>> Hi Martin,
>>
>> On Thu, Jun 19, 2014 at 3:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>
...
>> or use bitbake -e qtbase | grep PACKAGES=
>>
>> Other solutions?
>
> buildhistory is great tool
>

k reading:
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#maintaining-build-output-quality

thx!

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-19 21:34       ` Kevyn-Alexandre Paré
@ 2014-06-19 23:06         ` Kevyn-Alexandre Paré
  2014-06-19 23:21           ` Martin Jansa
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-19 23:06 UTC (permalink / raw)
  To: openembedded-devel

I'm a bit further but still have some interrogations?

ERROR: qtwebkit not found in the base feeds (overo armv7a-vfp-neon
armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5
armv4 arm noarch any all)

I'm having these included in my image:

  ruby \
  qtbase \
  qtbase-fonts \
  qtbase-fonts-ttf-vera \
  qtbase-fonts-ttf-dejavu \
  qtbase-fonts-pfa \
  qtbase-fonts-pfb \
  qtbase-fonts-qpf \
  qtbase-tools-dbg \
  qtbase-plugins-dbg \
  qtbase-tools \
  qtbase-plugins \
  qtbase-mkspecs \
  qtbase-dev \
  qtdeclarative-qmlplugins-dbg \
  qtdeclarative-tools-dbg \
  qtdeclarative-plugins-dbg \
  qtdeclarative-qmlplugins \
  qtdeclarative-tools \
  qtdeclarative-plugins \
  qtdeclarative-mkspecs \
  qtdeclarative-dbg \
  qtdeclarative-dev \
  qtdeclarative \
  qtquick1-qmlplugins-dbg \
  qtquick1-tools-dbg \
  qtquick1-plugins-dbg \
  qtquick1-qmlplugins \
  qtquick1-tools \
  qtquick1-plugins \
  qtquick1-mkspecs \
  qtquick1-dbg \
  qtquick1-dev \
  qtquick1 \
  qttools-tools-dbg \
  qttools-tools \
  qttools-mkspecs \
  qttools-dbg \
  qttools-dev \
  qttools \
  qtwebkit \

[1] Why the bitbake qtwebkit is working but not when I'm including it
in my image?

BR,

-KA


On Thu, Jun 19, 2014 at 5:34 PM, Kevyn-Alexandre Paré
<kapare@rogue-research.com> wrote:
> On Thu, Jun 19, 2014 at 5:08 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> On Thu, Jun 19, 2014 at 04:32:17PM -0400, Kevyn-Alexandre Paré wrote:
>>> Hi Martin,
>>>
>>> On Thu, Jun 19, 2014 at 3:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>>
> ...
>>> or use bitbake -e qtbase | grep PACKAGES=
>>>
>>> Other solutions?
>>
>> buildhistory is great tool
>>
>
> k reading:
> http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#maintaining-build-output-quality
>
> thx!
>
> -KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-19 23:06         ` Kevyn-Alexandre Paré
@ 2014-06-19 23:21           ` Martin Jansa
  2014-06-20  0:38             ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-19 23:21 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2461 bytes --]

On Thu, Jun 19, 2014 at 07:06:08PM -0400, Kevyn-Alexandre Paré wrote:
> I'm a bit further but still have some interrogations?
> 
> ERROR: qtwebkit not found in the base feeds (overo armv7a-vfp-neon
> armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5
> armv4 arm noarch any all)
> 
> I'm having these included in my image:
> 
>   ruby \
>   qtbase \
>   qtbase-fonts \
>   qtbase-fonts-ttf-vera \
>   qtbase-fonts-ttf-dejavu \
>   qtbase-fonts-pfa \
>   qtbase-fonts-pfb \
>   qtbase-fonts-qpf \
>   qtbase-tools-dbg \
>   qtbase-plugins-dbg \
>   qtbase-tools \
>   qtbase-plugins \
>   qtbase-mkspecs \
>   qtbase-dev \
>   qtdeclarative-qmlplugins-dbg \
>   qtdeclarative-tools-dbg \
>   qtdeclarative-plugins-dbg \
>   qtdeclarative-qmlplugins \
>   qtdeclarative-tools \
>   qtdeclarative-plugins \
>   qtdeclarative-mkspecs \
>   qtdeclarative-dbg \
>   qtdeclarative-dev \
>   qtdeclarative \
>   qtquick1-qmlplugins-dbg \
>   qtquick1-tools-dbg \
>   qtquick1-plugins-dbg \
>   qtquick1-qmlplugins \
>   qtquick1-tools \
>   qtquick1-plugins \
>   qtquick1-mkspecs \
>   qtquick1-dbg \
>   qtquick1-dev \
>   qtquick1 \
>   qttools-tools-dbg \
>   qttools-tools \
>   qttools-mkspecs \
>   qttools-dbg \
>   qttools-dev \
>   qttools \
>   qtwebkit \
> 
> [1] Why the bitbake qtwebkit is working but not when I'm including it
> in my image?

What PACKAGECONFIG values are you using (especially for qtbase)?

carefully read comments in qtbase.inc

> On Thu, Jun 19, 2014 at 5:34 PM, Kevyn-Alexandre Paré
> <kapare@rogue-research.com> wrote:
> > On Thu, Jun 19, 2014 at 5:08 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >> On Thu, Jun 19, 2014 at 04:32:17PM -0400, Kevyn-Alexandre Paré wrote:
> >>> Hi Martin,
> >>>
> >>> On Thu, Jun 19, 2014 at 3:26 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >>>
> > ...
> >>> or use bitbake -e qtbase | grep PACKAGES=
> >>>
> >>> Other solutions?
> >>
> >> buildhistory is great tool
> >>
> >
> > k reading:
> > http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#maintaining-build-output-quality
> >
> > thx!
> >
> > -KA
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-19 23:21           ` Martin Jansa
@ 2014-06-20  0:38             ` Kevyn-Alexandre Paré
  2014-06-20  8:13               ` Martin Jansa
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-20  0:38 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jun 19, 2014 at 7:21 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Jun 19, 2014 at 07:06:08PM -0400, Kevyn-Alexandre Paré wrote:
>> I'm a bit further but still have some interrogations?
>>
>> ERROR: qtwebkit not found in the base feeds (overo armv7a-vfp-neon
>> armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5
>> armv4 arm noarch any all)
>>
>> I'm having these included in my image:
>>
>>   ruby \
>>   qtbase \
>>   qtbase-fonts \
>>   qtbase-fonts-ttf-vera \
>>   qtbase-fonts-ttf-dejavu \
>>   qtbase-fonts-pfa \
>>   qtbase-fonts-pfb \
>>   qtbase-fonts-qpf \
>>   qtbase-tools-dbg \
>>   qtbase-plugins-dbg \
>>   qtbase-tools \
>>   qtbase-plugins \
>>   qtbase-mkspecs \
>>   qtbase-dev \
>>   qtdeclarative-qmlplugins-dbg \
>>   qtdeclarative-tools-dbg \
>>   qtdeclarative-plugins-dbg \
>>   qtdeclarative-qmlplugins \
>>   qtdeclarative-tools \
>>   qtdeclarative-plugins \
>>   qtdeclarative-mkspecs \
>>   qtdeclarative-dbg \
>>   qtdeclarative-dev \
>>   qtdeclarative \
>>   qtquick1-qmlplugins-dbg \
>>   qtquick1-tools-dbg \
>>   qtquick1-plugins-dbg \
>>   qtquick1-qmlplugins \
>>   qtquick1-tools \
>>   qtquick1-plugins \
>>   qtquick1-mkspecs \
>>   qtquick1-dbg \
>>   qtquick1-dev \
>>   qtquick1 \
>>   qttools-tools-dbg \
>>   qttools-tools \
>>   qttools-mkspecs \
>>   qttools-dbg \
>>   qttools-dev \
>>   qttools \
>>   qtwebkit \
>>
>> [1] Why the bitbake qtwebkit is working but not when I'm including it
>> in my image?
>
> What PACKAGECONFIG values are you using (especially for qtbase)?

Sorry for a lot of newbie questions... But I have not play with PACKAGECONFIG
I didn't change PACKAGECONFIG. The only thing I was doing was to add
previous list of packages to IMAGE_INSTALL +=

>
> carefully read comments in qtbase.inc
>

Reading it make me remember that what I want to do, enable qtquick,
that depends on qtquick1.inc:

DEPENDS += "qtscript qtsvg qtxmlpatterns qtwebkit"

I thought that simply adding them to the IMAGE_INSTALL will be enough

Then in qtbase.inc:

# separate some parts of PACKAGECONFIG which are often changed
# be aware that you need to add icu to build qtwebkit, default
# PACKAGECONFIG is kept rather minimal for people who don't need
# stuff like webkit (and it's easier to add options than remove)

So could this be because I'm not adding the icu?

PACKAGECONFIG[icu] = "-icu,-no-icu,icu"

So from a old email you respond:
https://www.mail-archive.com/yocto@yoctoproject.org/msg16316.html

I think that if I want to enable the icu I need to add???
PACKAGECONFIG vim ??= "icu" in my local.conf or could I add it
somewhere else? like in the recipe of my image?

Still confuse about that part...

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-20  0:38             ` Kevyn-Alexandre Paré
@ 2014-06-20  8:13               ` Martin Jansa
  2014-06-20 22:30                 ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-20  8:13 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3425 bytes --]

On Thu, Jun 19, 2014 at 08:38:19PM -0400, Kevyn-Alexandre Paré wrote:
> On Thu, Jun 19, 2014 at 7:21 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Thu, Jun 19, 2014 at 07:06:08PM -0400, Kevyn-Alexandre Paré wrote:
> >> I'm a bit further but still have some interrogations?
> >>
> >> ERROR: qtwebkit not found in the base feeds (overo armv7a-vfp-neon
> >> armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5
> >> armv4 arm noarch any all)
> >>
> >> I'm having these included in my image:
> >>
> >>   ruby \
> >>   qtbase \
> >>   qtbase-fonts \
> >>   qtbase-fonts-ttf-vera \
> >>   qtbase-fonts-ttf-dejavu \
> >>   qtbase-fonts-pfa \
> >>   qtbase-fonts-pfb \
> >>   qtbase-fonts-qpf \
> >>   qtbase-tools-dbg \
> >>   qtbase-plugins-dbg \
> >>   qtbase-tools \
> >>   qtbase-plugins \
> >>   qtbase-mkspecs \
> >>   qtbase-dev \
> >>   qtdeclarative-qmlplugins-dbg \
> >>   qtdeclarative-tools-dbg \
> >>   qtdeclarative-plugins-dbg \
> >>   qtdeclarative-qmlplugins \
> >>   qtdeclarative-tools \
> >>   qtdeclarative-plugins \
> >>   qtdeclarative-mkspecs \
> >>   qtdeclarative-dbg \
> >>   qtdeclarative-dev \
> >>   qtdeclarative \
> >>   qtquick1-qmlplugins-dbg \
> >>   qtquick1-tools-dbg \
> >>   qtquick1-plugins-dbg \
> >>   qtquick1-qmlplugins \
> >>   qtquick1-tools \
> >>   qtquick1-plugins \
> >>   qtquick1-mkspecs \
> >>   qtquick1-dbg \
> >>   qtquick1-dev \
> >>   qtquick1 \
> >>   qttools-tools-dbg \
> >>   qttools-tools \
> >>   qttools-mkspecs \
> >>   qttools-dbg \
> >>   qttools-dev \
> >>   qttools \
> >>   qtwebkit \
> >>
> >> [1] Why the bitbake qtwebkit is working but not when I'm including it
> >> in my image?
> >
> > What PACKAGECONFIG values are you using (especially for qtbase)?
> 
> Sorry for a lot of newbie questions... But I have not play with PACKAGECONFIG
> I didn't change PACKAGECONFIG. The only thing I was doing was to add
> previous list of packages to IMAGE_INSTALL +=
> 
> >
> > carefully read comments in qtbase.inc
> >
> 
> Reading it make me remember that what I want to do, enable qtquick,
> that depends on qtquick1.inc:
> 
> DEPENDS += "qtscript qtsvg qtxmlpatterns qtwebkit"
> 
> I thought that simply adding them to the IMAGE_INSTALL will be enough
> 
> Then in qtbase.inc:
> 
> # separate some parts of PACKAGECONFIG which are often changed
> # be aware that you need to add icu to build qtwebkit, default
> # PACKAGECONFIG is kept rather minimal for people who don't need
> # stuff like webkit (and it's easier to add options than remove)
> 
> So could this be because I'm not adding the icu?
> 
> PACKAGECONFIG[icu] = "-icu,-no-icu,icu"
> 
> So from a old email you respond:
> https://www.mail-archive.com/yocto@yoctoproject.org/msg16316.html
> 
> I think that if I want to enable the icu I need to add???
> PACKAGECONFIG vim ??= "icu" in my local.conf or could I add it
> somewhere else? like in the recipe of my image?

PACKAGECONFIG_append_pn-qtbase = " icu"

You'll probably want also gl and accessibility.

> Still confuse about that part...
> 
> BR,
> 
> -KA
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-20  8:13               ` Martin Jansa
@ 2014-06-20 22:30                 ` Kevyn-Alexandre Paré
  2014-06-20 23:48                   ` Martin Jansa
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-20 22:30 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Jun 20, 2014 at 4:13 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> PACKAGECONFIG_append_pn-qtbase = " icu"
>

Thank you very much for that example!

> You'll probably want also gl and accessibility.

Since I'm trying to build it for arm/omap3, gl should be replace for gles2!?

qtbase.inc
PACKAGECONFIG[gl] = "-opengl desktop -no-eglfs,,virtual/libgl"
PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"

So far here what my image contain and gives me successful image:

PACKAGECONFIG_append_pn-qtbase = " \
  developer \
  tests \
  examples \
  icu \
  alsa \
  gles2 \
  accessibility \
  glib-2.0 \
  tslib \
  linuxfb \
  sqlite3 \
"

IMAGE_INSTALL += " \
  bzip2 \
  u-boot \
  u-boot-fw-utils \
  psplash \
  ruby \
  qtbase \
  qtbase-fonts \
  qtbase-fonts-ttf-vera \
  qtbase-fonts-ttf-dejavu \
  qtbase-fonts-pfa \
  qtbase-fonts-pfb \
  qtbase-fonts-qpf \
  qtbase-tools \
  qtbase-plugins \
  qtbase-dev \
  qtdeclarative-qmlplugins \
  qtdeclarative-tools \
  qtdeclarative-plugins \
  qtdeclarative-dev \
  qtdeclarative \
  qtscript \
  qtsensors \
  qtserialport \
  qtsvg \
  libxslt \
  icu \
  glib-2.0 \
  sqlite3 \
  qtxmlpatterns \
  qtquick1 \
  tiff \
  qtimageformats \
  qtmultimedia \
  alsa-lib \
  qtlocation \
  qt3d \
"

[1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
build fail with:
ERROR: qtwebkit not found in the base feeds
LOG: http://pastebin.com/fx2Zi9vW
Any clue what I'm doing wrong?

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-20 22:30                 ` Kevyn-Alexandre Paré
@ 2014-06-20 23:48                   ` Martin Jansa
  2014-06-21  0:22                     ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-20 23:48 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
> build fail with:
> ERROR: qtwebkit not found in the base feeds
> LOG: http://pastebin.com/fx2Zi9vW
> Any clue what I'm doing wrong?

Check which packages (if any) were created by qtwebkit recipe, if any
then read log.do_configure for possible clues.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-20 23:48                   ` Martin Jansa
@ 2014-06-21  0:22                     ` Kevyn-Alexandre Paré
  2014-06-21  0:32                       ` Kevyn-Alexandre Paré
  2014-06-21  1:05                       ` Martin Jansa
  0 siblings, 2 replies; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-21  0:22 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Jun 20, 2014 at 7:48 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
>> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
>> build fail with:
>> ERROR: qtwebkit not found in the base feeds
>> LOG: http://pastebin.com/fx2Zi9vW
>> Any clue what I'm doing wrong?
>
> Check which packages (if any) were created by qtwebkit recipe, if any
> then read log.do_configure for possible clues.
>

qtwebkit-dbg and qtwebkit-dev is part of deploy rpm not qtwebkit? In
pkgdata these only to have ".packaged"
http://pastebin.com/0ugj2NVF

log.do_configure:
http://pastebin.com/cXWdDXmy

What's interesting or maybe not is that dgb and dev have empty rpm
created and not the others?
log.do_package_write_rpm
http://pastebin.com/Cft9Uh3J

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-21  0:22                     ` Kevyn-Alexandre Paré
@ 2014-06-21  0:32                       ` Kevyn-Alexandre Paré
  2014-06-21  1:05                       ` Martin Jansa
  1 sibling, 0 replies; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-21  0:32 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Jun 20, 2014 at 8:22 PM, Kevyn-Alexandre Paré
<kapare@rogue-research.com> wrote:
> On Fri, Jun 20, 2014 at 7:48 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
>>> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
>>> build fail with:
>>> ERROR: qtwebkit not found in the base feeds
>>> LOG: http://pastebin.com/fx2Zi9vW
>>> Any clue what I'm doing wrong?
>>
>> Check which packages (if any) were created by qtwebkit recipe, if any
>> then read log.do_configure for possible clues.
>>
>
> qtwebkit-dbg and qtwebkit-dev is part of deploy rpm not qtwebkit? In
> pkgdata these only to have ".packaged"
> http://pastebin.com/0ugj2NVF
>
> log.do_configure:
> http://pastebin.com/cXWdDXmy
>
> What's interesting or maybe not is that dgb and dev have empty rpm
> created and not the others?
> log.do_package_write_rpm
> http://pastebin.com/Cft9Uh3J
>

replacing qtwebkit for qtwebkit-dev gave this error:

Computing transaction...error: Can't install
qtwebkit-dev-5.2.1-r0@armv7a_vfp_neon: no package provides qtwebkit =
5.2.1-r0

replace qtwebkit-dev for qtwebkit-dbg

pass and generate a new image without error !!?

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-21  0:22                     ` Kevyn-Alexandre Paré
  2014-06-21  0:32                       ` Kevyn-Alexandre Paré
@ 2014-06-21  1:05                       ` Martin Jansa
  2014-06-21  3:35                         ` Kevyn-Alexandre Paré
  1 sibling, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-21  1:05 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]

On Fri, Jun 20, 2014 at 08:22:39PM -0400, Kevyn-Alexandre Paré wrote:
> On Fri, Jun 20, 2014 at 7:48 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
> >> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
> >> build fail with:
> >> ERROR: qtwebkit not found in the base feeds
> >> LOG: http://pastebin.com/fx2Zi9vW
> >> Any clue what I'm doing wrong?
> >
> > Check which packages (if any) were created by qtwebkit recipe, if any
> > then read log.do_configure for possible clues.
> >
> 
> qtwebkit-dbg and qtwebkit-dev is part of deploy rpm not qtwebkit? In
> pkgdata these only to have ".packaged"
> http://pastebin.com/0ugj2NVF
> 
> log.do_configure:
> http://pastebin.com/cXWdDXmy

The WebKit build was disabled for the following reasons:
    * ICU is required. To build QtWebKit with Qt 5 you need to build Qt
     5 with libICU support. Check for ICU support being mentioned in
     qtbase/config.summary.

> What's interesting or maybe not is that dgb and dev have empty rpm
> created and not the others?
> log.do_package_write_rpm
> http://pastebin.com/Cft9Uh3J

-dbg and -dev are configured to create empty package
ALLOW_EMPTY_<pkgname>

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-21  1:05                       ` Martin Jansa
@ 2014-06-21  3:35                         ` Kevyn-Alexandre Paré
  2014-06-21  7:47                           ` Martin Jansa
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-21  3:35 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Jun 20, 2014 at 9:05 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Jun 20, 2014 at 08:22:39PM -0400, Kevyn-Alexandre Paré wrote:
>> On Fri, Jun 20, 2014 at 7:48 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> > On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
>> >> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
>> >> build fail with:
>> >> ERROR: qtwebkit not found in the base feeds
>> >> LOG: http://pastebin.com/fx2Zi9vW
>> >> Any clue what I'm doing wrong?
>> >
>> > Check which packages (if any) were created by qtwebkit recipe, if any
>> > then read log.do_configure for possible clues.
>> >
>>
>> qtwebkit-dbg and qtwebkit-dev is part of deploy rpm not qtwebkit? In
>> pkgdata these only to have ".packaged"
>> http://pastebin.com/0ugj2NVF
>>
>> log.do_configure:
>> http://pastebin.com/cXWdDXmy
>
> The WebKit build was disabled for the following reasons:
>     * ICU is required. To build QtWebKit with Qt 5 you need to build Qt
>      5 with libICU support. Check for ICU support being mentioned in
>      qtbase/config.summary.
>

Yes you told me that in previous email I when to
layers.openembedded.org to check

icu  53.1 International Component for Unicode libraries   openembedded-core

I add it in PACKAGECONFIG_append_pn-qtbase and IMAGE_INSTALL I thought
it will be enough?

Obviously, I'm still missing somethink

qtbase/config.summary? you mean qtbase.inc?

I see icu only mention in

poky/meta-qt5$ grep -Ri ICU *
COPYING.MIT:FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE
licenses/DIGIA-TPLA-2.4:merchantability, fitness for a particular
purpose, title and
licenses/DIGIA-TPLA-2.4:merchantability, fitness for a particular
purpose, title and
recipes-qt/qt5/qtwebkit.inc:DEPENDS += "qtbase qtdeclarative icu
ruby-native sqlite3 glib-2.0 libxslt"
recipes-qt/qt5/qtbase.inc:# be aware that you need to add icu to build
qtwebkit, default
recipes-qt/qt5/qtbase.inc:PACKAGECONFIG[icu] = "-icu,-no-icu,icu"
recipes-qt/qt5/qtbase-native.inc:    -no-icu \

My qtbase log.do_configure shows that it have been enable:
http://pastebin.com/g7Lh5cPU

>> What's interesting or maybe not is that dgb and dev have empty rpm
>> created and not the others?
>> log.do_package_write_rpm
>> http://pastebin.com/Cft9Uh3J
>
> -dbg and -dev are configured to create empty package
> ALLOW_EMPTY_<pkgname>
>

Aa, I'm only seeing it for these:

poky/meta-qt5$ grep -R ALLOW_EMPTY *
recipes-qt/qt5/qtimageformats.inc:ALLOW_EMPTY_${PN} = "1"
recipes-qt/qt5/qtbase.inc:ALLOW_EMPTY_${PN}-fonts = "1"

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-21  3:35                         ` Kevyn-Alexandre Paré
@ 2014-06-21  7:47                           ` Martin Jansa
  2014-06-23 13:40                             ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-21  7:47 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3430 bytes --]

On Fri, Jun 20, 2014 at 11:35:34PM -0400, Kevyn-Alexandre Paré wrote:
> On Fri, Jun 20, 2014 at 9:05 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Fri, Jun 20, 2014 at 08:22:39PM -0400, Kevyn-Alexandre Paré wrote:
> >> On Fri, Jun 20, 2014 at 7:48 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >> > On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
> >> >> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
> >> >> build fail with:
> >> >> ERROR: qtwebkit not found in the base feeds
> >> >> LOG: http://pastebin.com/fx2Zi9vW
> >> >> Any clue what I'm doing wrong?
> >> >
> >> > Check which packages (if any) were created by qtwebkit recipe, if any
> >> > then read log.do_configure for possible clues.
> >> >
> >>
> >> qtwebkit-dbg and qtwebkit-dev is part of deploy rpm not qtwebkit? In
> >> pkgdata these only to have ".packaged"
> >> http://pastebin.com/0ugj2NVF
> >>
> >> log.do_configure:
> >> http://pastebin.com/cXWdDXmy
> >
> > The WebKit build was disabled for the following reasons:
> >     * ICU is required. To build QtWebKit with Qt 5 you need to build Qt
> >      5 with libICU support. Check for ICU support being mentioned in
> >      qtbase/config.summary.
> >
> 
> Yes you told me that in previous email I when to
> layers.openembedded.org to check
> 
> icu  53.1 International Component for Unicode libraries   openembedded-core
> 
> I add it in PACKAGECONFIG_append_pn-qtbase and IMAGE_INSTALL I thought
> it will be enough?
> 
> Obviously, I'm still missing somethink
> 
> qtbase/config.summary? you mean qtbase.inc?

I've just pasted it for you from the log.do_configure you sent me,
please _read_ it.

Check config.summary in qtbase WORKDIR (where you built qtbase to be
sure it was enabled) and check with bitbake -e that it's really in your
PACKAGECONFIG for qtbase.

> I see icu only mention in
> 
> poky/meta-qt5$ grep -Ri ICU *
> COPYING.MIT:FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
> NO EVENT SHALL THE
> licenses/DIGIA-TPLA-2.4:merchantability, fitness for a particular
> purpose, title and
> licenses/DIGIA-TPLA-2.4:merchantability, fitness for a particular
> purpose, title and
> recipes-qt/qt5/qtwebkit.inc:DEPENDS += "qtbase qtdeclarative icu
> ruby-native sqlite3 glib-2.0 libxslt"
> recipes-qt/qt5/qtbase.inc:# be aware that you need to add icu to build
> qtwebkit, default
> recipes-qt/qt5/qtbase.inc:PACKAGECONFIG[icu] = "-icu,-no-icu,icu"
> recipes-qt/qt5/qtbase-native.inc:    -no-icu \
> 
> My qtbase log.do_configure shows that it have been enable:
> http://pastebin.com/g7Lh5cPU
> 
> >> What's interesting or maybe not is that dgb and dev have empty rpm
> >> created and not the others?
> >> log.do_package_write_rpm
> >> http://pastebin.com/Cft9Uh3J
> >
> > -dbg and -dev are configured to create empty package
> > ALLOW_EMPTY_<pkgname>
> >
> 
> Aa, I'm only seeing it for these:
> 
> poky/meta-qt5$ grep -R ALLOW_EMPTY *
> recipes-qt/qt5/qtimageformats.inc:ALLOW_EMPTY_${PN} = "1"
> recipes-qt/qt5/qtbase.inc:ALLOW_EMPTY_${PN}-fonts = "1"

meta/conf/bitbake.conf:ALLOW_EMPTY_${PN}-dev = "1"
meta/conf/bitbake.conf:ALLOW_EMPTY_${PN}-dbg = "1"
meta/conf/documentation.conf:ALLOW_EMPTY[doc] = "Specifies if an output
package should still be produced if it is empty."

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-21  7:47                           ` Martin Jansa
@ 2014-06-23 13:40                             ` Kevyn-Alexandre Paré
  2014-06-23 14:01                               ` Martin Jansa
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-23 13:40 UTC (permalink / raw)
  To: openembedded-devel

On Sat, Jun 21, 2014 at 3:47 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Jun 20, 2014 at 11:35:34PM -0400, Kevyn-Alexandre Paré wrote:
>> On Fri, Jun 20, 2014 at 9:05 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> > On Fri, Jun 20, 2014 at 08:22:39PM -0400, Kevyn-Alexandre Paré wrote:
>> >> On Fri, Jun 20, 2014 at 7:48 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> >> > On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
>> >> >> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
>> >> >> build fail with:
>> >> >> ERROR: qtwebkit not found in the base feeds
>> >> >> LOG: http://pastebin.com/fx2Zi9vW
>> >> >> Any clue what I'm doing wrong?
>> >> >
>> >> > Check which packages (if any) were created by qtwebkit recipe, if any
>> >> > then read log.do_configure for possible clues.
>> >> >
>> >>
>> >> qtwebkit-dbg and qtwebkit-dev is part of deploy rpm not qtwebkit? In
>> >> pkgdata these only to have ".packaged"
>> >> http://pastebin.com/0ugj2NVF
>> >>
>> >> log.do_configure:
>> >> http://pastebin.com/cXWdDXmy
>> >
>> > The WebKit build was disabled for the following reasons:
>> >     * ICU is required. To build QtWebKit with Qt 5 you need to build Qt
>> >      5 with libICU support. Check for ICU support being mentioned in
>> >      qtbase/config.summary.
>> >
>>
>> Yes you told me that in previous email I when to
>> layers.openembedded.org to check
>>
>> icu  53.1 International Component for Unicode libraries   openembedded-core
>>
>> I add it in PACKAGECONFIG_append_pn-qtbase and IMAGE_INSTALL I thought
>> it will be enough?
>>
>> Obviously, I'm still missing somethink
>>
>> qtbase/config.summary? you mean qtbase.inc?
>
> I've just pasted it for you from the log.do_configure you sent me,
> please _read_ it.
>

Thanks for trying to make me _see_ what I'm clearly not seeing yet...

I cleanall qtbase & my image since I was having multiple
log.do_configure and could have looked at the wrong one...

My image with IMAGE_INSTALL & PACKAGECONFIG:
http://pastebin.com/4JCWb5cY

Here the way I check that icu is added as part of my image:
bitbake -e nirs-console-image | grep -n5 PACKAGECONFIG
2560-# $B_pn-strace
2561-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/distro/include/seperatebuilddir.inc:645
2562-#     "${SEPB}"
2563-B_pn-strace="/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/nirs-console-image/1.0-r0/build"
2564-#
2565:# $PACKAGECONFIG [2 operations]
2566-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/documentation.conf:308
2567-#     [doc] "This variable provides a means of enabling or
disabling features of a recipe on a per-recipe basis."
2568-#   _append[pn-qtbase]
/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta-nirs/recipes-images/gumstix/nirs-console-image.bb:17
2569-#     "   developer   tests   examples   icu   alsa-lib   gles2
accessibility   glib-2.0   tslib   linuxfb   sqlite3 "


> Check config.summary in qtbase WORKDIR (where you built qtbase to be
> sure it was enabled) and check with bitbake -e that it's really in your
> PACKAGECONFIG for qtbase.

My bad I didn't check in the WORKDIR only in meta-qt5...

Check config.summary:
find tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/ -name config.summary
tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary

http://pastebin.com/gZ2Nqa5g

Found that ICU is disable:
 27 Support enabled for:
 28   Accessibility .......... no
 29   ALSA ................... no
 30   CUPS ................... no
 31   FontConfig ............. no
 32   FreeType ............... qt
 33   Iconv .................. no
 34   ICU .................... no

Clearly I'm doing something wrong!

[1] Will _read_ and try to make the config.summary change to yes...

[2] When i'm setting my PACKAGECONFIG and i'm having one like:
PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"

I'm suppose to set:
PACKAGECONFIG_append_pn-qtbase = " virtual/libgles2"
and not
PACKAGECONFIG_append_pn-qtbase = " gles2"
?

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-23 13:40                             ` Kevyn-Alexandre Paré
@ 2014-06-23 14:01                               ` Martin Jansa
  2014-06-23 16:21                                 ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-23 14:01 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 5011 bytes --]

On Mon, Jun 23, 2014 at 09:40:28AM -0400, Kevyn-Alexandre Paré wrote:
> On Sat, Jun 21, 2014 at 3:47 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Fri, Jun 20, 2014 at 11:35:34PM -0400, Kevyn-Alexandre Paré wrote:
> >> On Fri, Jun 20, 2014 at 9:05 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >> > On Fri, Jun 20, 2014 at 08:22:39PM -0400, Kevyn-Alexandre Paré wrote:
> >> >> On Fri, Jun 20, 2014 at 7:48 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >> >> > On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
> >> >> >> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
> >> >> >> build fail with:
> >> >> >> ERROR: qtwebkit not found in the base feeds
> >> >> >> LOG: http://pastebin.com/fx2Zi9vW
> >> >> >> Any clue what I'm doing wrong?
> >> >> >
> >> >> > Check which packages (if any) were created by qtwebkit recipe, if any
> >> >> > then read log.do_configure for possible clues.
> >> >> >
> >> >>
> >> >> qtwebkit-dbg and qtwebkit-dev is part of deploy rpm not qtwebkit? In
> >> >> pkgdata these only to have ".packaged"
> >> >> http://pastebin.com/0ugj2NVF
> >> >>
> >> >> log.do_configure:
> >> >> http://pastebin.com/cXWdDXmy
> >> >
> >> > The WebKit build was disabled for the following reasons:
> >> >     * ICU is required. To build QtWebKit with Qt 5 you need to build Qt
> >> >      5 with libICU support. Check for ICU support being mentioned in
> >> >      qtbase/config.summary.
> >> >
> >>
> >> Yes you told me that in previous email I when to
> >> layers.openembedded.org to check
> >>
> >> icu  53.1 International Component for Unicode libraries   openembedded-core
> >>
> >> I add it in PACKAGECONFIG_append_pn-qtbase and IMAGE_INSTALL I thought
> >> it will be enough?
> >>
> >> Obviously, I'm still missing somethink
> >>
> >> qtbase/config.summary? you mean qtbase.inc?
> >
> > I've just pasted it for you from the log.do_configure you sent me,
> > please _read_ it.
> >
> 
> Thanks for trying to make me _see_ what I'm clearly not seeing yet...
> 
> I cleanall qtbase & my image since I was having multiple
> log.do_configure and could have looked at the wrong one...
> 
> My image with IMAGE_INSTALL & PACKAGECONFIG:
> http://pastebin.com/4JCWb5cY
> 
> Here the way I check that icu is added as part of my image:
> bitbake -e nirs-console-image | grep -n5 PACKAGECONFIG
> 2560-# $B_pn-strace
> 2561-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/distro/include/seperatebuilddir.inc:645
> 2562-#     "${SEPB}"
> 2563-B_pn-strace="/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/nirs-console-image/1.0-r0/build"
> 2564-#
> 2565:# $PACKAGECONFIG [2 operations]
> 2566-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/documentation.conf:308
> 2567-#     [doc] "This variable provides a means of enabling or
> disabling features of a recipe on a per-recipe basis."
> 2568-#   _append[pn-qtbase]
> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta-nirs/recipes-images/gumstix/nirs-console-image.bb:17
> 2569-#     "   developer   tests   examples   icu   alsa-lib   gles2
> accessibility   glib-2.0   tslib   linuxfb   sqlite3 "

Are you trying to set PACKAGECONFIG_append_pn-qtbase from
nirs-console-image.bb? That wont work you need to set it in distro or
local.conf

> > Check config.summary in qtbase WORKDIR (where you built qtbase to be
> > sure it was enabled) and check with bitbake -e that it's really in your
> > PACKAGECONFIG for qtbase.
> 
> My bad I didn't check in the WORKDIR only in meta-qt5...
> 
> Check config.summary:
> find tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/ -name config.summary
> tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
> 
> http://pastebin.com/gZ2Nqa5g
> 
> Found that ICU is disable:
>  27 Support enabled for:
>  28   Accessibility .......... no
>  29   ALSA ................... no
>  30   CUPS ................... no
>  31   FontConfig ............. no
>  32   FreeType ............... qt
>  33   Iconv .................. no
>  34   ICU .................... no
> 
> Clearly I'm doing something wrong!

Yes, setting PACKAGECONFIG in wrong place.

bitbake -e qtbase | grep ^PACKAGECONFIG=

is what you need to check.

> [1] Will _read_ and try to make the config.summary change to yes...
> 
> [2] When i'm setting my PACKAGECONFIG and i'm having one like:
> PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"
> 
> I'm suppose to set:
> PACKAGECONFIG_append_pn-qtbase = " virtual/libgles2"
> and not
> PACKAGECONFIG_append_pn-qtbase = " gles2"
> ?

The later is less wrong, but setting
PACKAGECONFIG_GL_pn-qtbase = "gles2"
is even better.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-23 14:01                               ` Martin Jansa
@ 2014-06-23 16:21                                 ` Kevyn-Alexandre Paré
  2014-06-23 16:51                                   ` Martin Jansa
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-23 16:21 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Jun 23, 2014 at 10:01 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Mon, Jun 23, 2014 at 09:40:28AM -0400, Kevyn-Alexandre Paré wrote:
<snip>
>> Here the way I check that icu is added as part of my image:
>> bitbake -e nirs-console-image | grep -n5 PACKAGECONFIG
>> 2560-# $B_pn-strace
>> 2561-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/distro/include/seperatebuilddir.inc:645
>> 2562-#     "${SEPB}"
>> 2563-B_pn-strace="/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/nirs-console-image/1.0-r0/build"
>> 2564-#
>> 2565:# $PACKAGECONFIG [2 operations]
>> 2566-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/documentation.conf:308
>> 2567-#     [doc] "This variable provides a means of enabling or
>> disabling features of a recipe on a per-recipe basis."
>> 2568-#   _append[pn-qtbase]
>> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta-nirs/recipes-images/gumstix/nirs-console-image.bb:17
>> 2569-#     "   developer   tests   examples   icu   alsa-lib   gles2
>> accessibility   glib-2.0   tslib   linuxfb   sqlite3 "
>
> Are you trying to set PACKAGECONFIG_append_pn-qtbase from
> nirs-console-image.bb? That wont work you need to set it in distro or
> local.conf

Yes I was :( I was rereading ref manual

Configuration file: This method is identical to changing the block
through an append file except you edit your local.conf or
<mydistro>.conf file. As with append files previously described, you
can either completely override the variable:

     PACKAGECONFIG_pn-<recipename>="f4 f5"


Or, you can just amend the variable:

     PACKAGECONFIG_append_pn-<recipename> = " f4"


I Move my PACKAGECONFIG_append to my local.conf

Here my setup for now just trying to make it compile remove the gles
for now it was giving me errors...

bitbake -e qtbase | grep ^PACKAGECONFIG=
PACKAGECONFIG="     release     dbus udev evdev widgets tools libs
openssl     gl          xcb xvideo xsync xshape xrender xrandr xfixes
xinput2 xinput xinerama xcursor gtkstyle xkb     fontconfig freetype
  jpeg libpng zlib     pulseaudio       developer tests examples icu
alsa-lib accessibility glib-2.0 tslib sqlite3

cat tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
| grep ICU
  ICU .................... yes

it's compiling further then before and stop

meta-qt5/recipes-qt/qt5/qtdeclarative_5.2.1.bb, do_compile) failed
with exit code '1'

http://pastebin.com/qJAME8ew

_reading_ qtbase.inc qtwebkit depends on qtdeclarative and it depends
# gl or gles needs to be enabled in order to build qtdeclarative

The error is maybe not related to this but will work on adding gles to my image.

>
>> > Check config.summary in qtbase WORKDIR (where you built qtbase to be
>> > sure it was enabled) and check with bitbake -e that it's really in your
>> > PACKAGECONFIG for qtbase.
>>
>> My bad I didn't check in the WORKDIR only in meta-qt5...
>>
>> Check config.summary:
>> find tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/ -name config.summary
>> tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
>>
>> http://pastebin.com/gZ2Nqa5g
>>
>> Found that ICU is disable:
>>  27 Support enabled for:
>>  28   Accessibility .......... no
>>  29   ALSA ................... no
>>  30   CUPS ................... no
>>  31   FontConfig ............. no
>>  32   FreeType ............... qt
>>  33   Iconv .................. no
>>  34   ICU .................... no
>>
>> Clearly I'm doing something wrong!
>
> Yes, setting PACKAGECONFIG in wrong place.

thx

>
> bitbake -e qtbase | grep ^PACKAGECONFIG=
>
> is what you need to check.
>
>> [1] Will _read_ and try to make the config.summary change to yes...
>>
>> [2] When i'm setting my PACKAGECONFIG and i'm having one like:
>> PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"
>>
>> I'm suppose to set:
>> PACKAGECONFIG_append_pn-qtbase = " virtual/libgles2"
>> and not
>> PACKAGECONFIG_append_pn-qtbase = " gles2"
>> ?
>
> The later is less wrong, but setting
> PACKAGECONFIG_GL_pn-qtbase = "gles2"
> is even better.

For gles2 it's easy to know to use PACKAGECONFIG_GL but how do you
know for example when to put it where? I know it result all in
PACKAGECONFIG but I'm just curious?
ex: glib? PACKAGECONFIG_DISTRO or  PACKAGECONFIG_SYSTEM?

Leaving for a week of vacancy & understanding a lot more thx to you!

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-23 16:21                                 ` Kevyn-Alexandre Paré
@ 2014-06-23 16:51                                   ` Martin Jansa
  2014-07-04 15:00                                     ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Martin Jansa @ 2014-06-23 16:51 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 5759 bytes --]

On Mon, Jun 23, 2014 at 12:21:24PM -0400, Kevyn-Alexandre Paré wrote:
> On Mon, Jun 23, 2014 at 10:01 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Mon, Jun 23, 2014 at 09:40:28AM -0400, Kevyn-Alexandre Paré wrote:
> <snip>
> >> Here the way I check that icu is added as part of my image:
> >> bitbake -e nirs-console-image | grep -n5 PACKAGECONFIG
> >> 2560-# $B_pn-strace
> >> 2561-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/distro/include/seperatebuilddir.inc:645
> >> 2562-#     "${SEPB}"
> >> 2563-B_pn-strace="/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/nirs-console-image/1.0-r0/build"
> >> 2564-#
> >> 2565:# $PACKAGECONFIG [2 operations]
> >> 2566-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/documentation.conf:308
> >> 2567-#     [doc] "This variable provides a means of enabling or
> >> disabling features of a recipe on a per-recipe basis."
> >> 2568-#   _append[pn-qtbase]
> >> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta-nirs/recipes-images/gumstix/nirs-console-image.bb:17
> >> 2569-#     "   developer   tests   examples   icu   alsa-lib   gles2
> >> accessibility   glib-2.0   tslib   linuxfb   sqlite3 "
> >
> > Are you trying to set PACKAGECONFIG_append_pn-qtbase from
> > nirs-console-image.bb? That wont work you need to set it in distro or
> > local.conf
> 
> Yes I was :( I was rereading ref manual
> 
> Configuration file: This method is identical to changing the block
> through an append file except you edit your local.conf or
> <mydistro>.conf file. As with append files previously described, you
> can either completely override the variable:
> 
>      PACKAGECONFIG_pn-<recipename>="f4 f5"
> 
> 
> Or, you can just amend the variable:
> 
>      PACKAGECONFIG_append_pn-<recipename> = " f4"
> 
> 
> I Move my PACKAGECONFIG_append to my local.conf
> 
> Here my setup for now just trying to make it compile remove the gles
> for now it was giving me errors...
> 
> bitbake -e qtbase | grep ^PACKAGECONFIG=
> PACKAGECONFIG="     release     dbus udev evdev widgets tools libs
> openssl     gl          xcb xvideo xsync xshape xrender xrandr xfixes
> xinput2 xinput xinerama xcursor gtkstyle xkb     fontconfig freetype
>   jpeg libpng zlib     pulseaudio       developer tests examples icu
> alsa-lib accessibility glib-2.0 tslib sqlite3
> 
> cat tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
> | grep ICU
>   ICU .................... yes
> 
> it's compiling further then before and stop
> 
> meta-qt5/recipes-qt/qt5/qtdeclarative_5.2.1.bb, do_compile) failed
> with exit code '1'
> 
> http://pastebin.com/qJAME8ew

Try to disable tests for qtdeclarative, they are not tested as often as
default setup so it's possible that there is some issue:
compiling
/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtdeclarative/5.2.1-r0/qtdeclarative-opensource-src-5.2.1/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp
mv: `libplugin1.so' and `./libplugin1.so' are the same file
make[5]: [libplugin1.so] Error 1 (ignored)

> _reading_ qtbase.inc qtwebkit depends on qtdeclarative and it depends
> # gl or gles needs to be enabled in order to build qtdeclarative
> 
> The error is maybe not related to this but will work on adding gles to my image.
> 
> >
> >> > Check config.summary in qtbase WORKDIR (where you built qtbase to be
> >> > sure it was enabled) and check with bitbake -e that it's really in your
> >> > PACKAGECONFIG for qtbase.
> >>
> >> My bad I didn't check in the WORKDIR only in meta-qt5...
> >>
> >> Check config.summary:
> >> find tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/ -name config.summary
> >> tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
> >>
> >> http://pastebin.com/gZ2Nqa5g
> >>
> >> Found that ICU is disable:
> >>  27 Support enabled for:
> >>  28   Accessibility .......... no
> >>  29   ALSA ................... no
> >>  30   CUPS ................... no
> >>  31   FontConfig ............. no
> >>  32   FreeType ............... qt
> >>  33   Iconv .................. no
> >>  34   ICU .................... no
> >>
> >> Clearly I'm doing something wrong!
> >
> > Yes, setting PACKAGECONFIG in wrong place.
> 
> thx
> 
> >
> > bitbake -e qtbase | grep ^PACKAGECONFIG=
> >
> > is what you need to check.
> >
> >> [1] Will _read_ and try to make the config.summary change to yes...
> >>
> >> [2] When i'm setting my PACKAGECONFIG and i'm having one like:
> >> PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"
> >>
> >> I'm suppose to set:
> >> PACKAGECONFIG_append_pn-qtbase = " virtual/libgles2"
> >> and not
> >> PACKAGECONFIG_append_pn-qtbase = " gles2"
> >> ?
> >
> > The later is less wrong, but setting
> > PACKAGECONFIG_GL_pn-qtbase = "gles2"
> > is even better.
> 
> For gles2 it's easy to know to use PACKAGECONFIG_GL but how do you
> know for example when to put it where? I know it result all in
> PACKAGECONFIG but I'm just curious?
> ex: glib? PACKAGECONFIG_DISTRO or  PACKAGECONFIG_SYSTEM?
> 
> Leaving for a week of vacancy & understanding a lot more thx to you!
> 
> BR,
> 
> -KA
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-06-23 16:51                                   ` Martin Jansa
@ 2014-07-04 15:00                                     ` Kevyn-Alexandre Paré
  2014-07-04 15:37                                       ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-07-04 15:00 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Jun 23, 2014 at 12:51 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Mon, Jun 23, 2014 at 12:21:24PM -0400, Kevyn-Alexandre Paré wrote:
>> On Mon, Jun 23, 2014 at 10:01 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> > On Mon, Jun 23, 2014 at 09:40:28AM -0400, Kevyn-Alexandre Paré wrote:
>> <snip>
>> >> Here the way I check that icu is added as part of my image:
>> >> bitbake -e nirs-console-image | grep -n5 PACKAGECONFIG
>> >> 2560-# $B_pn-strace
>> >> 2561-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/distro/include/seperatebuilddir.inc:645
>> >> 2562-#     "${SEPB}"
>> >> 2563-B_pn-strace="/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/nirs-console-image/1.0-r0/build"
>> >> 2564-#
>> >> 2565:# $PACKAGECONFIG [2 operations]
>> >> 2566-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/documentation.conf:308
>> >> 2567-#     [doc] "This variable provides a means of enabling or
>> >> disabling features of a recipe on a per-recipe basis."
>> >> 2568-#   _append[pn-qtbase]
>> >> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta-nirs/recipes-images/gumstix/nirs-console-image.bb:17
>> >> 2569-#     "   developer   tests   examples   icu   alsa-lib   gles2
>> >> accessibility   glib-2.0   tslib   linuxfb   sqlite3 "
>> >
>> > Are you trying to set PACKAGECONFIG_append_pn-qtbase from
>> > nirs-console-image.bb? That wont work you need to set it in distro or
>> > local.conf
>>
>> Yes I was :( I was rereading ref manual
>>
>> Configuration file: This method is identical to changing the block
>> through an append file except you edit your local.conf or
>> <mydistro>.conf file. As with append files previously described, you
>> can either completely override the variable:
>>
>>      PACKAGECONFIG_pn-<recipename>="f4 f5"
>>
>>
>> Or, you can just amend the variable:
>>
>>      PACKAGECONFIG_append_pn-<recipename> = " f4"
>>
>>
>> I Move my PACKAGECONFIG_append to my local.conf
>>
>> Here my setup for now just trying to make it compile remove the gles
>> for now it was giving me errors...
>>
>> bitbake -e qtbase | grep ^PACKAGECONFIG=
>> PACKAGECONFIG="     release     dbus udev evdev widgets tools libs
>> openssl     gl          xcb xvideo xsync xshape xrender xrandr xfixes
>> xinput2 xinput xinerama xcursor gtkstyle xkb     fontconfig freetype
>>   jpeg libpng zlib     pulseaudio       developer tests examples icu
>> alsa-lib accessibility glib-2.0 tslib sqlite3
>>
>> cat tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
>> | grep ICU
>>   ICU .................... yes
>>
>> it's compiling further then before and stop
>>
>> meta-qt5/recipes-qt/qt5/qtdeclarative_5.2.1.bb, do_compile) failed
>> with exit code '1'
>>
>> http://pastebin.com/qJAME8ew
>
> Try to disable tests for qtdeclarative, they are not tested as often as
> default setup so it's possible that there is some issue:
> compiling
> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtdeclarative/5.2.1-r0/qtdeclarative-opensource-src-5.2.1/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp
> mv: `libplugin1.so' and `./libplugin1.so' are the same file
> make[5]: [libplugin1.so] Error 1 (ignored)
>

thx will try to make something more simple work and then will go back
to add "gles" and the config (PACKAGECONFIG) that depends on it.

Simple qt with frame buffer:

# Remove GL & X11 and replace directfb to linuxfb
# conf/local.conf
PACKAGECONFIG_GL_pn-qtbase = ""
PACKAGECONFIG_X11_pn-qtbase = ""
PACKAGECONFIG_FB_pn-qtbase = "linuxfb"

# Package config enable
# bitbake -e qtbase | grep ^PACKAGECONFIG=
PACKAGECONFIG="     release     dbus udev evdev widgets tools libs
openssl          linuxfb               jpeg libpng zlib     pulseaudio
     "

# Package enable in the iamge recipe
# recipes recipes-images/gumstix/nirs-console-image.bb
require recipes-images/gumstix/gumstix-console-image.bb

inherit populate_sdk_qt5

IMAGE_INSTALL += " \
  bzip2 \
  u-boot \
  u-boot-fw-utils \
  psplash \
  qtbase \
  qtbase-fonts \
  qtbase-fonts-ttf-vera \
  qtbase-fonts-ttf-dejavu \
  qtbase-fonts-pfa \
  qtbase-fonts-pfb \
  qtbase-fonts-qpf \
  qtbase-tools \
  qtbase-plugins \
  qtbase-dev \
"

# Compile
bitbake nirs-console-image

# This result on an image


# Them try to generate the SDK to use with qtcreator
# Populate SDK
bitbake -c populate_sdk nirs-console-image

# This result with error not founding the
Computing transaction...error: Can't install
qtwebkit-dev-5.2.1-r0@armv7a_vfp_neon: no package provides qtwebkit =
5.2.1-r0
http://pastebin.com/Tc8qtu6W

[1] Is it possible to use qtcreator without the populate_sdk?
[2] Any recommendation on how to compile a hello world without the SDK?

BR,

-KA


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

* Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
  2014-07-04 15:00                                     ` Kevyn-Alexandre Paré
@ 2014-07-04 15:37                                       ` Kevyn-Alexandre Paré
  0 siblings, 0 replies; 22+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-07-04 15:37 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Jul 4, 2014 at 11:00 AM, Kevyn-Alexandre Paré
<kapare@rogue-research.com> wrote:
> On Mon, Jun 23, 2014 at 12:51 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> On Mon, Jun 23, 2014 at 12:21:24PM -0400, Kevyn-Alexandre Paré wrote:
>>> On Mon, Jun 23, 2014 at 10:01 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>> > On Mon, Jun 23, 2014 at 09:40:28AM -0400, Kevyn-Alexandre Paré wrote:
>>> <snip>
>>> >> Here the way I check that icu is added as part of my image:
>>> >> bitbake -e nirs-console-image | grep -n5 PACKAGECONFIG
>>> >> 2560-# $B_pn-strace
>>> >> 2561-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/distro/include/seperatebuilddir.inc:645
>>> >> 2562-#     "${SEPB}"
>>> >> 2563-B_pn-strace="/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/nirs-console-image/1.0-r0/build"
>>> >> 2564-#
>>> >> 2565:# $PACKAGECONFIG [2 operations]
>>> >> 2566-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/documentation.conf:308
>>> >> 2567-#     [doc] "This variable provides a means of enabling or
>>> >> disabling features of a recipe on a per-recipe basis."
>>> >> 2568-#   _append[pn-qtbase]
>>> >> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta-nirs/recipes-images/gumstix/nirs-console-image.bb:17
>>> >> 2569-#     "   developer   tests   examples   icu   alsa-lib   gles2
>>> >> accessibility   glib-2.0   tslib   linuxfb   sqlite3 "
>>> >
>>> > Are you trying to set PACKAGECONFIG_append_pn-qtbase from
>>> > nirs-console-image.bb? That wont work you need to set it in distro or
>>> > local.conf
>>>
>>> Yes I was :( I was rereading ref manual
>>>
>>> Configuration file: This method is identical to changing the block
>>> through an append file except you edit your local.conf or
>>> <mydistro>.conf file. As with append files previously described, you
>>> can either completely override the variable:
>>>
>>>      PACKAGECONFIG_pn-<recipename>="f4 f5"
>>>
>>>
>>> Or, you can just amend the variable:
>>>
>>>      PACKAGECONFIG_append_pn-<recipename> = " f4"
>>>
>>>
>>> I Move my PACKAGECONFIG_append to my local.conf
>>>
>>> Here my setup for now just trying to make it compile remove the gles
>>> for now it was giving me errors...
>>>
>>> bitbake -e qtbase | grep ^PACKAGECONFIG=
>>> PACKAGECONFIG="     release     dbus udev evdev widgets tools libs
>>> openssl     gl          xcb xvideo xsync xshape xrender xrandr xfixes
>>> xinput2 xinput xinerama xcursor gtkstyle xkb     fontconfig freetype
>>>   jpeg libpng zlib     pulseaudio       developer tests examples icu
>>> alsa-lib accessibility glib-2.0 tslib sqlite3
>>>
>>> cat tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
>>> | grep ICU
>>>   ICU .................... yes
>>>
>>> it's compiling further then before and stop
>>>
>>> meta-qt5/recipes-qt/qt5/qtdeclarative_5.2.1.bb, do_compile) failed
>>> with exit code '1'
>>>
>>> http://pastebin.com/qJAME8ew
>>
>> Try to disable tests for qtdeclarative, they are not tested as often as
>> default setup so it's possible that there is some issue:
>> compiling
>> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtdeclarative/5.2.1-r0/qtdeclarative-opensource-src-5.2.1/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp
>> mv: `libplugin1.so' and `./libplugin1.so' are the same file
>> make[5]: [libplugin1.so] Error 1 (ignored)
>>
>
> thx will try to make something more simple work and then will go back
> to add "gles" and the config (PACKAGECONFIG) that depends on it.
>
> Simple qt with frame buffer:
>
> # Remove GL & X11 and replace directfb to linuxfb
> # conf/local.conf
> PACKAGECONFIG_GL_pn-qtbase = ""
> PACKAGECONFIG_X11_pn-qtbase = ""
> PACKAGECONFIG_FB_pn-qtbase = "linuxfb"
>
> # Package config enable
> # bitbake -e qtbase | grep ^PACKAGECONFIG=
> PACKAGECONFIG="     release     dbus udev evdev widgets tools libs
> openssl          linuxfb               jpeg libpng zlib     pulseaudio
>      "
>
> # Package enable in the iamge recipe
> # recipes recipes-images/gumstix/nirs-console-image.bb
> require recipes-images/gumstix/gumstix-console-image.bb
>
> inherit populate_sdk_qt5
>
> IMAGE_INSTALL += " \
>   bzip2 \
>   u-boot \
>   u-boot-fw-utils \
>   psplash \
>   qtbase \
>   qtbase-fonts \
>   qtbase-fonts-ttf-vera \
>   qtbase-fonts-ttf-dejavu \
>   qtbase-fonts-pfa \
>   qtbase-fonts-pfb \
>   qtbase-fonts-qpf \
>   qtbase-tools \
>   qtbase-plugins \
>   qtbase-dev \
> "
>
> # Compile
> bitbake nirs-console-image
>
> # This result on an image
>
>
> # Them try to generate the SDK to use with qtcreator
> # Populate SDK
> bitbake -c populate_sdk nirs-console-image
>
> # This result with error not founding the
> Computing transaction...error: Can't install
> qtwebkit-dev-5.2.1-r0@armv7a_vfp_neon: no package provides qtwebkit =
> 5.2.1-r0
> http://pastebin.com/Tc8qtu6W
>
> [1] Is it possible to use qtcreator without the populate_sdk?

I'm asking this one because qtcreator when adding qmake in Menu Tools
/ Options / Qt Versions it always result in error when adding

./tmp/sysroots/x86_64-linux/usr/bin/qt5/qmake

or others in my build folder...

The error is : Qt Version is not properly installed , please run make install

BR,

-KA


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

end of thread, other threads:[~2014-07-04 15:37 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-19 18:49 [yocto][meta-qt5][daisy] Error during bitbake of my image Kevyn-Alexandre Paré
2014-06-19 19:26 ` Martin Jansa
2014-06-19 20:32   ` Kevyn-Alexandre Paré
2014-06-19 21:08     ` Martin Jansa
2014-06-19 21:34       ` Kevyn-Alexandre Paré
2014-06-19 23:06         ` Kevyn-Alexandre Paré
2014-06-19 23:21           ` Martin Jansa
2014-06-20  0:38             ` Kevyn-Alexandre Paré
2014-06-20  8:13               ` Martin Jansa
2014-06-20 22:30                 ` Kevyn-Alexandre Paré
2014-06-20 23:48                   ` Martin Jansa
2014-06-21  0:22                     ` Kevyn-Alexandre Paré
2014-06-21  0:32                       ` Kevyn-Alexandre Paré
2014-06-21  1:05                       ` Martin Jansa
2014-06-21  3:35                         ` Kevyn-Alexandre Paré
2014-06-21  7:47                           ` Martin Jansa
2014-06-23 13:40                             ` Kevyn-Alexandre Paré
2014-06-23 14:01                               ` Martin Jansa
2014-06-23 16:21                                 ` Kevyn-Alexandre Paré
2014-06-23 16:51                                   ` Martin Jansa
2014-07-04 15:00                                     ` Kevyn-Alexandre Paré
2014-07-04 15:37                                       ` Kevyn-Alexandre Paré

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.