[meta-freescale] Hob error during dependency tree checking

Paul Lau paul.lau at checkpt.com
Sun Sep 27 11:28:29 PDT 2015


Otavio Salvador <otavio at ...> writes:

> 
> Hello Timur,
> 
> On Mon, Mar 3, 2014 at 10:35 AM, Timur Aydin <ta at ...> wrote:
> >> You seem to be using a mix of releases; master has 9.2.5 mesa 
release
> >> (IIRC) and has a bbappend file to address this.
> >>
> >
> > I have now wiped out the entire fsl-community-bsp folder and started
> > from scratch. Now the correct version of mesa is being picked up
> > (version 9.2.5). When first initializing my local repo, I had used 
the
> > dora branch and then did a repo checkout master to switch to master. 
But
> > apparently something went wrong there and I was still stuck at the 
dora
> > branch.
> >
> > Anyway, now I am definitely at the master branch and unfortunately, 
the
> > problem is still happening:
> >
> > Trying to resolve runtime dependency libgl resulted in conflicting
> > PREFERRED_PROVIDER entries being found.
> > The providers found were:
> > ['/home/ta/fsl-community-bsp/sources/poky/meta/recipes-
graphics/mesa/mesa_9.2.5.bb',
> > '/home/ta/fsl-community-bsp/sources/meta-fsl-arm/recipes-
graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb']
> > The PREFERRED_PROVIDER entries resulting in this conflict were:
> > ['PREFERRED_PROVIDER_virtual/mesa = mesa',
> > 'PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q']
> >
> > Trying to resolve runtime dependency libgl-dev resulted in 
conflicting
> > PREFERRED_PROVIDER entries being found.
> > The providers found were:
> > ['/home/ta/fsl-community-bsp/sources/poky/meta/recipes-
graphics/mesa/mesa_9.2.5.bb',
> > '/home/ta/fsl-community-bsp/sources/meta-fsl-arm/recipes-
graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb']
> > The PREFERRED_PROVIDER entries resulting in this conflict were:
> > ['PREFERRED_PROVIDER_virtual/mesa = mesa',
> > 'PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q']
> >
> > Please let me know if you can think of anything else that I can 
check.
> 
> It seems Hob deals in a different way with this. I think you'll need
> to debug it. At O.S. Systems we don't have any customers using this.
> 
> Regards,
> 

The problem is that libgl should have used gpu-vivante as preferred 
provider rather than set as a conflicting provider to mesa. Here is a 
work around I found from the Freescale community forum. It disable mesa 
as a provider by force to avoid the conflict (certainly not the right 
fix in my opionion, just enough to get by for now. I verified that it 
works in Dizzy as well).

Here is the Quote from original post by Durmuş Kurtuluş
----------------------------------------------------------------
Since there are 2 conflicting PREFERRED_PROVIDERs, I've just removed the 
one in /sources/poky/...
 
I've edited the line in the file mesa-gl_9.2.5.bb (your version might be 
different) inside the folder /fsl-release-bsp/sources/poky/meta/recipes-
graphics/mesa as follows:
 
PROVIDES = "virtual/libgl virtual/mesa" ---->>>> PROVIDES = ""
 
And that's it. I'm now able to build images for i.MX6 using hob in 
daisy.



More information about the meta-freescale mailing list