All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: i.MX6DL Qt5.5 Image
@ 2015-11-24 13:25 Cleiton Bueno
  0 siblings, 0 replies; 7+ messages in thread
From: Cleiton Bueno @ 2015-11-24 13:25 UTC (permalink / raw)
  To: yocto

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

Recipe alsa-utils-alsaconf only create config alsa, can be migrate the
recipe fido to jethro:

http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.28.bb?h=fido

-- 

*Att,Cleiton Bueno*

Blog <http://www.cleitonbueno.com> | Linkedin
<http://br.linkedin.com/in/cleitonbueno> | Portal Embarcados
<http://www.embarcados.com.br/author/cleitonrbuenogmail-com/>

[-- Attachment #2: Type: text/html, Size: 939 bytes --]

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

* Re: i.MX6DL Qt5.5 Image
  2015-11-24  4:41       ` Charles Chau
@ 2015-11-24  7:26         ` Tanu Kaskinen
  0 siblings, 0 replies; 7+ messages in thread
From: Tanu Kaskinen @ 2015-11-24  7:26 UTC (permalink / raw)
  To: Charles Chau; +Cc: yocto

On Mon, 2015-11-23 at 20:41 -0800, Charles Chau wrote:
> Thank you very much for replying,
> 
> Most of the problem I encounter is Package Dependencies which I cannot 
> find anywhere (with Google).

Do you mean you can't find the dependencies, or you can't find
documentation for how dependencies work?

If you mean you can't find the dependencies, Google isn't really the
tool to look for them. The things that have caused problems for you so
far are alsa-plugins and mesa, which both can be found in the Poky git
repository. In the Poky git checkout, which I assume you already have,
"git ls-files | grep foo" can be used to look for recipes named "foo",
and "git grep foo" can be used to figure out in which recipe a given
package is defined.

If you're looking for documentation,
https://yoctoproject.org/documentation has lots of it.

> I am still learning the components to 
> build an image so Yocto is confusing.
> 
> I wanted to build qt5 for free i.MX6 board.
> In the beginning, I was trying to build core-image-minimal and all the 
> dependencies error popped up.
> So I change to only bitbake qtbase, to start from small.

Ah, now I understand what you meant by "only bitbake qtbase". For some
reason I didn't at first realize that you meant running "bitbake
qtbase" on the command line.

> Right now, I have deleted libgl-mesa-dev from
> /meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
> 
> Although I still encounter Kernel issue, at least it get passed the 
> configuring stage.
> 
> The thing I want to learn is that, How can I add libgl-mesa-dev to my 
> Yocto build without delete stuff. I tried to add "mesa" to 
> "IMAGE_INSTALL_append" and it did not work though.

You don't need to add stuff to IMAGE_INSTALL, the recipes already have
the dependency information in them. For example, imx-gpu-viv.inc
contains this:

DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \
                             base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
                                           '', d), d)}"

That means that if "x11" is included in DISTRO_FEATURES, then imx-gpu-
viv.inc depends on the mesa recipe, which provides the libgl-mesa-dev
package. Now the error you got says that nothing provides libgl-mesa-
dev. I think you would have got a different error if the mesa recipe
wouldn't have been found. Therefore, I think the problem is that "x11"
is not in DISTRO_FEATURES, which means that as far as bitbake is
concerned, there's no need to care about mesa. Since bitbake ignores
the mesa recipe, it doesn't know about the libgl-mesa-dev package
either.

If that analysis is correct, then imx-gpu-viv.inc appears to be buggy.
It contains this line:

RDEPENDS_libgl-mx6-dev += "libgl-mesa-dev"

That means that the libgl-mx6-dev package depends on libgl-mesa-dev. If
imx-gpu-viv.inc is supposed to support the case where X11 is not
enabled, then there should not be unconditional dependencies on
packages that are only provided if X11 is enabled.

So what should you do? If you want to use X11, I think you just need to
add "x11" to DISTRO_FEATURES. If you don't want to use X11, complain to
the meta-fsl-arm maintainers about the bug in imx-gpu-viv.inc (well, it
would be good to complain to them anyway, since bugs should be fixed,
and I don't know if they have noticed this thread).

-- Tanu


> For example, if I miss gnome, I would go to the web to find it and git 
> clone, then go to bblayers and add gnome path. But package definition or 
> libraries are different, I just do not know how they work.
> 
> Again, thank you!!!
> 
> On 11/23/2015 7:33 PM, Tanu Kaskinen wrote:
> > On Mon, 2015-11-23 at 14:28 -0800, Charles Chau wrote:
> > > I have meta-fsl-arm, meta-fsl-arm-extra, and meta-fsl-demos.  I checked
> > > and it has fsl-alsa-plugin as well as alsa-plugin.
> > > 
> > > I tried to delete the recipes-multimedia in meta-fsl-arm, and it fails
> > > during compile.
> > > What should I do?
> > Deleting everything in recipes-multimedia seems overkill if the only
> > problem was that the meta-fsl-* layers had an alsa-plugins recipe that
> > overrode the Poky version.
> > 
> > Regarding the compilation failure, it's hard to say anything without
> > knowing the exact error.
> > 
> > By the way, the layer search engine didn't find alsa-plugins in the
> > meta-fsl-* repos:
> > http://layers.openembedded.org/layerindex/branch/master/recipes/?q=alsa-plugins
> > 
> > Only fsl-alsa-plugins was found, which is a different thing. This makes
> > me doubt a bit your statement that the meta-fsl-* layers would contain
> > an alsa-plugins recipe, but maybe you have your recipes from some
> > repository that isn't known to the search engine... I'm not personally
> > familiar with any of the fsl repos.
> > 
> > > --------
> > > I have narrow down to only bitbake qtbase  (Jethro branch)
> > I don't understand what you mean by this.
> > 
> > > and still get
> > > the libgl-mesa-dev dependencies error.  How do I add the library Package
> > > into Yocto? Is it already there? I just don't know how to use it.
> > > 
> > > Seems like I am missing a bunch:  libgles3-mx6-dev, imx-gpu-viv-dev,
> > > libclc-mx6, libgl-mesa-dev...
> > > 
> > >       ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but
> > > /mountdata/hio-yocto-bsp/sources/meta-fsl-arm/recipes-
> > > graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.1-hfp.bb RDEPENDS on or
> > > otherwise requires it)
> > meta/recipes-graphics/mesa/mesa.inc from Poky contains the libgl-mesa-
> > dev package definition. I don't know what the problem might be.
> > 
> > -- Tanu
> > 
> > 
> > > Thank you very much,
> > > 
> > > On 11/23/2015 08:20 AM, Tanu Kaskinen wrote:
> > > > On Fri, 2015-11-20 at 17:01 -0800, Charles Chau wrote:
> > > > > Hello,
> > > > > 
> > > > > I am trying to upgrade my image from Daisy to Jethro.
> > > > > 
> > > > > I followed this tutorial from Wandboard
> > > > > http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
> > > > > The Core Board I am using is Freescale i.MX6DL board
> > > > > 
> > > > > I am getting a lot of error of dependencies from the previous tutorial
> > > > > IMAGE_INSTALL_append and could not find the recipes for them.
> > > > > 
> > > > > > ERROR: Nothing RPROVIDES 'alsa-plugins-pulseaudio-conf' (but
> > > > > > /mountdata/hio-yocto-bsp/sources/poky/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb
> > > > > > RDEPENDS on or otherwise requires it)
> > > > The alsa-plugins recipe from Jethro should provide alsa-plugins-
> > > > pulseaudio-conf, unless you have explicitly disabled pulseaudio
> > > > support. Do you perhaps have a different alsa-plugins recipe provided
> > > > by some other layer that overrides Poky? alsa-plugins was not included
> > > > in Poky before Jethro, so it might appear in other layers.
> > > > 
> > > > 
> 


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

* Re: i.MX6DL Qt5.5 Image
  2015-11-24  3:33     ` Tanu Kaskinen
@ 2015-11-24  4:41       ` Charles Chau
  2015-11-24  7:26         ` Tanu Kaskinen
  0 siblings, 1 reply; 7+ messages in thread
From: Charles Chau @ 2015-11-24  4:41 UTC (permalink / raw)
  To: Tanu Kaskinen; +Cc: yocto

Thank you very much for replying,

Most of the problem I encounter is Package Dependencies which I cannot 
find anywhere (with Google).  I am still learning the components to 
build an image so Yocto is confusing.

I wanted to build qt5 for free i.MX6 board.
In the beginning, I was trying to build core-image-minimal and all the 
dependencies error popped up.
So I change to only bitbake qtbase, to start from small.

Right now, I have deleted libgl-mesa-dev from
/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc

Although I still encounter Kernel issue, at least it get passed the 
configuring stage.

The thing I want to learn is that, How can I add libgl-mesa-dev to my 
Yocto build without delete stuff. I tried to add "mesa" to 
"IMAGE_INSTALL_append" and it did not work though.

For example, if I miss gnome, I would go to the web to find it and git 
clone, then go to bblayers and add gnome path. But package definition or 
libraries are different, I just do not know how they work.

Again, thank you!!!

On 11/23/2015 7:33 PM, Tanu Kaskinen wrote:
> On Mon, 2015-11-23 at 14:28 -0800, Charles Chau wrote:
>> I have meta-fsl-arm, meta-fsl-arm-extra, and meta-fsl-demos.  I checked
>> and it has fsl-alsa-plugin as well as alsa-plugin.
>>
>> I tried to delete the recipes-multimedia in meta-fsl-arm, and it fails
>> during compile.
>> What should I do?
> Deleting everything in recipes-multimedia seems overkill if the only
> problem was that the meta-fsl-* layers had an alsa-plugins recipe that
> overrode the Poky version.
>
> Regarding the compilation failure, it's hard to say anything without
> knowing the exact error.
>
> By the way, the layer search engine didn't find alsa-plugins in the
> meta-fsl-* repos:
> http://layers.openembedded.org/layerindex/branch/master/recipes/?q=alsa-plugins
>
> Only fsl-alsa-plugins was found, which is a different thing. This makes
> me doubt a bit your statement that the meta-fsl-* layers would contain
> an alsa-plugins recipe, but maybe you have your recipes from some
> repository that isn't known to the search engine... I'm not personally
> familiar with any of the fsl repos.
>
>> --------
>> I have narrow down to only bitbake qtbase  (Jethro branch)
> I don't understand what you mean by this.
>
>> and still get
>> the libgl-mesa-dev dependencies error.  How do I add the library Package
>> into Yocto? Is it already there? I just don't know how to use it.
>>
>> Seems like I am missing a bunch:  libgles3-mx6-dev, imx-gpu-viv-dev,
>> libclc-mx6, libgl-mesa-dev...
>>
>>       ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but
>> /mountdata/hio-yocto-bsp/sources/meta-fsl-arm/recipes-
>> graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.1-hfp.bb RDEPENDS on or
>> otherwise requires it)
> meta/recipes-graphics/mesa/mesa.inc from Poky contains the libgl-mesa-
> dev package definition. I don't know what the problem might be.
>
> -- Tanu
>
>
>> Thank you very much,
>>
>> On 11/23/2015 08:20 AM, Tanu Kaskinen wrote:
>>> On Fri, 2015-11-20 at 17:01 -0800, Charles Chau wrote:
>>>> Hello,
>>>>
>>>> I am trying to upgrade my image from Daisy to Jethro.
>>>>
>>>> I followed this tutorial from Wandboard
>>>> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
>>>> The Core Board I am using is Freescale i.MX6DL board
>>>>
>>>> I am getting a lot of error of dependencies from the previous tutorial
>>>> IMAGE_INSTALL_append and could not find the recipes for them.
>>>>
>>>>> ERROR: Nothing RPROVIDES 'alsa-plugins-pulseaudio-conf' (but
>>>>> /mountdata/hio-yocto-bsp/sources/poky/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb
>>>>> RDEPENDS on or otherwise requires it)
>>> The alsa-plugins recipe from Jethro should provide alsa-plugins-
>>> pulseaudio-conf, unless you have explicitly disabled pulseaudio
>>> support. Do you perhaps have a different alsa-plugins recipe provided
>>> by some other layer that overrides Poky? alsa-plugins was not included
>>> in Poky before Jethro, so it might appear in other layers.
>>>
>>>

-- 
Charles Chau

HABEY USA
21015 Commerce Point Drive
Walnut, CA 91789
Tel: 909-594-7600 x 101
Email: charles.chau@habeyusa.com
Web: www.habeyusa.com



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

* Re: i.MX6DL Qt5.5 Image
  2015-11-23 22:28   ` Charles Chau
@ 2015-11-24  3:33     ` Tanu Kaskinen
  2015-11-24  4:41       ` Charles Chau
  0 siblings, 1 reply; 7+ messages in thread
From: Tanu Kaskinen @ 2015-11-24  3:33 UTC (permalink / raw)
  To: Charles Chau, yocto

On Mon, 2015-11-23 at 14:28 -0800, Charles Chau wrote:
> I have meta-fsl-arm, meta-fsl-arm-extra, and meta-fsl-demos.  I checked 
> and it has fsl-alsa-plugin as well as alsa-plugin.
> 
> I tried to delete the recipes-multimedia in meta-fsl-arm, and it fails 
> during compile.
> What should I do?

Deleting everything in recipes-multimedia seems overkill if the only
problem was that the meta-fsl-* layers had an alsa-plugins recipe that
overrode the Poky version.

Regarding the compilation failure, it's hard to say anything without
knowing the exact error.

By the way, the layer search engine didn't find alsa-plugins in the
meta-fsl-* repos:
http://layers.openembedded.org/layerindex/branch/master/recipes/?q=alsa-plugins

Only fsl-alsa-plugins was found, which is a different thing. This makes
me doubt a bit your statement that the meta-fsl-* layers would contain
an alsa-plugins recipe, but maybe you have your recipes from some
repository that isn't known to the search engine... I'm not personally
familiar with any of the fsl repos.

> --------
> I have narrow down to only bitbake qtbase  (Jethro branch)

I don't understand what you mean by this.

> and still get 
> the libgl-mesa-dev dependencies error.  How do I add the library Package 
> into Yocto? Is it already there? I just don't know how to use it.
> 
> Seems like I am missing a bunch:  libgles3-mx6-dev, imx-gpu-viv-dev, 
> libclc-mx6, libgl-mesa-dev...
> 
>      ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but 
> /mountdata/hio-yocto-bsp/sources/meta-fsl-arm/recipes- 
> graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.1-hfp.bb RDEPENDS on or 
> otherwise requires it)

meta/recipes-graphics/mesa/mesa.inc from Poky contains the libgl-mesa-
dev package definition. I don't know what the problem might be.

-- Tanu


> Thank you very much,
> 
> On 11/23/2015 08:20 AM, Tanu Kaskinen wrote:
> > On Fri, 2015-11-20 at 17:01 -0800, Charles Chau wrote:
> > > Hello,
> > > 
> > > I am trying to upgrade my image from Daisy to Jethro.
> > > 
> > > I followed this tutorial from Wandboard
> > > http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
> > > The Core Board I am using is Freescale i.MX6DL board
> > > 
> > > I am getting a lot of error of dependencies from the previous tutorial
> > > IMAGE_INSTALL_append and could not find the recipes for them.
> > > 
> > > > ERROR: Nothing RPROVIDES 'alsa-plugins-pulseaudio-conf' (but
> > > > /mountdata/hio-yocto-bsp/sources/poky/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb
> > > > RDEPENDS on or otherwise requires it)
> > The alsa-plugins recipe from Jethro should provide alsa-plugins-
> > pulseaudio-conf, unless you have explicitly disabled pulseaudio
> > support. Do you perhaps have a different alsa-plugins recipe provided
> > by some other layer that overrides Poky? alsa-plugins was not included
> > in Poky before Jethro, so it might appear in other layers.
> > 
> > 
> 


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

* Re: i.MX6DL Qt5.5 Image
  2015-11-23 16:20 ` Tanu Kaskinen
@ 2015-11-23 22:28   ` Charles Chau
  2015-11-24  3:33     ` Tanu Kaskinen
  0 siblings, 1 reply; 7+ messages in thread
From: Charles Chau @ 2015-11-23 22:28 UTC (permalink / raw)
  To: Tanu Kaskinen, yocto

I have meta-fsl-arm, meta-fsl-arm-extra, and meta-fsl-demos.  I checked 
and it has fsl-alsa-plugin as well as alsa-plugin.

I tried to delete the recipes-multimedia in meta-fsl-arm, and it fails 
during compile.
What should I do?
--------
I have narrow down to only bitbake qtbase  (Jethro branch) and still get 
the libgl-mesa-dev dependencies error.  How do I add the library Package 
into Yocto? Is it already there? I just don't know how to use it.

Seems like I am missing a bunch:  libgles3-mx6-dev, imx-gpu-viv-dev, 
libclc-mx6, libgl-mesa-dev...

     ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but 
/mountdata/hio-yocto-bsp/sources/meta-fsl-arm/recipes- 
graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.1-hfp.bb RDEPENDS on or 
otherwise requires it)

Thank you very much,

On 11/23/2015 08:20 AM, Tanu Kaskinen wrote:
> On Fri, 2015-11-20 at 17:01 -0800, Charles Chau wrote:
>> Hello,
>>
>> I am trying to upgrade my image from Daisy to Jethro.
>>
>> I followed this tutorial from Wandboard
>> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
>> The Core Board I am using is Freescale i.MX6DL board
>>
>> I am getting a lot of error of dependencies from the previous tutorial
>> IMAGE_INSTALL_append and could not find the recipes for them.
>>
>>> ERROR: Nothing RPROVIDES 'alsa-plugins-pulseaudio-conf' (but
>>> /mountdata/hio-yocto-bsp/sources/poky/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb
>>> RDEPENDS on or otherwise requires it)
> The alsa-plugins recipe from Jethro should provide alsa-plugins-
> pulseaudio-conf, unless you have explicitly disabled pulseaudio
> support. Do you perhaps have a different alsa-plugins recipe provided
> by some other layer that overrides Poky? alsa-plugins was not included
> in Poky before Jethro, so it might appear in other layers.
>
>

-- 
Charles Chau



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

* Re: i.MX6DL Qt5.5 Image
  2015-11-21  1:01 Charles Chau
@ 2015-11-23 16:20 ` Tanu Kaskinen
  2015-11-23 22:28   ` Charles Chau
  0 siblings, 1 reply; 7+ messages in thread
From: Tanu Kaskinen @ 2015-11-23 16:20 UTC (permalink / raw)
  To: Charles Chau, yocto

On Fri, 2015-11-20 at 17:01 -0800, Charles Chau wrote:
> Hello,
> 
> I am trying to upgrade my image from Daisy to Jethro.
> 
> I followed this tutorial from Wandboard 
> http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
> The Core Board I am using is Freescale i.MX6DL board
> 
> I am getting a lot of error of dependencies from the previous tutorial 
> IMAGE_INSTALL_append and could not find the recipes for them.
> 
> > ERROR: Nothing RPROVIDES 'alsa-plugins-pulseaudio-conf' (but 
> > /mountdata/hio-yocto-bsp/sources/poky/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb 
> > RDEPENDS on or otherwise requires it)

The alsa-plugins recipe from Jethro should provide alsa-plugins-
pulseaudio-conf, unless you have explicitly disabled pulseaudio
support. Do you perhaps have a different alsa-plugins recipe provided
by some other layer that overrides Poky? alsa-plugins was not included
in Poky before Jethro, so it might appear in other layers.


-- 
Tanu


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

* i.MX6DL Qt5.5 Image
@ 2015-11-21  1:01 Charles Chau
  2015-11-23 16:20 ` Tanu Kaskinen
  0 siblings, 1 reply; 7+ messages in thread
From: Charles Chau @ 2015-11-21  1:01 UTC (permalink / raw)
  To: yocto

Hello,

I am trying to upgrade my image from Daisy to Jethro.

I followed this tutorial from Wandboard 
http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
The Core Board I am using is Freescale i.MX6DL board

I am getting a lot of error of dependencies from the previous tutorial 
IMAGE_INSTALL_append and could not find the recipes for them.

> ERROR: Nothing RPROVIDES 'alsa-plugins-pulseaudio-conf' (but 
> /mountdata/hio-yocto-bsp/sources/poky/meta/recipes-multimedia/pulseaudio/pulseaudio_6.0.bb 
> RDEPENDS on or otherwise requires it)
> ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but 
> /mountdata/hio-yocto-bsp/sources/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.1-hfp.bb 
> RDEPENDS on or otherwise requires it)
> ERROR: Required build target 'hio-image-fb' has no buildable providers.
> Missing or unbuildable dependency chain was: ['hio-image-fb', 
> 'gst1.0-fsl-plugin', 'virtual/libg2d', 'libgl-mesa-dev']
I am still pretty new with the layers and applications and still 
finguring out the functionality of each items.

Could you please give me some instructions?

Thank you,

-- 
Charles Chau



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

end of thread, other threads:[~2015-11-24 13:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24 13:25 i.MX6DL Qt5.5 Image Cleiton Bueno
  -- strict thread matches above, loose matches on Subject: below --
2015-11-21  1:01 Charles Chau
2015-11-23 16:20 ` Tanu Kaskinen
2015-11-23 22:28   ` Charles Chau
2015-11-24  3:33     ` Tanu Kaskinen
2015-11-24  4:41       ` Charles Chau
2015-11-24  7:26         ` Tanu Kaskinen

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.