All of lore.kernel.org
 help / color / mirror / Atom feed
* Hob error during dependency tree checking
@ 2014-02-13 15:57 Timur Aydin
  2014-02-28 22:44 ` Johan Wadefalk
  2014-03-03 12:30 ` Otavio Salvador
  0 siblings, 2 replies; 7+ messages in thread
From: Timur Aydin @ 2014-02-13 15:57 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Hi,

I am running hob on the master branch (did sync yesterday). Hob stops
with the following error dialogs while working on the dependency tree.
This was reported earlier on another mailing list, but didn't receive
any responses. Any suggestions how to further troubleshoot this? I can
work on debugging this if somebody can put me in the right direction.


Trying to resolve runtime dependency libgl resulted in conflicting
PREFERRED_PROVIDER entries being found.
The providers found were:
['/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',
'/home/ta/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/mesa_9.1.6.bb']
The PREFERRED_PROVIDER entries resulting in this conflict were:
['PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q',
'PREFERRED_PROVIDER_virtual/mesa = mesa']

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/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb',
'/home/ta/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/mesa_9.1.6.bb']
The PREFERRED_PROVIDER entries resulting in this conflict were:
['PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q',
'PREFERRED_PROVIDER_virtual/mesa = mesa']

Trying to resolve runtime dependency libgles2 resulted in conflicting
PREFERRED_PROVIDER entries being found.
The providers found were:
['/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',
'/home/ta/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/mesa_9.1.6.bb']
The PREFERRED_PROVIDER entries resulting in this conflict were:
['PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q',
'PREFERRED_PROVIDER_virtual/mesa = mesa']


-- 
Timur


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

* Re: Hob error during dependency tree checking
  2014-02-13 15:57 Hob error during dependency tree checking Timur Aydin
@ 2014-02-28 22:44 ` Johan Wadefalk
  2014-03-03 12:30 ` Otavio Salvador
  1 sibling, 0 replies; 7+ messages in thread
From: Johan Wadefalk @ 2014-02-28 22:44 UTC (permalink / raw)
  To: meta-freescale

Timur Aydin <ta@...> writes:

> 
> Hi,
> 
> I am running hob on the master branch (did sync yesterday). Hob stops
> with the following error dialogs while working on the dependency tree.
> This was reported earlier on another mailing list, but didn't receive
> any responses. Any suggestions how to further troubleshoot this? I can
> work on debugging this if somebody can put me in the right direction.
> 
> Trying to resolve runtime dependency libgl resulted in conflicting
> PREFERRED_PROVIDER entries being found.
> The providers found were:
> ['/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',
> '/home/ta/fsl-community-bsp/sources/poky/meta/recipes-
graphics/mesa/mesa_9.1.6.bb']
> The PREFERRED_PROVIDER entries resulting in this conflict were:
> ['PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q',
> 'PREFERRED_PROVIDER_virtual/mesa = mesa']
> 
> 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/meta-fsl-arm/recipes-graphics/gpu-
viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb',
> '/home/ta/fsl-community-bsp/sources/poky/meta/recipes-
graphics/mesa/mesa_9.1.6.bb']
> The PREFERRED_PROVIDER entries resulting in this conflict were:
> ['PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q',
> 'PREFERRED_PROVIDER_virtual/mesa = mesa']
> 
> Trying to resolve runtime dependency libgles2 resulted in conflicting
> PREFERRED_PROVIDER entries being found.
> The providers found were:
> ['/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',
> '/home/ta/fsl-community-bsp/sources/poky/meta/recipes-
graphics/mesa/mesa_9.1.6.bb']
> The PREFERRED_PROVIDER entries resulting in this conflict were:
> ['PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q',
> 'PREFERRED_PROVIDER_virtual/mesa = mesa']
> 

Have you found a solution for the problem?

I have a similar problem with hob but on the dora branch.

Trying to resolve runtime dependency libgles2 resulted in conflicting 
PREFERRED_PROVIDER entries being found.
The providers found were: ['/home/johan/fsl-community-
bsp/sources/poky/meta/recipes-graphics/mesa/mesa_9.1.6.bb', 
'/home/johan/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']






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

* Re: Hob error during dependency tree checking
  2014-02-13 15:57 Hob error during dependency tree checking Timur Aydin
  2014-02-28 22:44 ` Johan Wadefalk
@ 2014-03-03 12:30 ` Otavio Salvador
  2014-03-03 13:14   ` Timur Aydin
  2014-03-03 13:35   ` Timur Aydin
  1 sibling, 2 replies; 7+ messages in thread
From: Otavio Salvador @ 2014-03-03 12:30 UTC (permalink / raw)
  To: Timur Aydin; +Cc: meta-freescale@yoctoproject.org

Hello Timur,

On Thu, Feb 13, 2014 at 1:57 PM, Timur Aydin <ta@taydin.org> wrote:
>
> I am running hob on the master branch (did sync yesterday). Hob stops
> with the following error dialogs while working on the dependency tree.
> This was reported earlier on another mailing list, but didn't receive
> any responses. Any suggestions how to further troubleshoot this? I can
> work on debugging this if somebody can put me in the right direction.
>
>
> Trying to resolve runtime dependency libgl resulted in conflicting
> PREFERRED_PROVIDER entries being found.
> The providers found were:
> ['/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',
> '/home/ta/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/mesa_9.1.6.bb']
> The PREFERRED_PROVIDER entries resulting in this conflict were:
> ['PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q',
> 'PREFERRED_PROVIDER_virtual/mesa = mesa']


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.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Hob error during dependency tree checking
  2014-03-03 12:30 ` Otavio Salvador
@ 2014-03-03 13:14   ` Timur Aydin
  2014-03-03 13:35   ` Timur Aydin
  1 sibling, 0 replies; 7+ messages in thread
From: Timur Aydin @ 2014-03-03 13:14 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

Hello Otavio,

I have synced by local repo today and tried with both the master and the 
master-next branch. For some reason, still mesa-9.1.6 is being picked up 
and I am getting the same error. Could it be that this was fixed in a 
development branch that isn't merged to trunk yet?

-- 
Timur

On 3/3/2014 2:30 PM, Otavio Salvador wrote:
> Hello Timur,
>
> On Thu, Feb 13, 2014 at 1:57 PM, Timur Aydin <ta@taydin.org> wrote:
>>
>> I am running hob on the master branch (did sync yesterday). Hob stops
>> with the following error dialogs while working on the dependency tree.
>> This was reported earlier on another mailing list, but didn't receive
>> any responses. Any suggestions how to further troubleshoot this? I can
>> work on debugging this if somebody can put me in the right direction.
>>
>>
>> Trying to resolve runtime dependency libgl resulted in conflicting
>> PREFERRED_PROVIDER entries being found.
>> The providers found were:
>> ['/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',
>> '/home/ta/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/mesa_9.1.6.bb']
>> The PREFERRED_PROVIDER entries resulting in this conflict were:
>> ['PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q',
>> 'PREFERRED_PROVIDER_virtual/mesa = mesa']
>
>
> 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.
>


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

* Re: Hob error during dependency tree checking
  2014-03-03 12:30 ` Otavio Salvador
  2014-03-03 13:14   ` Timur Aydin
@ 2014-03-03 13:35   ` Timur Aydin
  2014-03-03 13:44     ` Otavio Salvador
  1 sibling, 1 reply; 7+ messages in thread
From: Timur Aydin @ 2014-03-03 13:35 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

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

-- 
Timur Aydin


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

* Re: Hob error during dependency tree checking
  2014-03-03 13:35   ` Timur Aydin
@ 2014-03-03 13:44     ` Otavio Salvador
  2015-09-27 18:28       ` Paul Lau
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2014-03-03 13:44 UTC (permalink / raw)
  To: Timur Aydin; +Cc: meta-freescale@yoctoproject.org

Hello Timur,

On Mon, Mar 3, 2014 at 10:35 AM, Timur Aydin <ta@taydin.org> 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,

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: Hob error during dependency tree checking
  2014-03-03 13:44     ` Otavio Salvador
@ 2015-09-27 18:28       ` Paul Lau
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Lau @ 2015-09-27 18:28 UTC (permalink / raw)
  To: meta-freescale

Otavio Salvador <otavio@...> writes:

> 
> Hello Timur,
> 
> On Mon, Mar 3, 2014 at 10:35 AM, Timur Aydin <ta@...> 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.


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

end of thread, other threads:[~2015-09-28 15:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13 15:57 Hob error during dependency tree checking Timur Aydin
2014-02-28 22:44 ` Johan Wadefalk
2014-03-03 12:30 ` Otavio Salvador
2014-03-03 13:14   ` Timur Aydin
2014-03-03 13:35   ` Timur Aydin
2014-03-03 13:44     ` Otavio Salvador
2015-09-27 18:28       ` Paul Lau

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.