All of lore.kernel.org
 help / color / mirror / Atom feed
* Help with how to debug dependency error
@ 2020-02-26 20:02 Greg Wilson-Lindberg
  2020-02-26 20:30 ` [yocto] " Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Wilson-Lindberg @ 2020-02-26 20:02 UTC (permalink / raw)
  To: Yocto list discussion

I am building a system based on a boot2qt warrior Yocto build  for the Raspberry Pi4.

Our system is building just fine until I try to add support for OSTree. When I do that I get 3 errors for existing recipes, "nothing provides virtual/gbm", "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required when gbm and gles2 are turned on.

I have searched for gbm in the meta-updater & meta-updater-raspberrypi directories that get included to add support for OSTree and found no reference. It looks like the OSTree inclusion is requesting something that is in turn requesting gbm and gles2 but I haven't been able to figure out what that is.

I have tried to print out the variables and a dependency graph to help me track down what is going wrong, but these don't work because the errors abort before I can get the information I need out.

Can anyone point me to a way to find out what is triggering the change in the gbm & gles2 packages?

Thanks in advance,
Greg Wilson-Lindberg

    

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

* Re: [yocto] Help with how to debug dependency error
  2020-02-26 20:02 Help with how to debug dependency error Greg Wilson-Lindberg
@ 2020-02-26 20:30 ` Khem Raj
  2020-02-26 21:16   ` Greg Wilson-Lindberg
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2020-02-26 20:30 UTC (permalink / raw)
  To: Greg Wilson-Lindberg, Yocto list discussion



On 2/26/20 12:02 PM, Greg Wilson-Lindberg wrote:
> I am building a system based on a boot2qt warrior Yocto build  for the Raspberry Pi4.
> 
> Our system is building just fine until I try to add support for OSTree. When I do that I get 3 errors for existing recipes, "nothing provides virtual/gbm", "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required when gbm and gles2 are turned on.
> 
> I have searched for gbm in the meta-updater & meta-updater-raspberrypi directories that get included to add support for OSTree and found no reference. It looks like the OSTree inclusion is requesting something that is in turn requesting gbm and gles2 but I haven't been able to figure out what that is.
> 
> I have tried to print out the variables and a dependency graph to help me track down what is going wrong, but these don't work because the errors abort before I can get the information I need out.
> 
> Can anyone point me to a way to find out what is triggering the change in the gbm & gles2 packages?
> 

this is meta-rpi issue, perhaps you can use mesa there instead of 
userland graphics driver

MACHINE_FEATURES_append_rpi = " vc4graphics"



> Thanks in advance,
> Greg Wilson-Lindberg
> 
>
> 
> 
> 
> 

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

* Re: [yocto] Help with how to debug dependency error
  2020-02-26 20:30 ` [yocto] " Khem Raj
@ 2020-02-26 21:16   ` Greg Wilson-Lindberg
  2020-02-26 21:36     ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Wilson-Lindberg @ 2020-02-26 21:16 UTC (permalink / raw)
  To: Khem Raj, Yocto list discussion

Hi Khem,

Thanks for the (possible) solution. What I was really looking for is some way of
finding out what changed with the addition of the OSTree directories that then caused the 
need for the additional libraries. Are there some tools that I don't know about that 
will help me find what is causing the gbm & gles2 to now be included when they are not 
necessary without the OSTree dirs. 

Regards,
Greg

> -----Original Message-----
> From: Khem Raj <raj.khem@gmail.com>
> Sent: Wednesday, February 26, 2020 12:30 PM
> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>; Yocto list discussion
> <yocto@yoctoproject.org>
> Subject: Re: [yocto] Help with how to debug dependency error
> 
> 
> 
> On 2/26/20 12:02 PM, Greg Wilson-Lindberg wrote:
> > I am building a system based on a boot2qt warrior Yocto build  for the
> Raspberry Pi4.
> >
> > Our system is building just fine until I try to add support for OSTree. When I
> do that I get 3 errors for existing recipes, "nothing provides virtual/gbm",
> "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of
> these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required
> when gbm and gles2 are turned on.
> >
> > I have searched for gbm in the meta-updater & meta-updater-raspberrypi
> directories that get included to add support for OSTree and found no
> reference. It looks like the OSTree inclusion is requesting something that is in
> turn requesting gbm and gles2 but I haven't been able to figure out what that
> is.
> >
> > I have tried to print out the variables and a dependency graph to help me
> track down what is going wrong, but these don't work because the errors
> abort before I can get the information I need out.
> >
> > Can anyone point me to a way to find out what is triggering the change in
> the gbm & gles2 packages?
> >
> 
> this is meta-rpi issue, perhaps you can use mesa there instead of userland
> graphics driver
> 
> MACHINE_FEATURES_append_rpi = " vc4graphics"
> 
> 
> 
> > Thanks in advance,
> > Greg Wilson-Lindberg
> >
> >
> >
> >
> > 
> >

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

* Re: [yocto] Help with how to debug dependency error
  2020-02-26 21:16   ` Greg Wilson-Lindberg
@ 2020-02-26 21:36     ` Khem Raj
  2020-02-26 22:13       ` Greg Wilson-Lindberg
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2020-02-26 21:36 UTC (permalink / raw)
  To: Greg Wilson-Lindberg, Yocto list discussion



On 2/26/20 1:16 PM, Greg Wilson-Lindberg wrote:
> Hi Khem,
> 
> Thanks for the (possible) solution. What I was really looking for is some way of
> finding out what changed with the addition of the OSTree directories that then caused the
> need for the additional libraries. Are there some tools that I don't know about that
> will help me find what is causing the gbm & gles2 to now be included when they are not
> necessary without the OSTree dirs.

bitbake -g would give you the dependency graph which you can use to find 
out.
> 
> Regards,
> Greg
> 
>> -----Original Message-----
>> From: Khem Raj <raj.khem@gmail.com>
>> Sent: Wednesday, February 26, 2020 12:30 PM
>> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>; Yocto list discussion
>> <yocto@yoctoproject.org>
>> Subject: Re: [yocto] Help with how to debug dependency error
>>
>>
>>
>> On 2/26/20 12:02 PM, Greg Wilson-Lindberg wrote:
>>> I am building a system based on a boot2qt warrior Yocto build  for the
>> Raspberry Pi4.
>>>
>>> Our system is building just fine until I try to add support for OSTree. When I
>> do that I get 3 errors for existing recipes, "nothing provides virtual/gbm",
>> "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of
>> these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required
>> when gbm and gles2 are turned on.
>>>
>>> I have searched for gbm in the meta-updater & meta-updater-raspberrypi
>> directories that get included to add support for OSTree and found no
>> reference. It looks like the OSTree inclusion is requesting something that is in
>> turn requesting gbm and gles2 but I haven't been able to figure out what that
>> is.
>>>
>>> I have tried to print out the variables and a dependency graph to help me
>> track down what is going wrong, but these don't work because the errors
>> abort before I can get the information I need out.
>>>
>>> Can anyone point me to a way to find out what is triggering the change in
>> the gbm & gles2 packages?
>>>
>>
>> this is meta-rpi issue, perhaps you can use mesa there instead of userland
>> graphics driver
>>
>> MACHINE_FEATURES_append_rpi = " vc4graphics"
>>
>>
>>
>>> Thanks in advance,
>>> Greg Wilson-Lindberg
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> 

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

* Re: [yocto] Help with how to debug dependency error
  2020-02-26 21:36     ` Khem Raj
@ 2020-02-26 22:13       ` Greg Wilson-Lindberg
  2020-02-26 22:16         ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Wilson-Lindberg @ 2020-02-26 22:13 UTC (permalink / raw)
  To: Khem Raj, Yocto list discussion

> -----Original Message-----
> From: Khem Raj <raj.khem@gmail.com>
> Sent: Wednesday, February 26, 2020 1:36 PM
> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>; Yocto list discussion
> <yocto@yoctoproject.org>
> Subject: Re: [yocto] Help with how to debug dependency error
> 
> 
> 
> On 2/26/20 1:16 PM, Greg Wilson-Lindberg wrote:
> > Hi Khem,
> >
> > Thanks for the (possible) solution. What I was really looking for is
> > some way of finding out what changed with the addition of the OSTree
> > directories that then caused the need for the additional libraries.
> > Are there some tools that I don't know about that will help me find
> > what is causing the gbm & gles2 to now be included when they are not
> necessary without the OSTree dirs.
> 
> bitbake -g would give you the dependency graph which you can use to find
> out.

As I said in the original post, bitbake errors out before it generates the dependency graph.

This is why I was asking if there are other tools that could help.

> >
> > Regards,
> > Greg
> >
> >> -----Original Message-----
> >> From: Khem Raj <raj.khem@gmail.com>
> >> Sent: Wednesday, February 26, 2020 12:30 PM
> >> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>; Yocto list
> >> discussion <yocto@yoctoproject.org>
> >> Subject: Re: [yocto] Help with how to debug dependency error
> >>
> >>
> >>
> >> On 2/26/20 12:02 PM, Greg Wilson-Lindberg wrote:
> >>> I am building a system based on a boot2qt warrior Yocto build  for
> >>> the
> >> Raspberry Pi4.
> >>>
> >>> Our system is building just fine until I try to add support for
> >>> OSTree. When I
> >> do that I get 3 errors for existing recipes, "nothing provides
> >> virtual/gbm", "nothing provides virtual/egl", and "nothing provides
> >> virtual/gles2". All of these are specified in PACKAGECONFIG[] lines
> >> in qtbase_git.bb as required when gbm and gles2 are turned on.
> >>>
> >>> I have searched for gbm in the meta-updater &
> >>> meta-updater-raspberrypi
> >> directories that get included to add support for OSTree and found no
> >> reference. It looks like the OSTree inclusion is requesting something
> >> that is in turn requesting gbm and gles2 but I haven't been able to
> >> figure out what that is.
> >>>
> >>> I have tried to print out the variables and a dependency graph to
> >>> help me
> >> track down what is going wrong, but these don't work because the
> >> errors abort before I can get the information I need out.
> >>>
> >>> Can anyone point me to a way to find out what is triggering the
> >>> change in
> >> the gbm & gles2 packages?
> >>>
> >>
> >> this is meta-rpi issue, perhaps you can use mesa there instead of
> >> userland graphics driver
> >>
> >> MACHINE_FEATURES_append_rpi = " vc4graphics"
> >>
> >>
> >>
> >>> Thanks in advance,
> >>> Greg Wilson-Lindberg
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> 

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

* Re: [yocto] Help with how to debug dependency error
  2020-02-26 22:13       ` Greg Wilson-Lindberg
@ 2020-02-26 22:16         ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2020-02-26 22:16 UTC (permalink / raw)
  To: Greg Wilson-Lindberg, Yocto list discussion



On 2/26/20 2:13 PM, Greg Wilson-Lindberg wrote:
>> -----Original Message-----
>> From: Khem Raj <raj.khem@gmail.com>
>> Sent: Wednesday, February 26, 2020 1:36 PM
>> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>; Yocto list discussion
>> <yocto@yoctoproject.org>
>> Subject: Re: [yocto] Help with how to debug dependency error
>>
>>
>>
>> On 2/26/20 1:16 PM, Greg Wilson-Lindberg wrote:
>>> Hi Khem,
>>>
>>> Thanks for the (possible) solution. What I was really looking for is
>>> some way of finding out what changed with the addition of the OSTree
>>> directories that then caused the need for the additional libraries.
>>> Are there some tools that I don't know about that will help me find
>>> what is causing the gbm & gles2 to now be included when they are not
>> necessary without the OSTree dirs.
>>
>> bitbake -g would give you the dependency graph which you can use to find
>> out.
> 
> As I said in the original post, bitbake errors out before it generates the dependency graph.
> 
> This is why I was asking if there are other tools that could help.

ah I missed that right. I guess, parsing errors are your best bet then

> 
>>>
>>> Regards,
>>> Greg
>>>
>>>> -----Original Message-----
>>>> From: Khem Raj <raj.khem@gmail.com>
>>>> Sent: Wednesday, February 26, 2020 12:30 PM
>>>> To: Greg Wilson-Lindberg <GWilson@sakuraus.com>; Yocto list
>>>> discussion <yocto@yoctoproject.org>
>>>> Subject: Re: [yocto] Help with how to debug dependency error
>>>>
>>>>
>>>>
>>>> On 2/26/20 12:02 PM, Greg Wilson-Lindberg wrote:
>>>>> I am building a system based on a boot2qt warrior Yocto build  for
>>>>> the
>>>> Raspberry Pi4.
>>>>>
>>>>> Our system is building just fine until I try to add support for
>>>>> OSTree. When I
>>>> do that I get 3 errors for existing recipes, "nothing provides
>>>> virtual/gbm", "nothing provides virtual/egl", and "nothing provides
>>>> virtual/gles2". All of these are specified in PACKAGECONFIG[] lines
>>>> in qtbase_git.bb as required when gbm and gles2 are turned on.
>>>>>
>>>>> I have searched for gbm in the meta-updater &
>>>>> meta-updater-raspberrypi
>>>> directories that get included to add support for OSTree and found no
>>>> reference. It looks like the OSTree inclusion is requesting something
>>>> that is in turn requesting gbm and gles2 but I haven't been able to
>>>> figure out what that is.
>>>>>
>>>>> I have tried to print out the variables and a dependency graph to
>>>>> help me
>>>> track down what is going wrong, but these don't work because the
>>>> errors abort before I can get the information I need out.
>>>>>
>>>>> Can anyone point me to a way to find out what is triggering the
>>>>> change in
>>>> the gbm & gles2 packages?
>>>>>
>>>>
>>>> this is meta-rpi issue, perhaps you can use mesa there instead of
>>>> userland graphics driver
>>>>
>>>> MACHINE_FEATURES_append_rpi = " vc4graphics"
>>>>
>>>>
>>>>
>>>>> Thanks in advance,
>>>>> Greg Wilson-Lindberg
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 

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

end of thread, other threads:[~2020-02-26 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 20:02 Help with how to debug dependency error Greg Wilson-Lindberg
2020-02-26 20:30 ` [yocto] " Khem Raj
2020-02-26 21:16   ` Greg Wilson-Lindberg
2020-02-26 21:36     ` Khem Raj
2020-02-26 22:13       ` Greg Wilson-Lindberg
2020-02-26 22:16         ` Khem Raj

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.